/*!
 * SJPU Inner Pages – Mission & Value, Libraries, FAQ, Contact, Campus Map, Campus Gallery
 * (extends sjpu-base.css + sjpu-pages.css). Every rule is scoped under .sjpu-home.
 * Version 1.0.0
 */

/* ==========================================================================
   1. Shared
   ========================================================================== */
.sjpu-home .sjpu-ip-body {
	position: relative;
	isolation: isolate;
}

.sjpu-home .sjpu-ip-head {
	max-width: var(--sjpu-head-w, 760px);
	margin-bottom: var(--sjpu-head-gap, 40px);
}

.sjpu-home .sjpu-ip-head--wide {
	max-width: var(--sjpu-head-w, none);
}

.sjpu-home .sjpu-ip-head--center {
	--sjpu-uline-ml: auto;
	--sjpu-uline-mr: auto;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.sjpu-home .sjpu-ip-head .sjpu-title,
.sjpu-home .sjpu-ip-m1__side .sjpu-title {
	margin: 8px 0 0;
}

.sjpu-home .sjpu-ip-head .sjpu-lead,
.sjpu-home .sjpu-ip-copy .sjpu-lead,
.sjpu-home .sjpu-ip-m1__side .sjpu-lead {
	margin-top: var(--sjpu-p-gap, 16px);
	font-size: 15.5px;
	line-height: 1.85;
}

.sjpu-home .sjpu-ip-head--light .sjpu-title {
	color: #FFFFFF;
}

.sjpu-home .sjpu-ip-head--light .sjpu-lead {
	color: rgba(255, 255, 255, .78);
}

.sjpu-home .sjpu-ip-head--light .sjpu-label {
	color: var(--sjpu-gold);
}

.sjpu-home .sjpu-ip-empty {
	padding: 26px;
	border: 1.5px dashed rgba(10, 26, 63, .16);
	border-radius: 16px;
	color: var(--sjpu-text);
	text-align: center;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.sjpu-home .sjpu-ip-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 26px;
	border: 1.5px solid rgba(255, 255, 255, .85);
	border-radius: 999px;
	background-color: transparent;
	color: #FFFFFF;
	font-family: var(--sjpu-font-ui);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}

.sjpu-home .sjpu-ip-ghost:hover,
.sjpu-home .sjpu-ip-ghost:focus-visible {
	border-color: #FFFFFF;
	background-color: #FFFFFF;
	color: var(--sjpu-navy);
	transform: translateY(-2px);
}

.sjpu-home .sjpu-ip-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	color: var(--sjpu-royal);
	font-family: var(--sjpu-font-ui);
	font-size: 14px;
	font-weight: 600;
}

.sjpu-home .sjpu-ip-more .sjpu-svg-icon {
	transition: transform .3s ease;
}

.sjpu-home .sjpu-ip-card:hover .sjpu-ip-more .sjpu-svg-icon {
	transform: translateX(5px);
}

/* ==========================================================================
   2. Cards (Priorities, Collections, News, Contact, Explore More)
   ========================================================================== */
.sjpu-home .sjpu-ip-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sjpu-card-gap, 26px);
	perspective: 1400px;
}

.sjpu-home .sjpu-ip-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid rgba(10, 26, 63, .06);
	border-radius: 18px;
	background-color: #FFFFFF;
	box-shadow: 0 20px 44px -32px rgba(10, 26, 63, .4);
	transition: box-shadow .4s ease, transform .45s ease, background-color .3s ease;
}

.sjpu-home .sjpu-ip-card:hover {
	transform: translateY(calc(var(--sjpu-lift, 8px) * -1));
	box-shadow: 0 30px 56px -30px rgba(10, 26, 63, .5);
}

.sjpu-home.sjpu-nolift .sjpu-ip-card:hover {
	transform: none;
}

.sjpu-home .sjpu-ip-card__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: inherit;
	padding: 24px 24px 22px;
}

.sjpu-home .sjpu-ip-card--img-bottom {
	align-items: center;
	text-align: center;
}

.sjpu-home .sjpu-ip-card--img-bottom .sjpu-ip-card__body {
	padding: 26px 24px 18px;
	align-items: center;
}

.sjpu-home .sjpu-ip-card__title {
	margin: 0;
	font-family: var(--sjpu-font-head);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--sjpu-navy);
	transition: color .3s ease;
}

.sjpu-home .sjpu-ip-card__text {
	margin-top: 10px;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--sjpu-text);
}

.sjpu-home .sjpu-ip-card__tag {
	margin-bottom: 8px;
	color: var(--sjpu-royal);
	font-family: var(--sjpu-font-ui);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.sjpu-home .sjpu-ip-card__icon {
	display: grid;
	place-items: center;
	width: calc(var(--sjpu-card-icon, 46px) * 1.5);
	height: calc(var(--sjpu-card-icon, 46px) * 1.5);
	margin-bottom: 12px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #FFFFFF, #EEF3FC);
	box-shadow: 0 12px 26px -14px rgba(10, 26, 63, .45);
}

.sjpu-home .sjpu-ip-card__icon .sjpu-3d {
	font-size: var(--sjpu-card-icon, 46px);
}

.sjpu-home .sjpu-ip-card__media {
	position: relative;
	z-index: 1;
	height: var(--sjpu-card-img-h, 210px);
	margin: 0;
	flex: 0 0 auto;
	align-self: stretch;
}

.sjpu-home .sjpu-ip-card--img-bottom .sjpu-ip-card__media {
	margin: auto 10px 10px;
}

.sjpu-home .sjpu-ip-card--img-top .sjpu-ip-card__media {
	margin: 10px 10px 0;
}

.sjpu-home .sjpu-ip-card__media .sjpu-frame--none .sjpu-frame__in {
	border-radius: 12px;
}

.sjpu-home .sjpu-ip-card__badge {
	position: absolute;
	right: 14px;
	bottom: -22px;
	z-index: 8;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: 0 12px 24px -12px rgba(10, 26, 63, .5);
}

.sjpu-home .sjpu-ip-card__badge .sjpu-3d {
	font-size: var(--sjpu-card-icon, 34px);
}

.sjpu-home .sjpu-ip-card__link {
	position: absolute;
	inset: 0;
	z-index: 9;
	border-radius: inherit;
}

.sjpu-home.sjpu-fx-zoom .sjpu-ip-card:hover .sjpu-frame__in img {
	transform: scale(1.08);
}

/* Spotlight / bottom line reuse the About-page parts */
.sjpu-home.sjpu-fx-spot .sjpu-ip-card:hover .sjpu-ab-feat__spot {
	opacity: 1;
}

.sjpu-home .sjpu-ip-card .sjpu-ab-feat__line {
	z-index: 10;
}

.sjpu-home.sjpu-anim.sjpu-js.sjpu-cl-appear .sjpu-ip-card.sjpu-reveal .sjpu-ab-feat__line {
	transition-delay: calc(var(--sjpu-base-delay, 0ms) + var(--sjpu-delay, 0ms) + var(--sjpu-dur, 900ms) * .75);
}

.sjpu-home.sjpu-anim.sjpu-js.sjpu-cl-appear .sjpu-ip-card.sjpu-reveal:not(.is-visible) .sjpu-ab-feat__line {
	transform: scaleX(0);
	transition-delay: 0s;
}

.sjpu-home.sjpu-cl-hover .sjpu-ip-card:hover .sjpu-ab-feat__line,
.sjpu-home.sjpu-cl-hover .sjpu-ip-card:focus-within .sjpu-ab-feat__line {
	transform: scaleX(1);
}

/* 3D flip-up cascade */
.sjpu-home.sjpu-anim.sjpu-js .sjpu-fx-flip .sjpu-ip-card.sjpu-reveal {
	transform-origin: 50% 100%;
	transition:
		opacity calc(var(--sjpu-dur, 900ms) * .8) ease,
		translate calc(var(--sjpu-dur, 900ms) * 1.3) cubic-bezier(.2, .85, .25, 1),
		rotate calc(var(--sjpu-dur, 900ms) * 1.3) cubic-bezier(.2, .85, .25, 1),
		scale calc(var(--sjpu-dur, 900ms) * 1.3) cubic-bezier(.2, .85, .25, 1),
		filter var(--sjpu-dur, 900ms) ease,
		box-shadow .4s ease,
		transform .45s ease,
		background-color .3s ease;
	transition-delay:
		calc(var(--sjpu-base-delay, 0ms) + var(--sjpu-delay, 0ms)),
		calc(var(--sjpu-base-delay, 0ms) + var(--sjpu-delay, 0ms)),
		calc(var(--sjpu-base-delay, 0ms) + var(--sjpu-delay, 0ms)),
		calc(var(--sjpu-base-delay, 0ms) + var(--sjpu-delay, 0ms)),
		calc(var(--sjpu-base-delay, 0ms) + var(--sjpu-delay, 0ms)),
		0s,
		0s,
		0s;
}

.sjpu-home.sjpu-anim.sjpu-js .sjpu-fx-flip .sjpu-ip-card.sjpu-reveal:not(.is-visible) {
	opacity: 0;
	translate: 0 50px;
	rotate: x 80deg;
	scale: .94;
	filter: none;
}

/* Icons pop in after their card */
.sjpu-home.sjpu-anim.sjpu-js .sjpu-fx-pop .sjpu-ip-card.sjpu-reveal :is(.sjpu-ip-card__icon, .sjpu-ip-card__badge, .sjpu-ip-cc__icon) {
	transition: scale .8s cubic-bezier(.34, 1.8, .5, 1), rotate .9s cubic-bezier(.34, 1.56, .64, 1), transform .5s cubic-bezier(.3, 1.6, .5, 1);
	transition-delay: calc(var(--sjpu-base-delay, 0ms) + var(--sjpu-delay, 0ms) + var(--sjpu-dur, 900ms) * .55), calc(var(--sjpu-base-delay, 0ms) + var(--sjpu-delay, 0ms) + var(--sjpu-dur, 900ms) * .55), 0s;
}

.sjpu-home.sjpu-anim.sjpu-js .sjpu-fx-pop .sjpu-ip-card.sjpu-reveal:not(.is-visible) :is(.sjpu-ip-card__icon, .sjpu-ip-card__badge, .sjpu-ip-cc__icon) {
	scale: 0;
	rotate: -140deg;
}

/* ==========================================================================
   3. Mission & Value
   ========================================================================== */
.sjpu-home .sjpu-ip-m1__grid {
	display: grid;
	grid-template-columns: var(--sjpu-m-side, 38%) minmax(0, 1fr);
	align-items: start;
	gap: 56px;
}

.sjpu-home .sjpu-ip-m1__side {
	align-self: stretch;
	min-width: 0;
	padding-top: 30px;
}

.sjpu-home .sjpu-ip-m1--sticky .sjpu-ip-m1__sticky {
	position: sticky;
	top: var(--sjpu-sticky, 120px);
}

.sjpu-home .sjpu-ip-m1__icon {
	display: inline-grid;
	place-items: center;
	margin-bottom: 14px;
	animation: sjpu-float calc(6s * var(--sjpu-amb, 1)) ease-in-out infinite;
}

.sjpu-home .sjpu-ip-m1__icon .sjpu-3d {
	font-size: var(--sjpu-m-icon, 64px);
	filter: drop-shadow(0 14px 18px rgba(10, 26, 63, .25));
}

.sjpu-home .sjpu-ip-m1__side .sjpu-lead {
	max-width: 360px;
}

.sjpu-home .sjpu-ip-tl {
	position: relative;
	min-width: 0;
	padding-left: 46px;
}

.sjpu-home .sjpu-ip-tl__rail {
	position: absolute;
	top: 12px;
	bottom: 0;
	left: 11px;
	width: 2px;
	border-radius: 2px;
	background: rgba(10, 26, 63, .1);
	overflow: hidden;
}

.sjpu-home .sjpu-ip-tl__rail i {
	position: absolute;
	inset: 0 0 auto;
	height: calc(var(--sjpu-tl, 1) * 100%);
	background: linear-gradient(var(--sjpu-tl-c, var(--sjpu-gold)), var(--sjpu-royal));
}

.sjpu-home .sjpu-ip-tl__dot {
	position: absolute;
	top: 6px;
	left: 4px;
	width: 16px;
	height: 16px;
	border: 3px solid #FFFFFF;
	border-radius: 50%;
	background: var(--sjpu-tl-dot, var(--sjpu-navy));
	box-shadow: 0 0 0 1px rgba(10, 26, 63, .15);
}

.sjpu-home .sjpu-ip-tl__dot::after {
	content: "";
	position: absolute;
	inset: -8px;
	border: 2px solid var(--sjpu-tl-dot, var(--sjpu-navy));
	border-radius: 50%;
	animation: sjpu-pulse-ring calc(2.4s * var(--sjpu-amb, 1)) ease-out infinite;
}

.sjpu-home .sjpu-ip-tl__title {
	margin: 0;
	font-family: var(--sjpu-font-head);
	font-size: clamp(22px, 2vw, 28px);
	font-weight: 700;
	color: var(--sjpu-navy);
}

.sjpu-home .sjpu-ip-copy .sjpu-lead:first-of-type {
	margin-top: 12px;
}

.sjpu-home .sjpu-ip-m1__img {
	position: relative;
	height: var(--sjpu-m-img-h, 440px);
	margin: 32px 0 0;
}

/* Marquee band on inner pages: light background like the theme */
.sjpu-home .sjpu-ip--mission .sjpu-marquee {
	margin: 0;
}

/* Overview + accordion */
.sjpu-home .sjpu-ip-ow__grid {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
	align-items: start;
	gap: 48px;
	perspective: 1400px;
}

.sjpu-home .sjpu-ip-ow__grid--right .sjpu-ip-ow__img {
	order: 2;
}

.sjpu-home .sjpu-ip-ow__grid--none {
	grid-template-columns: minmax(0, 1fr);
	max-width: 860px;
}

.sjpu-home .sjpu-ip-ow__img {
	position: relative;
	height: var(--sjpu-ow-img-h, 340px);
	margin: 0;
}

.sjpu-home .sjpu-ip-ow__grid--right .sjpu-fx-swing {
	transform-origin: 100% 50%;
}

/* ==========================================================================
   4. Accordion (Mission Vision/Value + FAQ)
   ========================================================================== */
.sjpu-home .sjpu-acc {
	display: grid;
	gap: var(--sjpu-acc-gap, 14px);
	min-width: 0;
}

.sjpu-home .sjpu-acc__item {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(10, 26, 63, .06);
	border-radius: 14px;
	background-color: #FFFFFF;
	box-shadow: 0 18px 40px -30px rgba(10, 26, 63, .45);
}

.sjpu-home .sjpu-acc__item.is-hidden {
	display: none;
}

.sjpu-home .sjpu-acc__h {
	margin: 0;
	font-size: inherit;
}

.sjpu-home .sjpu-acc__head {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 18px 22px;
	border-radius: 0;
	background-color: #FFFFFF;
	color: var(--sjpu-navy);
	font-family: var(--sjpu-font-ui);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	transition: background-color .4s ease, color .4s ease;
}

.sjpu-home .sjpu-acc__head:hover,
.sjpu-home .sjpu-acc__head:focus {
	background-color: #FFFFFF;
	color: var(--sjpu-royal);
}

.sjpu-home .sjpu-acc__head:focus-visible {
	outline: 3px solid var(--sjpu-gold);
	outline-offset: -3px;
}

.sjpu-home .sjpu-acc__item.is-open > .sjpu-acc__h .sjpu-acc__head {
	background-color: var(--sjpu-acc-on-bg, var(--sjpu-navy));
	color: var(--sjpu-acc-on-c, #FFFFFF);
}

.sjpu-home .sjpu-acc__icon .sjpu-3d {
	font-size: var(--sjpu-acc-icon, 30px);
	transition: transform .5s cubic-bezier(.3, 1.6, .5, 1);
}

.sjpu-home .sjpu-acc__item.is-open .sjpu-acc__icon .sjpu-3d {
	transform: rotate(-10deg) scale(1.1);
}

.sjpu-home .sjpu-acc__title {
	flex: 1 1 auto;
	min-width: 0;
}

.sjpu-home .sjpu-acc__num {
	min-width: 30px;
	color: var(--sjpu-gold);
	font-family: var(--sjpu-font-ui);
	font-size: 14px;
	font-weight: 700;
}

.sjpu-home .sjpu-acc__chev {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	font-size: 15px;
	rotate: 90deg;
	transition: rotate .45s cubic-bezier(.3, 1.4, .5, 1);
}

.sjpu-home .sjpu-acc__item.is-open .sjpu-acc__chev {
	rotate: 0deg;
}

.sjpu-home .sjpu-acc__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows var(--sjpu-acc-dur, 450ms) cubic-bezier(.4, 0, .2, 1);
}

.sjpu-home .sjpu-acc__item.is-open .sjpu-acc__panel {
	grid-template-rows: 1fr;
}

.sjpu-home .sjpu-acc__body {
	min-height: 0;
	overflow: hidden;
	padding: 0 24px;
}

.sjpu-home .sjpu-acc__body > :first-child {
	margin-top: 18px;
}

.sjpu-home .sjpu-acc__body > :last-child {
	margin-bottom: 22px;
}

.sjpu-home .sjpu-acc__body p,
.sjpu-home .sjpu-acc__body li {
	font-size: 14.5px;
	line-height: 1.75;
	color: var(--sjpu-text);
}

.sjpu-home .sjpu-acc__body p + p {
	margin-top: 10px;
}

.sjpu-home .sjpu-acc__lead {
	position: relative;
	padding-left: 26px;
}

.sjpu-home .sjpu-acc__lead::before {
	content: "";
	position: absolute;
	top: 8px;
	left: 2px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--sjpu-acc-dot, var(--sjpu-navy));
	box-shadow: 0 0 0 4px rgba(10, 26, 63, .08);
}

