/* Royal Passage Hero Slider */
.rpsh {
	--rpsh-gold: #c9a66b;
	--rpsh-speed: 1200ms;
	--rpsh-delay: 6000ms;
	--rpsh-shade: rgba(0, 0, 0, .55);
	--rpsh-panel: rgba(18, 16, 12, .96);
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	isolation: isolate;
	background: #12110e;
	color: #fff;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}
.rpsh *, .rpsh *::before, .rpsh *::after { box-sizing: border-box; }
.rpsh a { text-decoration: none; }
.rpsh button { font-family: inherit; }

.rpsh__container {
	width: calc(100% - 48px);
	max-width: 1232px;
	margin: 0 auto;
	position: relative;
}

/* ---------- Slides ---------- */
.rpsh__slides { position: absolute; inset: 0; z-index: 0; }
.rpsh__slide {
	position: absolute; inset: 0;
	opacity: 0; z-index: 0;
	transition: opacity 0s linear var(--rpsh-speed);
}
.rpsh__slide.is-prev { opacity: 1; z-index: 1; transition: none; }
.rpsh__slide.is-active { opacity: 1; z-index: 2; transition: opacity var(--rpsh-speed) ease; }
.rpsh__slide img {
	display: block; width: 100%; height: 100%; max-width: none;
	object-fit: cover; object-position: center;
}
.rpsh--zoom .rpsh__slide.is-active img,
.rpsh--zoom .rpsh__slide.is-prev img {
	animation: rpsh-zoom calc(var(--rpsh-delay) + var(--rpsh-speed) * 2) ease-out both;
}
@keyframes rpsh-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.rpsh__overlay {
	position: absolute; inset: 0; z-index: 3; pointer-events: none;
	background: linear-gradient(90deg, rgba(10, 9, 6, .68), rgba(10, 9, 6, .5));
}
.rpsh__overlay::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
	background: linear-gradient(to top, var(--rpsh-shade), transparent);
}