.sjpu-home .sjpu-acc__lead::after {
	content: "";
	position: absolute;
	top: 26px;
	bottom: -14px;
	left: 6px;
	width: 1px;
	background: rgba(10, 26, 63, .12);
}

.sjpu-home .sjpu-acc__list {
	margin: 14px 0 0;
	padding: 0 0 0 26px;
	list-style: none;
}

.sjpu-home .sjpu-acc__list li {
	position: relative;
	padding-left: 16px;
	opacity: 0;
	translate: -10px 0;
	transition: opacity .4s ease, translate .5s cubic-bezier(.2, .8, .2, 1);
	transition-delay: calc(var(--sjpu-k, 0) * 70ms + 150ms);
}

.sjpu-home .sjpu-acc__list li::before {
	content: "";
	position: absolute;
	top: .72em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sjpu-acc-dot, var(--sjpu-gold));
}

.sjpu-home .sjpu-acc__item.is-open .sjpu-acc__list li {
	opacity: 1;
	translate: 0 0;
}

/* FAQ variant: open item keeps a white header with a blue title */
.sjpu-home .sjpu-acc--faq .sjpu-acc__head {
	padding: 20px 24px;
	font-family: var(--sjpu-font-head);
	font-size: 18.5px;
	font-weight: 600;
}

.sjpu-home .sjpu-acc--faq .sjpu-acc__item.is-open > .sjpu-acc__h .sjpu-acc__head {
	background-color: var(--sjpu-acc-on-bg, #FFFFFF);
	color: var(--sjpu-acc-on-c, var(--sjpu-royal));
}

.sjpu-home .sjpu-acc--faq .sjpu-acc__item::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 4px;
	background: linear-gradient(var(--sjpu-gold), var(--sjpu-royal));
	transform: scaleY(0);
	transform-origin: 50% 0;
	transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.sjpu-home .sjpu-acc--faq .sjpu-acc__item.is-open::before {
	transform: scaleY(1);
}

/* Items appearing when a tab / search changes */
.sjpu-home .sjpu-acc__item.is-entering.sjpu-ent-cascade {
	animation: sjpu-ent-cascade .6s cubic-bezier(.2, .85, .25, 1) both;
	animation-delay: calc(var(--sjpu-k, 0) * 60ms);
}

.sjpu-home .sjpu-acc__item.is-entering.sjpu-ent-fade {
	animation: sjpu-ent-fade .4s ease both;
}

@keyframes sjpu-ent-cascade {
	from { opacity: 0; transform: perspective(900px) translateY(18px) rotateX(-24deg); }
	to   { opacity: 1; transform: none; }
}

@keyframes sjpu-ent-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* ==========================================================================
   5. Libraries
   ========================================================================== */
.sjpu-home .sjpu-ip-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 34px 10px;
	border: 1px solid rgba(10, 26, 63, .06);
	border-radius: 20px;
	background-color: #FFFFFF;
	box-shadow: 0 26px 50px -36px rgba(10, 26, 63, .45);
}

.sjpu-home .sjpu-ip-stat {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	padding: 0 24px;
}

.sjpu-home .sjpu-ip-stat + .sjpu-ip-stat {
	border-left: 1px solid rgba(10, 26, 63, .07);
}

.sjpu-home .sjpu-ip-stat__icon .sjpu-3d {
	font-size: 36px;
	margin-bottom: 8px;
}

.sjpu-home .sjpu-ip-stat__num {
	font-family: var(--sjpu-font-ui);
	font-size: clamp(28px, 2.6vw, 38px);
	font-weight: 600;
	line-height: 1.1;
	color: var(--sjpu-navy);
	font-variant-numeric: tabular-nums;
}

.sjpu-home .sjpu-ip-stat__bar {
	position: relative;
	display: block;
	width: 100%;
	height: 2px;
	margin: 16px 0 14px;
	border-radius: 2px;
	background: var(--sjpu-stat-line, rgba(10, 26, 63, .08));
	overflow: hidden;
}

.sjpu-home .sjpu-ip-stat__bar::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 38%;
	background: linear-gradient(90deg, var(--sjpu-gold), var(--sjpu-royal));
	transform-origin: 0 50%;
	transition: transform 1.2s cubic-bezier(.65, 0, .35, 1);
	transition-delay: calc(var(--sjpu-base-delay, 0ms) + 400ms + var(--sjpu-i, 0) * 150ms);
}

.sjpu-home.sjpu-anim.sjpu-js .sjpu-ip-stats:not(.is-visible) .sjpu-ip-stat__bar::after {
	transform: scaleX(0);
}

.sjpu-home .sjpu-ip-stat:hover .sjpu-ip-stat__bar::after {
	width: 100%;
	transition: width .6s cubic-bezier(.2, .8, .2, 1);
}

.sjpu-home .sjpu-ip-stat__label {
	font-family: var(--sjpu-font-head);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--sjpu-navy);
}

.sjpu-home .sjpu-ip-stat__text {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--sjpu-text);
}

.sjpu-home .sjpu-ip-bigwrap {
	padding-bottom: var(--sjpu-space);
}

.sjpu-home .sjpu-ip-big {
	position: relative;
	height: var(--sjpu-big-h, 560px);
	margin: 0;
}

.sjpu-home .sjpu-ip-big figcaption {
	position: absolute;
	left: 28px;
	bottom: 26px;
	z-index: 8;
	padding: 10px 18px;
	border-radius: 999px;
	background: rgba(10, 26, 63, .78);
	color: #FFFFFF;
	font-family: var(--sjpu-font-ui);
	font-size: 14px;
	font-weight: 600;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.sjpu-home .sjpu-ip-showwrap {
	padding-bottom: var(--sjpu-space);
}

.sjpu-home .sjpu-ip-show {
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: center;
	min-height: var(--sjpu-show-h, 460px);
	padding: 60px 30px;
	overflow: hidden;
	border-radius: var(--sjpu-show-r, 24px);
	background: var(--sjpu-navy);
}

.sjpu-home .sjpu-ip-show__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	animation: sjpu-kenburns calc(26s * var(--sjpu-amb, 1)) ease-in-out infinite alternate;
}

.sjpu-home .sjpu-ip-show__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(120deg, rgba(10, 26, 63, .55), rgba(64, 40, 30, .45));
}

.sjpu-home .sjpu-ip-show__inner {
	width: 100%;
}

.sjpu-home .sjpu-ip-show__title {
	margin: 0 0 30px;
	color: #FFFFFF;
	font-family: var(--sjpu-font-head);
	font-size: clamp(24px, 2.6vw, 36px);
	text-align: center;
}

.sjpu-home .sjpu-ip-show__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 26px;
	perspective: 1200px;
}

.sjpu-home .sjpu-ip-show__item {
	position: relative;
	width: clamp(200px, 26%, 320px);
	height: var(--sjpu-show-img, 200px);
	margin: 0;
	rotate: calc(var(--sjpu-c, 0) * 3deg);
	translate: 0 calc(var(--sjpu-c, 0) * var(--sjpu-c, 0) * 14px);
	transition: rotate .5s ease, translate .5s ease, scale .5s ease;
}

.sjpu-home .sjpu-ip-show__item:hover {
	z-index: 3;
	rotate: 0deg;
	scale: 1.06;
}

.sjpu-home .sjpu-ip-show__item figcaption,
.sjpu-home .sjpu-ip-show__item .sjpu-frame.sjpu-frame + figcaption {
	position: absolute;
	top: auto;
	right: auto;
	left: 50%;
	width: max-content;
	max-width: 90%;
	bottom: -14px;
	z-index: 8;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--sjpu-gold);
	color: var(--sjpu-navy);
	font-family: var(--sjpu-font-ui);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	transform: translateX(-50%);
}

/* Showcase entrance: fan out in 3D */
.sjpu-home.sjpu-anim.sjpu-js .sjpu-ip-show--fan .sjpu-ip-show__item.sjpu-reveal {
	transition: opacity .8s ease, transform calc(var(--sjpu-dur, 900ms) * 1.6) cubic-bezier(.2, .85, .25, 1), rotate .5s ease, translate .5s ease, scale .5s ease;
	transition-delay: calc(var(--sjpu-base-delay, 0ms) + var(--sjpu-delay, 0ms)), calc(var(--sjpu-base-delay, 0ms) + var(--sjpu-delay, 0ms)), 0s, 0s, 0s;
}

.sjpu-home.sjpu-anim.sjpu-js .sjpu-ip-show--fan .sjpu-ip-show__item.sjpu-reveal:not(.is-visible) {
	opacity: 0;
	transform: translateX(calc(var(--sjpu-c, 0) * -110%)) translateZ(-200px) rotateY(calc(var(--sjpu-c, 0) * 50deg));
	scale: 1;
	filter: none;
}

.sjpu-home.sjpu-anim.sjpu-js .sjpu-ip-show--fan .sjpu-ip-show__item.sjpu-reveal.is-visible {
	opacity: 1;
	transform: none;
	rotate: calc(var(--sjpu-c, 0) * 3deg);
	translate: 0 calc(var(--sjpu-c, 0) * var(--sjpu-c, 0) * 14px);
}

.sjpu-home .sjpu-ip-show--float .sjpu-ip-show__item .sjpu-frame {
	animation: sjpu-float calc((5s + var(--sjpu-i, 0) * .8s) * var(--sjpu-amb, 1)) ease-in-out infinite;
}

.sjpu-home .sjpu-ip-news .sjpu-ip-card__media--news {
	height: var(--sjpu-news-img-h, 200px);
}

/* ==========================================================================
   6. FAQ
   ========================================================================== */
.sjpu-home .sjpu-ip-faq__grid {
	display: grid;
	grid-template-columns: var(--sjpu-tabs-w, 290px) minmax(0, 1fr);
	align-items: start;
	gap: 40px;
}

.sjpu-home .sjpu-ip-faq--top .sjpu-ip-faq__grid,
.sjpu-home .sjpu-ip-faq--list .sjpu-ip-faq__grid {
	grid-template-columns: minmax(0, 1fr);
}

.sjpu-home .sjpu-ip-faq--list .sjpu-ip-faq__grid {
	max-width: 980px;
}

.sjpu-home .sjpu-ip-faq__side {
	align-self: stretch;
	min-width: 0;
}

.sjpu-home .sjpu-ip-faq--tabs .sjpu-ip-faq__sticky {
	position: sticky;
	top: var(--sjpu-sticky, 120px);
	display: grid;
	gap: 22px;
}

.sjpu-home.sjpu-ip-nosticky .sjpu-ip-faq__sticky {
	position: static;
}

.sjpu-home .sjpu-ip-tabs {
	display: grid;
	gap: var(--sjpu-tab-gap, 10px);
}

.sjpu-home .sjpu-ip-faq--top .sjpu-ip-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 10px;
}

.sjpu-home .sjpu-ip-tab {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 14px 18px;
	overflow: hidden;
	border-radius: 10px;
	background-color: #FFFFFF;
	color: var(--sjpu-navy);
	font-family: var(--sjpu-font-ui);
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	box-shadow: 0 14px 30px -26px rgba(10, 26, 63, .5);
	transition: color .4s ease, translate .6s cubic-bezier(.2, .8, .2, 1), opacity .6s ease;
}

.sjpu-home .sjpu-ip-faq--top .sjpu-ip-tab {
	width: auto;
}

.sjpu-home .sjpu-ip-tab::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(110deg, var(--sjpu-navy), #13306E);
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.sjpu-home .sjpu-ip-tab:hover,
.sjpu-home .sjpu-ip-tab:focus,
.sjpu-home .sjpu-ip-tab.is-active {
	background-color: #FFFFFF;
	color: #FFFFFF;
}

.sjpu-home .sjpu-ip-tab:hover::before,
.sjpu-home .sjpu-ip-tab.is-active::before {
	transform: scaleX(1);
}

.sjpu-home .sjpu-ip-tab:focus-visible {
	outline: 3px solid var(--sjpu-gold);
	outline-offset: 2px;
}

.sjpu-home .sjpu-ip-tab__icon .sjpu-3d {
	font-size: var(--sjpu-tab-icon, 24px);
	transition: transform .5s cubic-bezier(.3, 1.6, .5, 1);
}

.sjpu-home .sjpu-ip-tab.is-active .sjpu-ip-tab__icon .sjpu-3d {
	transform: scale(1.15) rotate(-8deg);
}

.sjpu-home .sjpu-ip-tab__count {
	margin-left: auto;
	min-width: 26px;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(10, 26, 63, .07);
	font-size: 12px;
	text-align: center;
	transition: background .3s ease, color .3s ease;
}

.sjpu-home .sjpu-ip-tab.is-active .sjpu-ip-tab__count,
.sjpu-home .sjpu-ip-tab:hover .sjpu-ip-tab__count {
	background: var(--sjpu-gold);
	color: var(--sjpu-navy);
}

.sjpu-home .sjpu-ip-tab__count:empty {
	display: none;
}

.sjpu-home.sjpu-anim.sjpu-js .sjpu-ip-tab.sjpu-reveal:not(.is-visible) {
	translate: -24px 0;
}

.sjpu-home .sjpu-ip-help {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 24px;
	border-radius: 18px;
	background: linear-gradient(140deg, var(--sjpu-navy), #13306E 70%, var(--sjpu-royal) 140%);
	color: rgba(255, 255, 255, .85);
	box-shadow: 0 24px 50px -30px rgba(10, 26, 63, .55);
}

.sjpu-home .sjpu-ip-help__icon .sjpu-3d {
	font-size: 44px;
	animation: sjpu-float calc(5s * var(--sjpu-amb, 1)) ease-in-out infinite;
}

.sjpu-home .sjpu-ip-help__title {
	font-family: var(--sjpu-font-head);
	font-size: 19px;
	color: #FFFFFF;
}

.sjpu-home .sjpu-ip-help__text {
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 1.6;
}

.sjpu-home .sjpu-ip-faq__main {
	min-width: 0;
}

.sjpu-home .sjpu-ip-search {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	padding: 0 18px;
	border: 1px solid rgba(10, 26, 63, .08);
	border-radius: 12px;
	background-color: #FFFFFF;
	box-shadow: 0 14px 30px -26px rgba(10, 26, 63, .5);
	transition: box-shadow .3s ease, border-color .3s ease;
}

.sjpu-home .sjpu-ip-search:focus-within {
	border-color: var(--sjpu-royal);
	box-shadow: 0 0 0 4px rgba(29, 78, 216, .12);
}

.sjpu-home .sjpu-ip-search__icon {
	color: var(--sjpu-royal);
	font-size: 20px;
	line-height: 0;
}

.sjpu-home .sjpu-ip-search input {
	flex: 1 1 auto;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--sjpu-navy);
	font-family: var(--sjpu-font-ui);
	font-size: 15px;
	box-shadow: none;
	outline: none;
}

.sjpu-home .sjpu-ip-faq__main > .sjpu-ip-empty {
	margin-top: 14px;
}

/* ==========================================================================
   7. Contact
   ========================================================================== */
.sjpu-home .sjpu-ip-ccs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sjpu-card-gap, 28px);
	perspective: 1400px;
}

.sjpu-home .sjpu-ip-cc {
	align-items: center;
	padding: 40px 24px 36px;
	overflow: visible;
	text-align: center;
}

.sjpu-home .sjpu-ip-cc__deco {
	position: absolute;
	left: 0;
	bottom: 18px;
	width: 34px;
	height: 66px;
	background: repeating-linear-gradient(135deg, rgba(10, 26, 63, .08) 0 6px, transparent 6px 14px);
	-webkit-mask-image: linear-gradient(90deg, #000, transparent);
	mask-image: linear-gradient(90deg, #000, transparent);
	pointer-events: none;
}

.sjpu-home .sjpu-ip-cc__icon {
	position: relative;
	z-index: 1;
	display: inline-grid;
	place-items: center;
	margin-bottom: 18px;
	transition: transform .5s cubic-bezier(.3, 1.6, .5, 1);
}

.sjpu-home .sjpu-ip-cc__icon .sjpu-3d,
.sjpu-home .sjpu-ip-cc__icon img {
	font-size: var(--sjpu-cc-icon, 52px);
	width: var(--sjpu-cc-icon, 52px);
	height: auto;
}

.sjpu-home .sjpu-ip-cc:hover .sjpu-ip-cc__icon {
	transform: translateY(-6px) rotate(-8deg) scale(1.08);
}

.sjpu-home .sjpu-ip-cc__title {
	position: relative;
	z-index: 1;
	font-size: 22px;
}

.sjpu-home .sjpu-ip-cc__text {
	position: relative;
	z-index: 10;
	margin-top: 12px;
	color: var(--sjpu-text);
	font-size: 15px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.sjpu-home .sjpu-ip-cc__text--link {
	color: var(--sjpu-royal);
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 50% 100%;
	background-repeat: no-repeat;
	background-size: 0 1.5px;
	transition: background-size .35s ease, color .3s ease;
}

.sjpu-home .sjpu-ip-cc__text--link:hover,
.sjpu-home .sjpu-ip-cc__text--link:focus-visible {
	color: var(--sjpu-navy);
	background-size: 100% 1.5px;
}

.sjpu-home .sjpu-ip-copy-btn {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 11;
	padding: 6px 12px;
	border-radius: 999px;
	background-color: rgba(10, 26, 63, .06);
	color: var(--sjpu-navy);
	font-family: var(--sjpu-font-ui);
	font-size: 12px;
	font-weight: 600;
	opacity: 0;
	translate: 0 -6px;
	transition: opacity .3s ease, translate .3s ease, background-color .3s ease, color .3s ease;
}

.sjpu-home .sjpu-ip-cc:hover .sjpu-ip-copy-btn,
.sjpu-home .sjpu-ip-copy-btn:focus-visible,
.sjpu-home .sjpu-ip-copy-btn.is-done {
	opacity: 1;
	translate: 0 0;
}

.sjpu-home .sjpu-ip-copy-btn:hover,
.sjpu-home .sjpu-ip-copy-btn.is-done {
	background-color: var(--sjpu-gold);
	color: var(--sjpu-navy);
}

@media (hover: none) {
	.sjpu-home .sjpu-ip-copy-btn {
		opacity: 1;
		translate: 0 0;
	}
}

.sjpu-home .sjpu-ip-cf {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: 28px;
	margin-top: 28px;
}

.sjpu-home .sjpu-ip-cf--map-form .sjpu-ip-form {
	order: 2;
}

.sjpu-home .sjpu-ip-cf--stack {
	grid-template-columns: minmax(0, 1fr);
}

.sjpu-home .sjpu-ip-cf__map {
	display: flex;
	min-width: 0;
}

.sjpu-home .sjpu-ip-cf .sjpu-ip-map {
	flex: 1 1 auto;
	height: auto;
	min-height: var(--sjpu-map-h, 460px);
}

/* ==========================================================================
   8. Contact form
   ========================================================================== */
.sjpu-home .sjpu-ip-form {
	position: relative;
	min-width: 0;
	padding: 40px;
	border-top: 5px solid var(--sjpu-gold);
	border-radius: 14px;
	background: linear-gradient(160deg, #0B3768 0%, var(--sjpu-navy) 100%);
	color: #FFFFFF;
	box-shadow: 0 30px 60px -36px rgba(10, 26, 63, .65);
}

.sjpu-home .sjpu-ip-form__title {
	margin: 0 0 24px;
	color: #FFFFFF;
	font-family: var(--sjpu-font-head);
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 700;
	line-height: 1.25;
}

.sjpu-home .sjpu-ip-form__intro {
	margin: -12px 0 22px;
	color: rgba(255, 255, 255, .78);
	font-size: 14.5px;
	line-height: 1.7;
}

.sjpu-home .sjpu-ip-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.sjpu-home .sjpu-ip-field {
	position: relative;
	display: block;
	margin: 0 0 18px;
}

.sjpu-home .sjpu-ip-form .sjpu-ip-input {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: var(--sjpu-input-r, 6px);
	background-color: rgba(3, 16, 44, .42);
	color: #FFFFFF;
	font-family: var(--sjpu-font-ui);
	font-size: 15px;
	line-height: 1.5;
	box-shadow: inset 0 -2px 0 transparent;
	transition: box-shadow .35s ease, border-color .35s ease, background-color .35s ease;
	outline: none;
}

.sjpu-home .sjpu-ip-form .sjpu-ip-input::placeholder {
	color: rgba(255, 255, 255, .55);
	opacity: 1;
}

.sjpu-home .sjpu-ip-form .sjpu-ip-input:focus {
	border-color: rgba(255, 255, 255, .14);
	background-color: rgba(3, 16, 44, .58);
	box-shadow: inset 0 -2px 0 var(--sjpu-focus, var(--sjpu-gold));
}

.sjpu-home .sjpu-ip-form .sjpu-ip-input--area {
	min-height: 130px;
	resize: vertical;
}

.sjpu-home .sjpu-ip-field.is-error .sjpu-ip-input {
	border-color: #FF9B9B;
	animation: sjpu-shake .4s ease;
}

.sjpu-home .sjpu-ip-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sjpu-home .sjpu-ip-form__check {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 4px 0 22px;
	color: rgba(255, 255, 255, .85);
	font-size: 14.5px;
	line-height: 1.5;
	cursor: pointer;
}

.sjpu-home .sjpu-ip-form__check input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.sjpu-home .sjpu-ip-check {
	position: relative;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	border: 1.5px solid var(--sjpu-gold);
	border-radius: 4px;
	transition: background .25s ease;
}

.sjpu-home .sjpu-ip-check::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid var(--sjpu-navy);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) scale(0);
	transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}

.sjpu-home .sjpu-ip-form__check input:checked + .sjpu-ip-check {
	background: var(--sjpu-gold);
}

.sjpu-home .sjpu-ip-form__check input:checked + .sjpu-ip-check::after {
	transform: rotate(45deg) scale(1);
}

.sjpu-home .sjpu-ip-form__check input:focus-visible + .sjpu-ip-check {
	outline: 3px solid rgba(242, 184, 39, .5);
	outline-offset: 2px;
}

.sjpu-home .sjpu-ip-submit {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 15px 20px;
	overflow: hidden;
	border-radius: 6px;
	background-color: var(--sjpu-gold);
	color: var(--sjpu-navy);
	font-family: var(--sjpu-font-ui);
	font-size: 15px;
	font-weight: 600;
	transition: background-color .3s ease, color .3s ease, transform .3s ease;
}

.sjpu-home .sjpu-ip-submit::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 40%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
	translate: -120% 0;
	animation: sjpu-btn-shine calc(4.5s * var(--sjpu-amb, 1)) ease-in-out infinite;
	pointer-events: none;
}

.sjpu-home .sjpu-ip-submit:hover,
.sjpu-home .sjpu-ip-submit:focus-visible {
	background-color: #FFFFFF;
	color: var(--sjpu-navy);
	transform: translateY(-2px);
}

.sjpu-home .sjpu-ip-submit:disabled {
	cursor: progress;
	opacity: .7;
}

.sjpu-home .sjpu-ip-form__form.is-sending .sjpu-ip-submit .sjpu-svg-icon {
	animation: sjpu-spin 1s linear infinite;
}

.sjpu-home .sjpu-ip-form__msg {
	min-height: 1.5em;
	margin: 14px 0 0;
	font-size: 14px;
	line-height: 1.5;
}

.sjpu-home .sjpu-ip-form__msg.is-ok {
	color: var(--sjpu-gold);
}

.sjpu-home .sjpu-ip-form__msg.is-err {
	color: #FFB4B4;
}

.sjpu-home .sjpu-ip-form__sc {
	color: #FFFFFF;
}

@keyframes sjpu-shake {
	0%, 100% { translate: 0 0; }
	25%      { translate: -6px 0; }
	75%      { translate: 6px 0; }
}

/* ==========================================================================
   9. Map
   ========================================================================== */
.sjpu-home .sjpu-ip-map {
	position: relative;
	height: var(--sjpu-map-h, 520px);
	border-radius: 16px;
}

.sjpu-home .sjpu-ip-map__clip {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: inherit;
	background:
		linear-gradient(rgba(10, 26, 63, .05) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(90deg, rgba(10, 26, 63, .05) 1px, transparent 1px) 0 0 / 40px 40px,
		#E7EEF6;
	box-shadow: 0 26px 50px -36px rgba(10, 26, 63, .45);
}

.sjpu-home .sjpu-ip-map__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	transition: filter .6s ease;
}

.sjpu-home.sjpu-ip-map-tint .sjpu-ip-map__frame {
	filter: grayscale(1) contrast(1.05) brightness(1.02);
}

.sjpu-home.sjpu-ip-map-tint .sjpu-ip-map:hover .sjpu-ip-map__frame {
	filter: none;
}

.sjpu-home .sjpu-ip-map__btn {
	position: absolute;
	left: 18px;
	bottom: 18px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 20px 10px 12px;
	border-radius: 999px;
	background-color: var(--sjpu-navy);
	color: #FFFFFF;
	font-family: var(--sjpu-font-ui);
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 16px 30px -14px rgba(10, 26, 63, .6);
	transition: transform .3s ease, background-color .3s ease, color .3s ease;
}

.sjpu-home .sjpu-ip-map__btn .sjpu-3d {
	font-size: 26px;
}

.sjpu-home .sjpu-ip-map__btn:hover,
.sjpu-home .sjpu-ip-map__btn:focus-visible {
	background-color: var(--sjpu-gold);
	color: var(--sjpu-navy);
	transform: translateY(-3px);
}

/* Campus map: floating location card */
.sjpu-home .sjpu-ip-find__map {
	position: relative;
}

.sjpu-home .sjpu-ip-loc {
	position: absolute;
	top: 24px;
	right: 24px;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: var(--sjpu-loc-w, 330px);
	max-width: calc(100% - 48px);
	padding: 26px;
	border: 1px solid rgba(10, 26, 63, .06);
	border-radius: 18px;
	background-color: rgba(255, 255, 255, .96);
	box-shadow: 0 30px 60px -30px rgba(10, 26, 63, .55);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.sjpu-home .sjpu-ip-loc--left {
	right: auto;
	left: 24px;
}

.is-below .sjpu-ip-loc {
	position: relative;
	top: auto;
	right: auto;
	left: auto;
	width: auto;
	max-width: none;
	margin-top: 24px;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 30px;
}

.sjpu-home .sjpu-ip-loc__pin {
	position: absolute;
	top: -18px;
	right: 26px;
	display: none;
	width: 36px;
	height: 36px;
}

.sjpu-home .sjpu-ip-loc--pin .sjpu-ip-loc__pin {
	display: block;
}

.sjpu-home .sjpu-ip-loc__pin span {
	position: absolute;
	inset: 0;
	border-radius: 50% 50% 50% 0;
	background: linear-gradient(135deg, var(--sjpu-gold), #E59E0B);
	transform: rotate(-45deg);
	box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .4);
	animation: sjpu-pin-bounce calc(2.4s * var(--sjpu-amb, 1)) ease-in-out infinite;
}

.sjpu-home .sjpu-ip-loc__pin span::after {
	content: "";
	position: absolute;
	inset: 11px;
	border-radius: 50%;
	background: #FFFFFF;
}

.sjpu-home .sjpu-ip-loc__pin::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -8px;
	width: 26px;
	height: 8px;
	margin-left: -13px;
	border-radius: 50%;
	background: rgba(242, 184, 39, .4);
	animation: sjpu-pin-shadow calc(2.4s * var(--sjpu-amb, 1)) ease-in-out infinite;
}

.is-below .sjpu-ip-loc__pin {
	display: none;
}

.sjpu-home .sjpu-ip-loc__title {
	font-family: var(--sjpu-font-head);
	font-size: 20px;
	line-height: 1.3;
	color: var(--sjpu-navy);
}

.sjpu-home .sjpu-ip-loc__list {
	display: grid;
	gap: 12px;
	margin: 16px 0 20px;
	padding: 0;
	list-style: none;
}

.is-below .sjpu-ip-loc__list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 26px;
	margin: 0;
}