/* ---------- Header ---------- */
.rpsh__header { position: relative; z-index: 10; padding: 24px 0; }
.rpsh__header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rpsh .rpsh__logo { display: block; flex: none; line-height: 0; }
.rpsh .rpsh__logo img { display: block; width: 72px; height: 72px; max-width: none; object-fit: contain; border-radius: 50%; }
.rpsh .rpsh__menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 32px; }
.rpsh .rpsh__menu li { margin: 0; padding: 0; list-style: none; }
.rpsh .rpsh__menu a { color: #fff; font-size: 15px; font-weight: 500; line-height: 1.2; transition: color .25s ease; }
.rpsh .rpsh__menu a:hover { color: #d2b07a; }
.rpsh__header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.rpsh .rpsh__cta-mobile { display: none; }

/* ---------- Buttons ---------- */
.rpsh .rpsh__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 28px; border: 1px solid transparent; border-radius: 999px;
	font-size: 15px; font-weight: 500; line-height: 1.2; white-space: nowrap; cursor: pointer;
	transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.rpsh .rpsh__btn:hover { transform: translateY(-1px); }
.rpsh .rpsh__btn--header,
.rpsh .rpsh__btn--primary {
	color: #1b1812;
	background: linear-gradient(135deg, #d2b07a, #b08c58);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.rpsh .rpsh__btn--header { padding: 14px 28px; }
.rpsh .rpsh__btn--secondary {
	color: #fff;
	background: rgba(255, 255, 255, .06);
	border-color: rgba(255, 255, 255, .4);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.rpsh .rpsh__arrow { flex: none; transition: transform .3s ease; }
.rpsh .rpsh__btn:hover .rpsh__arrow { transform: translateX(3px); }

/* ---------- Main content ---------- */
.rpsh__main { position: relative; z-index: 6; flex: 1; display: flex; align-items: center; padding: 24px 0; }
.rpsh__contents { display: grid; }
.rpsh__content {
	grid-area: 1 / 1;
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity .4s ease, visibility 0s linear .4s;
}
.rpsh__content.is-active { opacity: 1; visibility: visible; pointer-events: auto; transition: none; }

.rpsh .rpsh__eyebrow {
	display: flex; align-items: center; gap: 16px; margin: 0 0 24px;
}
.rpsh__eyebrow-line { display: block; flex: none; width: 40px; height: 1px; background: var(--rpsh-gold); }
.rpsh__eyebrow-text {
	color: var(--rpsh-gold); font-size: 12.5px; font-weight: 600; line-height: 1.4;
	letter-spacing: 3.5px; text-transform: uppercase;
}
.rpsh .rpsh__title {
	margin: 0 0 40px; max-width: 760px; padding: 0;
	color: #fff; font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
	font-size: 72px; font-weight: 400; line-height: 1.05em; letter-spacing: -.7px;
}
.rpsh .rpsh__title em { font-style: italic; }
.rpsh__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* Entry animation */
.rpsh__content.is-active .rpsh__anim {
	animation: rpsh-up .9s cubic-bezier(.2, .7, .2, 1) both;
	animation-delay: calc(.3s + var(--i, 0) * .14s);
}
@keyframes rpsh-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- Footer: counter + thumbs ---------- */
.rpsh__footer { position: relative; z-index: 6; padding: 24px 0 36px; }
.rpsh__footer-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rpsh__counter { display: flex; align-items: baseline; gap: 6px; font-family: 'Newsreader', Georgia, serif; line-height: 1; }
.rpsh__current { display: inline-block; font-size: 48px; line-height: 1; color: #fff; }
.rpsh__current.is-anim { animation: rpsh-num .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rpsh-num { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rpsh__total { font-size: 16px; color: rgba(255, 255, 255, .6); }

.rpsh__thumbs { display: flex; align-items: flex-end; gap: 16px; margin-left: auto; }
.rpsh .rpsh__thumb {
	flex: none; display: block; width: 108px; height: 76px; padding: 0; margin: 0;
	overflow: hidden; cursor: pointer; background: #222;
	border: 2px solid rgba(255, 255, 255, .25); border-radius: 8px; opacity: .8;
	transition: width .6s cubic-bezier(.2, .7, .2, 1), opacity .3s ease, border-color .3s ease;
}
.rpsh .rpsh__thumb.is-active { width: 158px; opacity: 1; border-color: rgba(255, 255, 255, .95); }
.rpsh .rpsh__thumb:hover { opacity: 1; }
.rpsh .rpsh__thumb:focus-visible { outline: 2px solid var(--rpsh-gold); outline-offset: 3px; }
.rpsh__thumb img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* ---------- Mobile toggle ---------- */
.rpsh .rpsh__toggle {
	display: none; position: relative; width: 44px; height: 44px; padding: 0; cursor: pointer;
	border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(255, 255, 255, .08);
}
.rpsh__toggle span {
	position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff;
	transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.rpsh__toggle span:nth-child(1) { top: 15px; }
.rpsh__toggle span:nth-child(2) { top: 21px; }
.rpsh__toggle span:nth-child(3) { top: 27px; }
.rpsh__header.is-open .rpsh__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.rpsh__header.is-open .rpsh__toggle span:nth-child(2) { opacity: 0; }
.rpsh__header.is-open .rpsh__toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.rpsh .rpsh__toggle { display: inline-block; }
	.rpsh__nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; margin-top: 12px;
		padding: 12px; border-radius: 18px; background: var(--rpsh-panel);
		-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
		border: 1px solid rgba(255, 255, 255, .12);
	}
	.rpsh__header.is-open .rpsh__nav { display: block; }
	.rpsh .rpsh__menu { flex-direction: column; align-items: stretch; gap: 0 !important; }
	.rpsh .rpsh__menu a { display: block; padding: 13px 14px; border-radius: 10px; }
	.rpsh .rpsh__menu a:hover { background: rgba(255, 255, 255, .06); }
	.rpsh__header-row { justify-content: space-between; }
	.rpsh__header-actions { margin-left: auto; }
}
@media (max-width: 767px) {
	.rpsh .rpsh__cta-desktop { display: none; }
	.rpsh .rpsh__cta-mobile { display: inline-flex; margin: 8px 6px 4px; }
	.rpsh .rpsh__title { max-width: 100%; }
	.rpsh__eyebrow-text { letter-spacing: 2.5px; }
	.rpsh .rpsh__btn { padding: 13px 22px; font-size: 14px; }
	.rpsh__footer { padding-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.rpsh *, .rpsh *::before, .rpsh *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