.sjpu-home .sjpu-ip-loc__line {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--sjpu-text);
	font-size: 14.5px;
	line-height: 1.55;
}

.sjpu-home .sjpu-ip-loc__line .sjpu-3d {
	font-size: 22px;
}

.sjpu-home .sjpu-ip-loc__line a {
	color: var(--sjpu-royal);
	overflow-wrap: anywhere;
}

.sjpu-home .sjpu-ip-loc__line a:hover {
	color: var(--sjpu-navy);
}

.sjpu-home.sjpu-anim.sjpu-js .sjpu-ip-map.sjpu-reveal:not(.is-visible) .sjpu-ip-loc {
	opacity: 0;
	translate: 30px 0;
}

.sjpu-home .sjpu-ip-loc {
	transition: opacity .7s ease .5s, translate .9s cubic-bezier(.2, .85, .25, 1) .5s;
}

@keyframes sjpu-pin-bounce {
	0%, 100% { translate: 0 0; }
	50%      { translate: 0 -8px; }
}

@keyframes sjpu-pin-shadow {
	0%, 100% { scale: 1; opacity: .8; }
	50%      { scale: .6; opacity: .4; }
}

/* ==========================================================================
   10. Image strip (above footer)
   ========================================================================== */
.sjpu-home .sjpu-ip-strip {
	position: relative;
	overflow: hidden;
}

.sjpu-home .sjpu-ip-strip__track {
	display: flex;
	gap: var(--sjpu-strip-gap, 0px);
}

.sjpu-home .sjpu-ip-strip__item {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	height: var(--sjpu-strip-h, 190px);
	margin: 0;
	overflow: hidden;
}

.sjpu-home .sjpu-ip-strip__item .sjpu-frame__in {
	border-radius: 0;
}

.sjpu-home .sjpu-ip-strip__item:hover .sjpu-frame__in img {
	transform: scale(1.08);
}

.sjpu-home .sjpu-ip-strip__item figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 8;
	padding: 40px 14px 12px;
	background: linear-gradient(transparent, rgba(10, 26, 63, .85));
	color: #FFFFFF;
	font-family: var(--sjpu-font-head);
	font-size: 16px;
	font-weight: 700;
	opacity: 0;
	translate: 0 12px;
	transition: opacity .35s ease, translate .35s ease;
	pointer-events: none;
}

.sjpu-home .sjpu-ip-strip__item:hover figcaption {
	opacity: 1;
	translate: 0 0;
}

.sjpu-home .sjpu-ip-strip--scroll .sjpu-ip-strip__track {
	gap: 0;
	width: max-content;
	animation: sjpu-strip calc(var(--sjpu-strip-dur, 45s)) linear infinite;
}

.sjpu-home .sjpu-ip-strip--scroll:hover .sjpu-ip-strip__track {
	animation-play-state: paused;
}

.sjpu-home .sjpu-ip-strip--scroll .sjpu-ip-strip__item {
	flex: 0 0 auto;
	width: clamp(200px, 22vw, 320px);
	margin-right: var(--sjpu-strip-gap, 0px);
}

/* Shared photo click layer */
.sjpu-home .sjpu-ip-zoom {
	position: absolute;
	inset: 0;
	z-index: 9;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	border-radius: 0;
	background: transparent;
	color: var(--sjpu-navy);
	cursor: zoom-in;
}

.sjpu-home .sjpu-ip-zoom:hover,
.sjpu-home .sjpu-ip-zoom:focus {
	background: transparent;
}

.sjpu-home .sjpu-ip-zoom:focus-visible {
	outline: 3px solid var(--sjpu-gold);
	outline-offset: -3px;
}

.sjpu-home .sjpu-ip-zoom__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--sjpu-gold);
	font-size: 22px;
	opacity: 0;
	scale: .4;
	transition: opacity .35s ease, scale .45s cubic-bezier(.3, 1.6, .5, 1);
}

.sjpu-home .sjpu-ip-tile:hover .sjpu-ip-zoom__icon,
.sjpu-home .sjpu-ip-zoom:focus-visible .sjpu-ip-zoom__icon {
	opacity: 1;
	scale: 1;
}

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

/* ==========================================================================
   11. Campus Gallery
   ========================================================================== */
.sjpu-home .sjpu-ip-filter {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	width: -moz-fit-content;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto 36px;
	padding: 6px;
	border-radius: 28px;
	background-color: #FFFFFF;
	box-shadow: 0 18px 40px -30px rgba(10, 26, 63, .55);
}

.sjpu-home .sjpu-ip-filter__btn {
	position: relative;
	z-index: 1;
	padding: 10px 20px;
	border-radius: 999px;
	background-color: transparent;
	color: var(--sjpu-navy);
	font-family: var(--sjpu-font-ui);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.2;
	transition: color .35s ease;
}

.sjpu-home .sjpu-ip-filter__btn:hover,
.sjpu-home .sjpu-ip-filter__btn:focus {
	background-color: transparent;
	color: var(--sjpu-royal);
}

.sjpu-home .sjpu-ip-filter__btn.is-active {
	color: #FFFFFF;
}

.sjpu-home .sjpu-ip-filter__glider {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	border-radius: 999px;
	background: var(--sjpu-filter-on, linear-gradient(110deg, var(--sjpu-navy), var(--sjpu-royal)));
	box-shadow: 0 10px 20px -10px rgba(10, 26, 63, .6);
	transition: transform .55s cubic-bezier(.3, 1.3, .5, 1), width .55s cubic-bezier(.3, 1.3, .5, 1), height .3s ease;
}

.sjpu-home .sjpu-ip-grid {
	display: grid;
	grid-template-columns: repeat(var(--sjpu-g-cols, 4), minmax(0, 1fr));
	grid-auto-rows: var(--sjpu-g-row, 220px);
	grid-auto-flow: dense;
	gap: var(--sjpu-g-gap, 14px);
	perspective: 1600px;
}

.sjpu-home .sjpu-ip-tile {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--sjpu-g-r, 16px);
	box-shadow: 0 18px 36px -28px rgba(10, 26, 63, .55);
}

.sjpu-home .sjpu-ip-tile .sjpu-frame--none .sjpu-frame__in {
	border-radius: var(--sjpu-g-r, 16px);
}

.sjpu-home .sjpu-ip-grid--mosaic .sjpu-ip-tile--b {
	grid-column: span 2;
	grid-row: span 2;
}

.sjpu-home .sjpu-ip-grid--mosaic .sjpu-ip-tile--w {
	grid-column: span 2;
}

.sjpu-home .sjpu-ip-grid--mosaic .sjpu-ip-tile--t {
	grid-row: span 2;
}

.sjpu-home .sjpu-ip-tile.is-more,
.sjpu-home .sjpu-ip-tile.is-out {
	display: none;
}

.sjpu-home .sjpu-ip-grid.is-filtering .sjpu-ip-tile.is-more:not(.is-out) {
	display: block;
}

.sjpu-home .sjpu-ip-tile:hover .sjpu-frame__in img {
	transform: scale(1.1);
}

.sjpu-home .sjpu-ip-tile__cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 8;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 50px 18px 16px;
	background: linear-gradient(transparent, var(--sjpu-g-shade, rgba(10, 26, 63, .88)));
	pointer-events: none;
}

.sjpu-home .sjpu-ip-tile__title {
	color: #FFFFFF;
	font-family: var(--sjpu-font-head);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	translate: 0 8px;
	transition: translate .4s ease;
}

.sjpu-home .sjpu-ip-tile__sub {
	color: var(--sjpu-gold);
	font-family: var(--sjpu-font-ui);
	font-size: 13px;
	opacity: 0;
	translate: 0 8px;
	transition: opacity .4s ease, translate .4s ease;
}

.sjpu-home .sjpu-ip-tile:hover .sjpu-ip-tile__title,
.sjpu-home .sjpu-ip-tile:hover .sjpu-ip-tile__sub {
	opacity: 1;
	translate: 0 0;
}

@media (hover: none) {
	.sjpu-home .sjpu-ip-tile__title,
	.sjpu-home .sjpu-ip-tile__sub {
		opacity: 1;
		translate: 0 0;
	}
}

/* Grid entrance: mosaic flip / zoom */
.sjpu-home.sjpu-anim.sjpu-js .sjpu-ip-grid--fx-mosaic .sjpu-ip-tile.sjpu-reveal {
	transform-origin: 0 50%;
	transition: opacity .7s ease, transform calc(var(--sjpu-dur, 900ms) * 1.3) cubic-bezier(.2, .85, .25, 1);
	transition-delay: calc(var(--sjpu-base-delay, 0ms) + var(--sjpu-delay, 0ms));
	translate: none;
	scale: none;
	rotate: none;
	filter: none;
}

.sjpu-home.sjpu-anim.sjpu-js .sjpu-ip-grid--fx-mosaic .sjpu-ip-tile.sjpu-reveal:not(.is-visible) {
	opacity: 0;
	transform: rotateY(70deg) scale(.86);
}

.sjpu-home.sjpu-anim.sjpu-js .sjpu-ip-grid--fx-mosaic .sjpu-ip-tile.sjpu-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.sjpu-home.sjpu-anim.sjpu-js .sjpu-ip-grid--fx-zoom .sjpu-ip-tile.sjpu-reveal:not(.is-visible) {
	scale: .75;
	translate: none;
}

.sjpu-home .sjpu-ip-tile.is-pop {
	animation: sjpu-tile-pop .7s cubic-bezier(.2, .85, .25, 1) both;
	animation-delay: calc(var(--sjpu-k, 0) * 60ms);
}

@keyframes sjpu-tile-pop {
	from { opacity: 0; transform: perspective(900px) translateY(26px) rotateX(-30deg) scale(.9); }
	to   { opacity: 1; transform: none; }
}

.sjpu-home .sjpu-ip-loadwrap {
	display: flex;
	justify-content: center;
	margin-top: 36px;
}

.sjpu-home .sjpu-ip-loadmore {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 28px;
	border: 1.5px solid var(--sjpu-navy);
	border-radius: 999px;
	background-color: transparent;
	color: var(--sjpu-navy);
	font-family: var(--sjpu-font-ui);
	font-size: 14.5px;
	font-weight: 600;
	transition: background-color .3s ease, color .3s ease, transform .3s ease;
}

.sjpu-home .sjpu-ip-loadmore:hover,
.sjpu-home .sjpu-ip-loadmore:focus-visible {
	background-color: var(--sjpu-navy);
	color: #FFFFFF;
	transform: translateY(-2px);
}

.sjpu-home .sjpu-ip-loadmore .sjpu-svg-icon {
	rotate: 90deg;
	animation: sjpu-nudge 1.6s ease-in-out infinite;
}

@keyframes sjpu-nudge {
	0%, 100% { translate: 0 0; }
	50%      { translate: 0 3px; }
}

/* Moments band (navy) */
.sjpu-home .sjpu-ip-band,
.sjpu-home .sjpu-ip-albums {
	overflow: hidden;
	background: radial-gradient(120% 120% at 50% 0%, #13306E 0%, var(--sjpu-navy) 55%, #050E26 100%);
	color: #FFFFFF;
}

.sjpu-home .sjpu-ip-stars {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.sjpu-home .sjpu-ip-stars i {
	position: absolute;
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: 0 0 6px 1px rgba(255, 255, 255, .7);
	animation: sjpu-twinkle calc(3.5s * var(--sjpu-amb, 1)) ease-in-out infinite;
}

.sjpu-home .sjpu-ip-stars i:nth-child(1)  { top: 8%;  left: 6%;  animation-delay: -1s; }
.sjpu-home .sjpu-ip-stars i:nth-child(2)  { top: 14%; left: 22%; animation-delay: -2.3s; }
.sjpu-home .sjpu-ip-stars i:nth-child(3)  { top: 6%;  left: 41%; animation-delay: -.4s; }
.sjpu-home .sjpu-ip-stars i:nth-child(4)  { top: 18%; left: 58%; animation-delay: -3s; }
.sjpu-home .sjpu-ip-stars i:nth-child(5)  { top: 9%;  left: 77%; animation-delay: -1.7s; }
.sjpu-home .sjpu-ip-stars i:nth-child(6)  { top: 22%; left: 92%; animation-delay: -2.8s; }
.sjpu-home .sjpu-ip-stars i:nth-child(7)  { top: 34%; left: 3%;  animation-delay: -.9s; }
.sjpu-home .sjpu-ip-stars i:nth-child(8)  { top: 41%; left: 96%; animation-delay: -1.2s; }
.sjpu-home .sjpu-ip-stars i:nth-child(9)  { top: 58%; left: 8%;  animation-delay: -2s; }
.sjpu-home .sjpu-ip-stars i:nth-child(10) { top: 66%; left: 93%; animation-delay: -.2s; }
.sjpu-home .sjpu-ip-stars i:nth-child(11) { top: 84%; left: 4%;  animation-delay: -2.6s; }
.sjpu-home .sjpu-ip-stars i:nth-child(12) { top: 90%; left: 30%; animation-delay: -1.4s; }
.sjpu-home .sjpu-ip-stars i:nth-child(13) { top: 88%; left: 62%; animation-delay: -3.1s; }
.sjpu-home .sjpu-ip-stars i:nth-child(14) { top: 92%; left: 85%; animation-delay: -.6s; }
.sjpu-home .sjpu-ip-stars i:nth-child(15) { top: 28%; left: 33%; animation-delay: -1.9s; width: 3px; height: 3px; }
.sjpu-home .sjpu-ip-stars i:nth-child(16) { top: 12%; left: 66%; animation-delay: -2.2s; width: 3px; height: 3px; }
.sjpu-home .sjpu-ip-stars i:nth-child(17) { top: 4%;  left: 88%; animation-delay: -.8s; }
.sjpu-home .sjpu-ip-stars i:nth-child(18) { top: 26%; left: 12%; animation-delay: -2.9s; }
.sjpu-home .sjpu-ip-stars i:nth-child(19) { top: 72%; left: 18%; animation-delay: -1.1s; }
.sjpu-home .sjpu-ip-stars i:nth-child(20) { top: 78%; left: 76%; animation-delay: -2.4s; }
.sjpu-home .sjpu-ip-stars i:nth-child(21) { top: 48%; left: 50%; animation-delay: -3.3s; opacity: .5; }
.sjpu-home .sjpu-ip-stars i:nth-child(22) { top: 16%; left: 48%; animation-delay: -.3s; }
.sjpu-home .sjpu-ip-stars i:nth-child(23) { top: 36%; left: 72%; animation-delay: -1.6s; }
.sjpu-home .sjpu-ip-stars i:nth-child(24) { top: 62%; left: 40%; animation-delay: -2.7s; opacity: .6; }
.sjpu-home .sjpu-ip-stars i:nth-child(25) { top: 5%;  left: 14%; animation-delay: -1.3s; }
.sjpu-home .sjpu-ip-stars i:nth-child(26) { top: 52%; left: 86%; animation-delay: -.5s; }
.sjpu-home .sjpu-ip-stars i:nth-child(27) { top: 82%; left: 48%; animation-delay: -2.1s; }
.sjpu-home .sjpu-ip-stars i:nth-child(28) { top: 30%; left: 84%; animation-delay: -3.4s; }

@keyframes sjpu-twinkle {
	0%, 100% { opacity: .15; scale: .6; }
	50%      { opacity: 1; scale: 1.2; }
}

.sjpu-home .sjpu-ip-band__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	perspective: 1400px;
}

.sjpu-home .sjpu-ip-band__item {
	position: relative;
	height: var(--sjpu-band-img, 300px);
	margin: 0 0 22px;
}

.sjpu-home .sjpu-ip-band--float .sjpu-ip-band__item .sjpu-frame {
	animation: sjpu-float calc((6s + var(--sjpu-i, 0) * 1.1s) * var(--sjpu-amb, 1)) ease-in-out infinite;
}

.sjpu-home .sjpu-ip-band__item figcaption,
.sjpu-home .sjpu-ip-band__item .sjpu-frame.sjpu-frame + figcaption {
	position: absolute;
	top: auto;
	right: auto;
	left: 50%;
	width: max-content;
	max-width: 90%;
	bottom: -16px;
	z-index: 8;
	padding: 7px 16px;
	border-radius: 999px;
	background: var(--sjpu-gold);
	color: var(--sjpu-navy);
	font-family: var(--sjpu-font-ui);
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
	transform: translateX(-50%);
	box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5);
}

.sjpu-home .sjpu-ip-band .sjpu-frame--theme {
	border-color: var(--sjpu-fb-dark, rgba(255, 255, 255, .9));
}

.sjpu-home.sjpu-anim.sjpu-js .sjpu-ip-band__item.sjpu-reveal:not(.is-visible) {
	rotate: y calc((var(--sjpu-i, 0) - 1) * -35deg);
}

/* Life-on-campus band */
.sjpu-home .sjpu-ip-info {
	position: relative;
	isolation: isolate;
	padding: 110px 0;
	overflow: hidden;
	color: #FFFFFF;
}

.sjpu-home .sjpu-ip-info__bg {
	z-index: -2;
	border-radius: 0;
}

.sjpu-home .sjpu-ip-info__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(10, 26, 63, .82), rgba(10, 26, 63, .66) 50%, rgba(10, 26, 63, .9));
}

.sjpu-home .sjpu-ip-info__inner {
	text-align: center;
	--sjpu-uline-ml: auto;
	--sjpu-uline-mr: auto;
}

.sjpu-home .sjpu-ip-info__title {
	margin: 0 0 54px;
	color: #FFFFFF;
}

.sjpu-home .sjpu-ip-info__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
}

.sjpu-home .sjpu-ip-info__col {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 6px 34px;
}

.sjpu-home .sjpu-ip-info__col + .sjpu-ip-info__col::before {
	content: "";
	position: absolute;
	top: 10%;
	bottom: 10%;
	left: 0;
	width: 1px;
	background: linear-gradient(transparent, var(--sjpu-gold), transparent);
	opacity: .6;
}

.sjpu-home .sjpu-ip-info__icon .sjpu-3d {
	font-size: 46px;
	margin-bottom: 12px;
}

.sjpu-home .sjpu-ip-info__head {
	margin: 0;
	color: #FFFFFF;
	font-family: var(--sjpu-font-head);
	font-size: 21px;
	font-weight: 700;
}

.sjpu-home .sjpu-ip-info__text {
	margin: 12px 0 22px;
	color: rgba(255, 255, 255, .8);
	font-size: 14.5px;
	line-height: 1.75;
}

.sjpu-home .sjpu-ip-info .sjpu-ip-ghost {
	margin-top: auto;
}

/* Explore more cards with ribbon */
.sjpu-home .sjpu-ip-xcard {
	align-items: center;
	text-align: center;
}

.sjpu-home .sjpu-ip-xcard .sjpu-ip-card__body {
	align-items: center;
	padding-top: 16px;
}

.sjpu-home .sjpu-ip-ribbon {
	position: relative;
	z-index: 9;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	align-self: stretch;
	margin: -30px 28px 0;
	padding: 12px 20px 13px;
	background-color: var(--sjpu-navy);
	color: #FFFFFF;
	clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%);
	transition: background-color .35s ease, margin .35s ease;
}

.sjpu-home .sjpu-ip-ribbon strong {
	font-family: var(--sjpu-font-head);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.sjpu-home .sjpu-ip-ribbon em {
	color: var(--sjpu-gold);
	font-family: var(--sjpu-font-ui);
	font-size: 12.5px;
	font-style: normal;
	letter-spacing: .04em;
}

.sjpu-home .sjpu-ip-xcard:hover .sjpu-ip-ribbon {
	margin-left: 18px;
	margin-right: 18px;
	background-color: var(--sjpu-royal);
}

/* Visit / contact band */
.sjpu-home .sjpu-ip-cta {
	position: relative;
	isolation: isolate;
	padding: 110px 0;
	overflow: hidden;
	color: #FFFFFF;
}

.sjpu-home .sjpu-ip-cta__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	animation: sjpu-kenburns calc(30s * var(--sjpu-amb, 1)) ease-in-out infinite alternate;
}

.sjpu-home .sjpu-ip-cta__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, rgba(10, 26, 63, .94) 0%, rgba(10, 26, 63, .78) 50%, rgba(10, 26, 63, .55) 100%);
}

.sjpu-home .sjpu-ip-cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	justify-items: center;
	text-align: center;
	--sjpu-uline-ml: auto;
	--sjpu-uline-mr: auto;
}

.sjpu-home .sjpu-ip-cta--form .sjpu-ip-cta__inner {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	justify-items: stretch;
	gap: 56px;
	text-align: left;
	--sjpu-uline-ml: 0;
	--sjpu-uline-mr: auto;
}

.sjpu-home .sjpu-ip-cta__title {
	margin: 0;
	color: #FFFFFF;
	font-size: clamp(28px, 3.4vw, 46px);
}

.sjpu-home .sjpu-ip-cta__text {
	max-width: 560px;
	margin-top: 18px;
	color: rgba(255, 255, 255, .85);
	font-size: 16px;
	line-height: 1.8;
}

.sjpu-home .sjpu-ip-cta__inner:not(.x) .sjpu-ip-cta__text {
	margin-left: auto;
	margin-right: auto;
}

.sjpu-home .sjpu-ip-cta--form .sjpu-ip-cta__text {
	margin-left: 0;
}

.sjpu-home .sjpu-ip-cta__btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 30px;
}

.sjpu-home .sjpu-ip-cta--form .sjpu-ip-cta__btns {
	justify-content: flex-start;
}

.sjpu-home .sjpu-ip-cta .sjpu-ip-form {
	background: rgba(10, 26, 63, .72);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

/* Looping effects off */
.sjpu-home.sjpu-noloop .sjpu-ip-m1__icon,
.sjpu-home.sjpu-noloop .sjpu-ip-tl__dot::after,
.sjpu-home.sjpu-noloop .sjpu-ip-show__bg,
.sjpu-home.sjpu-noloop .sjpu-ip-show--float .sjpu-frame,
.sjpu-home.sjpu-noloop .sjpu-ip-help__icon .sjpu-3d,
.sjpu-home.sjpu-noloop .sjpu-ip-submit::after,
.sjpu-home.sjpu-noloop .sjpu-ip-loc__pin span,
.sjpu-home.sjpu-noloop .sjpu-ip-loc__pin::after,
.sjpu-home.sjpu-noloop .sjpu-ip-stars i,
.sjpu-home.sjpu-noloop .sjpu-ip-band--float .sjpu-frame,
.sjpu-home.sjpu-noloop .sjpu-ip-cta__bg,
.sjpu-home.sjpu-noloop .sjpu-ip-loadmore .sjpu-svg-icon {
	animation: none !important;
}

/* ==========================================================================
   12. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.sjpu-home .sjpu-ip-m1__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
	}

	.sjpu-home .sjpu-ip-m1__side {
		padding-top: 0;
	}

	.sjpu-home .sjpu-ip-m1--sticky .sjpu-ip-m1__sticky {
		position: static;
	}

	.sjpu-home .sjpu-ip-m1__img {
		height: var(--sjpu-m-img-h, 380px);
	}

	.sjpu-home .sjpu-ip-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 28px;
	}

	.sjpu-home .sjpu-ip-stat:nth-child(3) {
		border-left: 0;
	}

	.sjpu-home .sjpu-ip-big {
		height: var(--sjpu-big-h, 440px);
	}

	.sjpu-home .sjpu-ip-faq__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
	}

	.sjpu-home .sjpu-ip-faq--tabs .sjpu-ip-faq__sticky {
		position: static;
	}

	.sjpu-home .sjpu-ip-faq--tabs .sjpu-ip-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sjpu-home .sjpu-ip-faq__side .sjpu-ip-help {
		display: none;
	}

	.sjpu-home .sjpu-ip-ccs {
		gap: 18px;
	}

	.sjpu-home .sjpu-ip-cf {
		grid-template-columns: minmax(0, 1fr);
	}

	.sjpu-home .sjpu-ip-cf--map-form .sjpu-ip-form {
		order: 0;
	}

	.sjpu-home .sjpu-ip-grid {
		--sjpu-g-cols: 3;
		grid-auto-rows: var(--sjpu-g-row, 190px);
	}

	.sjpu-home .sjpu-ip-cta--form .sjpu-ip-cta__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.sjpu-home .sjpu-ip-info__col {
		padding: 6px 18px;
	}
}

@media (max-width: 767px) {
	.sjpu-home .sjpu-ip-head {
		margin-bottom: var(--sjpu-head-gap, 28px);
	}

	.sjpu-home .sjpu-ip-cards,
	.sjpu-home .sjpu-ip-ccs,
	.sjpu-home .sjpu-ip-band__row,
	.sjpu-home .sjpu-ip-info__cols {
		grid-template-columns: minmax(0, 1fr);
	}

	.sjpu-home .sjpu-ip-cards {
		gap: var(--sjpu-card-gap, 22px);
	}

	.sjpu-home .sjpu-ip-tl {
		padding-left: 34px;
	}

	.sjpu-home .sjpu-ip-tl__rail {
		left: 7px;
	}

	.sjpu-home .sjpu-ip-tl__dot {
		left: 0;
	}

	.sjpu-home .sjpu-ip-m1__img {
		height: var(--sjpu-m-img-h, 260px);
	}

	.sjpu-home .sjpu-ip-ow__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
	}

	.sjpu-home .sjpu-ip-ow__grid--right .sjpu-ip-ow__img {
		order: 0;
	}

	.sjpu-home .sjpu-ip-ow__img {
		height: var(--sjpu-ow-img-h, 240px);
	}

	.sjpu-home .sjpu-acc__head {
		padding: 16px 18px;
		font-size: 16px;
	}

	.sjpu-home .sjpu-acc--faq .sjpu-acc__head {
		padding: 16px 18px;
		font-size: 16.5px;
	}

	.sjpu-home .sjpu-acc__body {
		padding: 0 18px;
	}

	.sjpu-home .sjpu-ip-stats {
		grid-template-columns: minmax(0, 1fr);
		padding: 26px 6px;
	}

	.sjpu-home .sjpu-ip-stat + .sjpu-ip-stat {
		border-left: 0;
	}

	.sjpu-home .sjpu-ip-big {
		height: var(--sjpu-big-h, 280px);
	}

	.sjpu-home .sjpu-ip-show {
		padding: 44px 18px;
	}

	.sjpu-home .sjpu-ip-show__item {
		width: 100%;
		max-width: 340px;
		rotate: none;
		translate: none;
	}

	.sjpu-home.sjpu-anim.sjpu-js .sjpu-ip-show--fan .sjpu-ip-show__item.sjpu-reveal.is-visible {
		rotate: none;
		translate: none;
	}

	.sjpu-home.sjpu-anim.sjpu-js .sjpu-ip-show--fan .sjpu-ip-show__item.sjpu-reveal:not(.is-visible) {
		transform: translateY(40px) rotateX(30deg);
	}

	.sjpu-home .sjpu-ip-faq--tabs .sjpu-ip-tabs {
		grid-template-columns: minmax(0, 1fr);
	}

	.sjpu-home .sjpu-ip-form {
		padding: 28px 20px;
	}

	.sjpu-home .sjpu-ip-form__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.sjpu-home .sjpu-ip-map {
		height: var(--sjpu-map-h, 360px);
	}

	.sjpu-home .sjpu-ip-cf .sjpu-ip-map {
		min-height: var(--sjpu-map-h, 340px);
	}

	.sjpu-home .sjpu-ip-loc,
	.sjpu-home .sjpu-ip-loc--left {
		position: relative;
		top: auto;
		right: auto;
		left: auto;
		width: auto;
		max-width: none;
		margin: -60px 14px 0;
	}

	.sjpu-home .sjpu-ip-find__map .sjpu-ip-map {
		height: auto;
	}

	.sjpu-home .sjpu-ip-find__map .sjpu-ip-map__clip {
		position: relative;
		height: var(--sjpu-map-h, 340px);
	}

	.sjpu-home .sjpu-ip-strip__track {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sjpu-home .sjpu-ip-strip--scroll .sjpu-ip-strip__track {
		display: flex;
	}

	.sjpu-home .sjpu-ip-strip__item {
		height: var(--sjpu-strip-h, 120px);
	}

	.sjpu-home .sjpu-ip-grid {
		--sjpu-g-cols: 2;
		grid-auto-rows: var(--sjpu-g-row, 150px);
		gap: var(--sjpu-g-gap, 10px);
	}

	.sjpu-home .sjpu-ip-grid--mosaic .sjpu-ip-tile--w {
		grid-column: span 2;
	}

	.sjpu-home .sjpu-ip-filter {
		border-radius: 18px;
	}

	.sjpu-home .sjpu-ip-tile__title {
		font-size: 15px;
	}

	.sjpu-home .sjpu-ip-tile__cap {
		padding: 40px 12px 12px;
	}

	.sjpu-home .sjpu-ip-filter__btn {
		padding: 9px 14px;
		font-size: 13.5px;
	}

	.sjpu-home .sjpu-ip-band__item {
		height: var(--sjpu-band-img, 240px);
		margin-bottom: 26px;
	}

	.sjpu-home.sjpu-anim.sjpu-js .sjpu-ip-band__item.sjpu-reveal:not(.is-visible) {
		rotate: none;
	}

	.sjpu-home .sjpu-ip-info,
	.sjpu-home .sjpu-ip-cta {
		padding: 70px 0;
	}

	.sjpu-home .sjpu-ip-info__cols {
		gap: 34px;
	}

	.sjpu-home .sjpu-ip-info__col + .sjpu-ip-info__col::before {
		top: -18px;
		bottom: auto;
		left: 20%;
		right: 20%;
		width: auto;
		height: 1px;
		background: linear-gradient(90deg, transparent, var(--sjpu-gold), transparent);
	}

	.sjpu-home .sjpu-ip-ribbon {
		margin: -30px 16px 0;
	}
}

/* Lightbox additions (gallery navigation & caption) */
body .sjpu-lb .sjpu-lb__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: none;
	place-items: center;
	width: 52px;
	height: 52px;
	margin: -26px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: #0A1A3F;
	font-size: 34px;
	line-height: 1;
	box-shadow: none;
	cursor: pointer;
	transition: background .3s ease, transform .3s ease;
}

body .sjpu-lb.is-multi .sjpu-lb__nav {
	display: grid;
}

body .sjpu-lb .sjpu-lb__nav--prev {
	left: -70px;
}

body .sjpu-lb .sjpu-lb__nav--next {
	right: -70px;
}

body .sjpu-lb .sjpu-lb__nav:hover,
body .sjpu-lb .sjpu-lb__nav:focus-visible {
	background: #F2B827;
	color: #0A1A3F;
	transform: scale(1.08);
}

body .sjpu-lb__cap {
	margin: 14px 0 0;
	color: #FFFFFF;
	font: 600 15px/1.4 Poppins, Arial, sans-serif;
	text-align: center;
}

body .sjpu-lb__count {
	position: absolute;
	top: -46px;
	left: 0;
	color: rgba(255, 255, 255, .75);
	font: 500 14px/1 Poppins, Arial, sans-serif;
}

body .sjpu-lb__media.is-from-right {
	animation: sjpu-lb-right .45s cubic-bezier(.2, .85, .25, 1) both;
}

body .sjpu-lb__media.is-from-left {
	animation: sjpu-lb-left .45s cubic-bezier(.2, .85, .25, 1) both;
}

@keyframes sjpu-lb-right {
	from { opacity: 0; transform: translateX(60px); }
	to   { opacity: 1; transform: none; }
}

@keyframes sjpu-lb-left {
	from { opacity: 0; transform: translateX(-60px); }
	to   { opacity: 1; transform: none; }
}

@media (max-width: 1240px) {
	body .sjpu-lb .sjpu-lb__nav--prev {
		left: 8px;
	}

	body .sjpu-lb .sjpu-lb__nav--next {
		right: 8px;
	}
}

/* Theme-proofing for headings / buttons used by these widgets */
.sjpu-home :is(.sjpu-ip-tab, .sjpu-ip-filter__btn, .sjpu-ip-loadmore, .sjpu-ip-submit, .sjpu-ip-copy-btn, .sjpu-acc__head, .sjpu-ip-ghost, .sjpu-ip-ribbon strong, .sjpu-ip-stat__label, .sjpu-ip-loc__title, .sjpu-ip-form__title) {
	text-transform: none;
	letter-spacing: normal;
}

/* ==========================================================================
   13. Page-themed 3D banner scenes (Page Banner → 3D Scene)
   Sizes follow "Cube Size" (--b3d-size), speed follows --b3d-k × loop speed.
   ========================================================================== */
.sjpu-home .sjpu-sc {
	--S: var(--b3d-size, 150px);
	--T: calc(var(--b3d-k, 1) * var(--sjpu-amb, 1));
	--A: var(--b3d-accent, #F2B827);
	--P: var(--b3d-paper, #FFF8E8);
	position: absolute;
	inset: 0;
	transform-style: preserve-3d;
}

.sjpu-home .sjpu-sc * {
	box-sizing: border-box;
}

/* Generic elliptical orbit used by several scenes (fake depth with scale/opacity) */
.sjpu-home .sjpu-sc .sc-orbiter {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: calc(var(--S) * .36);
	height: calc(var(--S) * .36);
	margin: calc(var(--S) * -.18) 0 0 calc(var(--S) * -.18);
	animation: sc-orbit calc(9s * var(--T)) linear infinite;
	animation-delay: calc(var(--k, 0) * -3s * var(--T));
}

.sjpu-home .sjpu-sc .sc-orbiter .sjpu-3d {
	font-size: calc(var(--S) * .3);
	filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .35));
}

@keyframes sc-orbit {
	0%     { transform: translate3d(calc(var(--S) * 1.15), 0, 0) scale(1); opacity: 1; z-index: 2; }
	12.5%  { transform: translate3d(calc(var(--S) * .81), calc(var(--S) * .32), 40px) scale(1.12); }
	25%    { transform: translate3d(0, calc(var(--S) * .45), 60px) scale(1.2); opacity: 1; }
	37.5%  { transform: translate3d(calc(var(--S) * -.81), calc(var(--S) * .32), 40px) scale(1.12); }
	50%    { transform: translate3d(calc(var(--S) * -1.15), 0, 0) scale(1); }
	62.5%  { transform: translate3d(calc(var(--S) * -.81), calc(var(--S) * -.32), -60px) scale(.82); opacity: .75; }
	75%    { transform: translate3d(0, calc(var(--S) * -.45), -90px) scale(.7); opacity: .6; }
	87.5%  { transform: translate3d(calc(var(--S) * .81), calc(var(--S) * -.32), -60px) scale(.82); opacity: .75; }
	100%   { transform: translate3d(calc(var(--S) * 1.15), 0, 0) scale(1); opacity: 1; }
}

.sjpu-home .sjpu-sc .sc-glyph {
	position: absolute;
	top: 50%;
	left: calc(50% + (var(--k, 0) - 3) * var(--S) * .32);
	color: var(--A);
	font-family: var(--sjpu-font-head);
	font-size: calc(var(--S) * .17);
	font-weight: 700;
	line-height: 1;
	opacity: 0;
	text-shadow: 0 0 14px rgba(242, 184, 39, .55);
	animation: sc-rise calc((5s + var(--k, 0) * .6s) * var(--T)) ease-in infinite;
	animation-delay: calc(var(--k, 0) * -1.1s * var(--T));
}

.sjpu-home .sjpu-sc .sc-glyph:nth-child(3n) {
	font-size: calc(var(--S) * .24);
}

.sjpu-home .sjpu-sc .sc-glyph:nth-child(even) {
	color: #FFFFFF;
	text-shadow: 0 0 14px rgba(255, 255, 255, .5);
}

@keyframes sc-rise {
	0%   { transform: translate3d(0, calc(var(--S) * .2), 0) rotate(-10deg); opacity: 0; }
	20%  { opacity: .95; }
	80%  { opacity: .6; }
	100% { transform: translate3d(calc(var(--S) * .15), calc(var(--S) * -1.15), 60px) rotate(12deg); opacity: 0; }
}

/* ---- Book (Libraries) ---------------------------------------------------- */
.sjpu-home .sc-book {
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(var(--S) * 1.8);
	height: calc(var(--S) * 1.15);
	margin: calc(var(--S) * -.5) 0 0 calc(var(--S) * -.9);
	transform-style: preserve-3d;
	transform: rotateX(56deg) rotateZ(-10deg);
}

.sjpu-home .sc-book__cover {
	position: absolute;
	inset: -7px -9px;
	border: 2px solid var(--A);
	border-radius: 8px;
	background: linear-gradient(135deg, #1D4ED8, #0A1A3F);
	box-shadow: 0 30px 40px -10px rgba(0, 0, 0, .55);
	transform: translateZ(-3px);
}

.sjpu-home .sc-book__page,
.sjpu-home .sc-book__flip {
	position: absolute;
	top: 0;
	width: 50%;
	height: 100%;
	background:
		repeating-linear-gradient(transparent 0 calc(var(--S) * .085), rgba(10, 26, 63, .16) calc(var(--S) * .085) calc(var(--S) * .085 + 1.5px)) calc(var(--S) * .1) calc(var(--S) * .14) / calc(100% - var(--S) * .2) calc(100% - var(--S) * .26) no-repeat,
		var(--P);
	backface-visibility: visible;
	transform-style: preserve-3d;
}

.sjpu-home .sc-book__page--l {
	left: 0;
	border-radius: 6px 0 0 6px;
	transform-origin: 100% 50%;
	transform: rotateY(16deg);
	box-shadow: inset -18px 0 24px -14px rgba(10, 26, 63, .35);
}

.sjpu-home .sc-book__page--r,
.sjpu-home .sc-book__flip {
	left: 50%;
	border-radius: 0 6px 6px 0;
	transform-origin: 0 50%;
	transform: rotateY(-16deg);
	box-shadow: inset 18px 0 24px -14px rgba(10, 26, 63, .3);
}

.sjpu-home .sc-book__flip {
	animation: sc-flip calc(6s * var(--T)) cubic-bezier(.45, .05, .35, 1) infinite;
	animation-delay: calc(var(--k, 0) * -2s * var(--T));
}

@keyframes sc-flip {
	0%, 10%  { transform: rotateY(-16deg) translateZ(1px); filter: brightness(1); }
	55%      { transform: rotateY(-90deg) translateZ(1px); filter: brightness(1.1); }
	90%, 100% { transform: rotateY(-164deg) translateZ(1px); filter: brightness(.85); }
}

.sjpu-home .sc-book__mark {
	position: absolute;
	top: -4px;
	left: calc(50% + var(--S) * .3);
	width: calc(var(--S) * .09);
	height: calc(var(--S) * .45);
	background: linear-gradient(var(--A), #E59E0B);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
	transform: translateZ(4px);
}

/* ---- Compass (Mission & Value) ------------------------------------------- */
.sjpu-home .sc-dial {
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(var(--S) * 1.3);
	height: calc(var(--S) * 1.3);
	margin: calc(var(--S) * -.65) 0 0 calc(var(--S) * -.65);
	border: calc(var(--S) * .06) solid var(--A);
	border-radius: 50%;
	background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, .28), rgba(29, 78, 216, .35) 55%, rgba(10, 26, 63, .9) 100%);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .35), inset 0 0 30px rgba(0, 0, 0, .45), 0 30px 50px -20px rgba(0, 0, 0, .6);
	transform-style: preserve-3d;
	transform: rotateX(18deg);
}

.sjpu-home .sc-dial__ticks {
	position: absolute;
	inset: 6%;
	border-radius: 50%;
	background: repeating-conic-gradient(rgba(255, 255, 255, .55) 0 1.2deg, transparent 1.2deg 15deg);
	-webkit-mask: radial-gradient(circle, transparent 82%, #000 83%);
	mask: radial-gradient(circle, transparent 82%, #000 83%);
}

.sjpu-home .sc-dial__rose {
	position: absolute;
	inset: 22%;
	background: conic-gradient(from 45deg, rgba(255, 255, 255, .9) 0 25%, rgba(242, 184, 39, .9) 0 50%, rgba(255, 255, 255, .9) 0 75%, rgba(242, 184, 39, .9) 0);
	clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
	opacity: .35;
	animation: sjpu-spin calc(30s * var(--T)) linear infinite reverse;
}

.sjpu-home .sc-dial__l {
	position: absolute;
	color: #FFFFFF;
	font-family: var(--sjpu-font-head);
	font-size: calc(var(--S) * .11);
	font-weight: 700;
	line-height: 1;
	transform: translateZ(2px);
}

.sjpu-home .sc-dial__l--n { top: 12%; left: 50%; translate: -50% 0; color: var(--A); }
.sjpu-home .sc-dial__l--s { bottom: 12%; left: 50%; translate: -50% 0; }
.sjpu-home .sc-dial__l--e { right: 12%; top: 50%; translate: 0 -50%; }
.sjpu-home .sc-dial__l--w { left: 12%; top: 50%; translate: 0 -50%; }

.sjpu-home .sc-needle {
	position: absolute;
	top: 18%;
	bottom: 18%;
	left: 50%;
	width: calc(var(--S) * .14);
	margin-left: calc(var(--S) * -.07);
	background: linear-gradient(var(--A) 0 50%, #E8EEF8 50% 100%);
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
	filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .4));
	transform: translateZ(10px);
	animation: sc-needle calc(7s * var(--T)) ease-in-out infinite;
}

@keyframes sc-needle {
	0%, 100% { rotate: -28deg; }
	30%      { rotate: 22deg; }
	55%      { rotate: -8deg; }
	75%      { rotate: 4deg; }
}

.sjpu-home .sc-dial__cap {
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(var(--S) * .12);
	height: calc(var(--S) * .12);
	margin: calc(var(--S) * -.06) 0 0 calc(var(--S) * -.06);
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #FFFFFF, var(--A));
	transform: translateZ(14px);
}

.sjpu-home .sc-gimbal {
	position: absolute;
	inset: calc(var(--S) * -.42);
	border: 2px solid rgba(242, 184, 39, .65);
	border-radius: 50%;
	transform-style: preserve-3d;
	animation: sc-gimbal-x calc(12s * var(--T)) linear infinite;
}

.sjpu-home .sc-gimbal--2 {
	inset: calc(var(--S) * -.62);
	border: 1.5px dashed rgba(255, 255, 255, .4);
	animation: sc-gimbal-y calc(18s * var(--T)) linear infinite;
}

.sjpu-home .sc-gimbal i {
	position: absolute;
	top: -6px;
	left: calc(50% - 6px);
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--A);
	box-shadow: 0 0 14px 4px rgba(242, 184, 39, .6);
}

@keyframes sc-gimbal-x {
	from { transform: rotateX(70deg) rotateZ(0); }
	to   { transform: rotateX(70deg) rotateZ(360deg); }
}

@keyframes sc-gimbal-y {
	from { transform: rotateY(70deg) rotateZ(0); }
	to   { transform: rotateY(70deg) rotateZ(-360deg); }
}

/* ---- Question mark (FAQ) -------------------------------------------------- */
.sjpu-home .sc-q {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	transform-style: preserve-3d;
	animation: sc-q-swing calc(8s * var(--T)) ease-in-out infinite;
}

.sjpu-home .sc-q i {
	position: absolute;
	color: #B9820D;
	font-family: var(--sjpu-font-head);
	font-size: calc(var(--S) * 1.35);
	font-style: normal;
	font-weight: 900;
	line-height: 1;
	transform: translateZ(calc(var(--z, 0) * -2.2px));
}

.sjpu-home .sc-q i:last-child {
	color: var(--A);
	background: linear-gradient(160deg, #FFE69A 0%, var(--A) 45%, #E59E0B 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 18px rgba(242, 184, 39, .45));
}

.sjpu-home .sc-q i:first-child {
	color: rgba(0, 0, 0, .35);
	filter: blur(3px);
}

@keyframes sc-q-swing {
	0%, 100% { transform: rotateY(-38deg) rotateZ(-4deg); }
	50%      { transform: rotateY(38deg) rotateZ(4deg); }
}

.sjpu-home .sc-bubble {
	width: calc(var(--S) * .5);
	height: calc(var(--S) * .38);
	margin: calc(var(--S) * -.19) 0 0 calc(var(--S) * -.25);
	border-radius: 14px;
	background: var(--P);
	box-shadow: 0 14px 24px -12px rgba(0, 0, 0, .5);
}

.sjpu-home .sc-bubble::after {
	content: "";
	position: absolute;
	left: 22%;
	bottom: -9px;
	border: 9px solid transparent;
	border-top-color: var(--P);
	border-bottom: 0;
}

.sjpu-home .sc-bubble b {
	color: #1D4ED8;
	font-family: var(--sjpu-font-head);
	font-size: calc(var(--S) * .2);
	line-height: 1;
}

.sjpu-home .sc-bubble:nth-of-type(odd) {
	background: #1D4ED8;
}

.sjpu-home .sc-bubble:nth-of-type(odd)::after {
	border-top-color: #1D4ED8;
}

.sjpu-home .sc-bubble:nth-of-type(odd) b {
	color: #FFFFFF;
}

.sjpu-home .sc-glyph--q {
	font-size: calc(var(--S) * .16);
}

/* ---- Envelope (Contact) --------------------------------------------------- */
.sjpu-home .sc-env {
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(var(--S) * 1.55);
	height: calc(var(--S) * 1);
	margin: calc(var(--S) * -.35) 0 0 calc(var(--S) * -.775);
	transform-style: preserve-3d;
	transform: rotateY(-20deg) rotateX(8deg);
}

.sjpu-home .sc-env__back {
	position: absolute;
	inset: 0;
	border-radius: 8px;
	background: linear-gradient(160deg, #1D4ED8, #0D2A66);
	box-shadow: 0 30px 40px -16px rgba(0, 0, 0, .6);
}

.sjpu-home .sc-env__letter {
	position: absolute;
	left: 8%;
	right: 8%;
	top: 8%;
	height: 82%;
	padding: 14% 12% 0;
	border-radius: 6px;
	background: var(--P);
	transform: translateZ(2px);
	animation: sc-letter calc(6s * var(--T)) ease-in-out infinite;
}

.sjpu-home .sc-env__letter i {
	display: block;
	height: 4px;
	margin-bottom: 9%;
	border-radius: 4px;
	background: rgba(10, 26, 63, .18);
}

.sjpu-home .sc-env__letter i:first-child {
	width: 55%;
	background: rgba(29, 78, 216, .55);
}

.sjpu-home .sc-env__letter b {
	position: absolute;
	right: 12%;
	top: 10%;
	color: var(--A);
	font-family: var(--sjpu-font-head);
	font-size: calc(var(--S) * .2);
	line-height: 1;
}

.sjpu-home .sc-env__front {
	position: absolute;
	inset: 0;
	border-radius: 8px;
	background: linear-gradient(170deg, #2C63E8 0%, #13306E 100%);
	clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 100%, 0 100%);
	box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25);
	transform: translateZ(4px);
}

.sjpu-home .sc-env__front::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top right, transparent 49.4%, rgba(242, 184, 39, .7) 50%, transparent 50.6%), linear-gradient(to top left, transparent 49.4%, rgba(242, 184, 39, .7) 50%, transparent 50.6%);
	opacity: .5;
}

.sjpu-home .sc-env__flap {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 62%;
	background: linear-gradient(180deg, #3B6FEA, #1D4ED8);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	transform-origin: 50% 0;
	transform: translateZ(5px) rotateX(0deg);
	backface-visibility: visible;
	animation: sc-flap calc(6s * var(--T)) ease-in-out infinite;
}

@keyframes sc-flap {
	0%, 12%   { transform: translateZ(5px) rotateX(0deg); }
	28%, 72%  { transform: translateZ(-1px) rotateX(-172deg); }
	88%, 100% { transform: translateZ(5px) rotateX(0deg); }
}

@keyframes sc-letter {
	0%, 26%   { transform: translateZ(2px) translateY(0); }
	45%, 62%  { transform: translateZ(2px) translateY(-58%); }
	78%, 100% { transform: translateZ(2px) translateY(0); }
}

.sjpu-home .sc-plane {
	animation-duration: calc(11s * var(--T));
	animation-delay: calc(var(--k, 0) * -5.5s * var(--T));
}

.sjpu-home .sc-plane i {
	display: block;
	width: calc(var(--S) * .32);
	height: calc(var(--S) * .22);
	background: linear-gradient(135deg, #FFFFFF 0 55%, #D7E2F7 55%);
	clip-path: polygon(0 45%, 100% 0, 62% 100%, 48% 62%);
	filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35));
	rotate: -12deg;
}

.sjpu-home .sc-signal {
	position: absolute;
	top: calc(50% - var(--S) * .75);
	left: calc(50% + var(--S) * .55);
	width: calc(var(--S) * .3);
	height: calc(var(--S) * .3);
}

.sjpu-home .sc-signal i {
	position: absolute;
	inset: 0;
	border: 2px solid var(--A);
	border-radius: 50%;
	opacity: 0;
	animation: sjpu-pulse-ring calc(2.4s * var(--T)) ease-out infinite;
}

.sjpu-home .sc-signal i:nth-child(2) { animation-delay: calc(-.8s * var(--T)); }
.sjpu-home .sc-signal i:nth-child(3) { animation-delay: calc(-1.6s * var(--T)); }

/* ---- Isometric map (Campus Map) ------------------------------------------ */
.sjpu-home .sc-map {
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(var(--S) * 2.1);
	height: calc(var(--S) * 2.1);
	margin: calc(var(--S) * -1.05) 0 0 calc(var(--S) * -1.05);
	border: 2px solid rgba(255, 255, 255, .45);
	border-radius: 14px;
	background:
		linear-gradient(rgba(255, 255, 255, .5) 3px, transparent 3px) 0 calc(var(--S) * .17) / 100% calc(var(--S) * .52),
		linear-gradient(90deg, rgba(255, 255, 255, .5) 3px, transparent 3px) calc(var(--S) * .17) 0 / calc(var(--S) * .52) 100%,
		linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px) 0 0 / 100% calc(var(--S) * .13),
		linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px) 0 0 / calc(var(--S) * .13) 100%,
		linear-gradient(135deg, rgba(46, 102, 230, .55), rgba(13, 37, 96, .85));
	box-shadow: 0 40px 60px -20px rgba(0, 0, 0, .6);
	transform-style: preserve-3d;
	transform: rotateX(58deg) rotateZ(-38deg);
}

.sjpu-home .sc-map__park {
	position: absolute;
	border-radius: 8px;
	background: radial-gradient(circle at 30% 30%, #5FD08A, #2E8B57);
	opacity: .85;
}

.sjpu-home .sc-map__park--1 { left: 56%; top: 6%; width: 22%; height: 14%; }
.sjpu-home .sc-map__park--2 { left: 6%; top: 74%; width: 16%; height: 18%; }

.sjpu-home .sc-map__water {
	position: absolute;
	left: 30%;
	top: 82%;
	width: 26%;
	height: 12%;
	border-radius: 50%;
	background: linear-gradient(135deg, #7FD3FF, #2C8BE0);
	opacity: .8;
}

.sjpu-home .sc-map__route {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	transform: translateZ(1px);
}

.sjpu-home .sc-map__route path {
	fill: none;
	stroke: var(--A);
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 4 3;
	vector-effect: non-scaling-stroke;
	filter: drop-shadow(0 0 4px rgba(242, 184, 39, .8));
	animation: sc-route calc(2.2s * var(--T)) linear infinite;
}

.sjpu-home .sc-map__route path {
	stroke-width: 4px;
}

@keyframes sc-route {
	to { stroke-dashoffset: -14; }
}

.sjpu-home .sc-bldg {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: 12%;
	height: 12%;
	transform-style: preserve-3d;
}

.sjpu-home .sc-bldg i {
	position: absolute;
	backface-visibility: visible;
}

.sjpu-home .sc-bldg i:nth-child(1) {
	inset: 0;
	background: #E8EEF8;
	transform: translateZ(var(--h));
}

.sjpu-home .sc-bldg i:nth-child(2) {
	left: 0;
	top: 100%;
	width: 100%;
	height: var(--h);
	background: repeating-linear-gradient(90deg, #9DB4E0 0 4px, #C9D7F0 4px 9px);
	transform-origin: 50% 0;
	transform: rotateX(90deg);
}

.sjpu-home .sc-bldg i:nth-child(3) {
	left: 100%;
	top: 0;
	width: var(--h);
	height: 100%;
	background: repeating-linear-gradient(0deg, #7891C8 0 4px, #A9BCE4 4px 9px);
	transform-origin: 0 50%;
	transform: rotateY(-90deg);
}

.sjpu-home .sc-map__target {
	position: absolute;
	left: 80%;
	top: 18%;
	width: 0;
	height: 0;
	transform-style: preserve-3d;
}

.sjpu-home .sc-map__target i {
	position: absolute;
	left: calc(var(--S) * -.18);
	top: calc(var(--S) * -.18);
	width: calc(var(--S) * .36);
	height: calc(var(--S) * .36);
	border: 3px solid var(--A);
	border-radius: 50%;
	animation: sjpu-pulse-ring calc(2s * var(--T)) ease-out infinite;
}

.sjpu-home .sc-map__target i:nth-child(2) {
	animation-delay: calc(-1s * var(--T));
}

.sjpu-home .sc-map__pin {
	position: absolute;
	left: 80%;
	top: 18%;
	width: calc(var(--S) * .34);
	height: calc(var(--S) * .5);
	margin-left: calc(var(--S) * -.17);
	margin-top: calc(var(--S) * -.5);
	transform-origin: 50% 100%;
	transform-style: preserve-3d;
	transform: rotateZ(38deg) rotateX(-90deg);
}

.sjpu-home .sc-map__pin span {
	position: absolute;
	left: 0;
	top: 0;
	width: calc(var(--S) * .34);
	height: calc(var(--S) * .34);
	border-radius: 50% 50% 50% 0;
	background: linear-gradient(135deg, #FFE08A, var(--A) 50%, #E59E0B);
	box-shadow: inset -4px -4px 8px rgba(0, 0, 0, .2);
	rotate: -45deg;
	animation: sc-pin calc(2s * var(--T)) ease-in-out infinite;
}

.sjpu-home .sc-map__pin span::after {
	content: "";
	position: absolute;
	inset: 32%;
	border-radius: 50%;
	background: #0A1A3F;
}

@keyframes sc-pin {
	0%, 100% { translate: 0 0; }
	50%      { translate: 0 calc(var(--S) * -.14); }
}

/* ---- Photo carousel (Campus Gallery) ------------------------------------- */
.sjpu-home .sc-ring3d {
	position: absolute;
	inset: 0;
	transform-style: preserve-3d;
	animation: sc-carousel calc(26s * var(--T)) linear infinite;
}

@keyframes sc-carousel {
	from { transform: rotateX(-8deg) rotateY(0deg); }
	to   { transform: rotateX(-8deg) rotateY(-360deg); }
}

.sjpu-home .sc-photo {
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(var(--S) * .78);
	height: calc(var(--S) * .62);
	margin: calc(var(--S) * -.31) 0 0 calc(var(--S) * -.39);
	padding: 5px 5px 14px;
	border-radius: 6px;
	background: var(--P);
	box-shadow: 0 14px 24px -12px rgba(0, 0, 0, .55);
	transform: rotateY(calc(var(--k, 0) * 45deg)) translateZ(calc(var(--S) * 1.15));
	backface-visibility: visible;
}

.sjpu-home .sc-photo__in {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 3px;
	background: linear-gradient(135deg, hsl(calc(215 + var(--k, 0) * 9) 70% 45%), hsl(calc(225 + var(--k, 0) * 6) 70% 22%));
}

.sjpu-home .sc-photo:nth-child(3n) .sc-photo__in {
	background: linear-gradient(135deg, #F7C64C, #D08C0B);
}

.sjpu-home .sc-photo__in .sjpu-3d {
	font-size: calc(var(--S) * .3);
}

.sjpu-home .sc-photo__in img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
}

.sjpu-home .sc-lens {
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(var(--S) * .5);
	height: calc(var(--S) * .5);
	margin: calc(var(--S) * -.25) 0 0 calc(var(--S) * -.25);
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .9) 0 8%, #4C7DF0 18%, #0A1A3F 60%, #000 100%);
	box-shadow: 0 0 0 6px rgba(255, 255, 255, .25), 0 0 0 12px rgba(242, 184, 39, .35), 0 0 40px 10px rgba(29, 78, 216, .5);
}

.sjpu-home .sc-lens i {
	position: absolute;
	inset: -22%;
	border: 2px dashed rgba(242, 184, 39, .55);
	border-radius: 50%;
	animation: sjpu-spin calc(14s * var(--T)) linear infinite;
}

/* Scenes are wider than the cube: keep text clear on tablets / phones */
@media (max-width: 1024px) {
	.sjpu-home .sjpu-banner:not(.sjpu-banner--sc-cube) .sjpu-b3d__stage {
		--b3d-rs: .62;
	}
}

@media (max-width: 767px) {
	.sjpu-home .sjpu-banner--bg-3d.sjpu-b3d-m-soft {
		padding-bottom: var(--b3d-mob-space, 200px);
	}

	.sjpu-home .sjpu-b3d-m-soft .sjpu-b3d__stage,
	.sjpu-home .sjpu-b3d-m-soft:not(.sjpu-banner--sc-cube) .sjpu-b3d__stage {
		--b3d-rs: .5;
		--b3d-ro: 1;
		top: calc(100% - var(--b3d-mob-space, 200px) / 2 - 10px);
		left: 50%;
	}

	.sjpu-home .sjpu-b3d-m-soft.sjpu-banner--sc-cube .sjpu-b3d__stage {
		--b3d-rs: .6;
	}
}

/* ==========================================================================
   14. Campus Gallery – photo albums on the night-sky band
   ========================================================================== */
.sjpu-home .sjpu-ip-albums .sjpu-ip-cards {
	position: relative;
	z-index: 1;
	row-gap: calc(var(--sjpu-card-gap, 26px) + 14px);
}

.sjpu-home .sjpu-ip-albums .sjpu-ip-head {
	position: relative;
	z-index: 1;
	margin-bottom: var(--sjpu-head-gap, 50px);
}

.sjpu-home .sjpu-ip-xcard .sjpu-ip-card__media {
	overflow: hidden;
	border-radius: 12px;
}

.sjpu-home .sjpu-ip-xbadge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 8;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background-color: rgba(10, 26, 63, .72);
	color: #FFFFFF;
	font-family: var(--sjpu-font-ui);
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.sjpu-home .sjpu-ip-xbadge svg {
	color: var(--sjpu-gold);
	font-size: 14px;
}

.sjpu-home .sjpu-ip-xopen {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 8;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin: -29px 0 0 -29px;
	border-radius: 50%;
	background: var(--sjpu-gold);
	color: var(--sjpu-navy);
	font-size: 24px;
	box-shadow: 0 0 0 10px rgba(255, 255, 255, .25);
	opacity: 0;
	scale: .4;
	transition: opacity .35s ease, scale .45s cubic-bezier(.3, 1.6, .5, 1);
}

.sjpu-home .sjpu-ip-xcard:hover .sjpu-ip-xopen,
.sjpu-home .sjpu-ip-xcard:focus-within .sjpu-ip-xopen {
	opacity: 1;
	scale: 1;
}

.sjpu-home .sjpu-ip-xcard .sjpu-ip-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 7;
	border-radius: inherit;
	background: linear-gradient(180deg, transparent 40%, rgba(10, 26, 63, .55));
	opacity: 0;
	transition: opacity .35s ease;
	pointer-events: none;
}

.sjpu-home .sjpu-ip-xcard:hover .sjpu-ip-card__media::after {
	opacity: 1;
}

.sjpu-home .sjpu-ip-albums--float .sjpu-ip-xcard.is-visible {
	animation: sjpu-float calc((6s + var(--sjpu-i, 0) * .7s) * var(--sjpu-amb, 1)) ease-in-out infinite;
	animation-delay: 1.5s;
}

.sjpu-home.sjpu-noloop .sjpu-ip-albums--float .sjpu-ip-xcard {
	animation: none !important;
}
