/* ==========================================================
   Home page hero
   ========================================================== */
:root {
	--h-bg: #0d0a06;
	--h-gold: #d4af37;
	--h-gold-2: #f0d47a;
	--h-text: #f7f1e3;
	--h-muted: #c9bc9d;
	--h-glass: rgba(20, 16, 9, 0.55);
	--h-line: rgba(240, 212, 122, 0.25);
	--h-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* global-header.css forces "* { font-size: 20px }" on wide screens */
.h-hero *,
.h-ribbon * { font-size: inherit; font-family: inherit; }

.h-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	overflow: clip; /* stops the clipped area from being scrolled when a field gets focus */
	min-height: calc(100vh - 10vh);
	min-height: calc(100svh - 10vh);
	display: flex;
	flex-direction: column;
	color: var(--h-text);
	background: var(--h-bg);
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 17px;
}

/* Background slideshow (blurred hotel photos with slow zoom) */
.h-bg {
	position: absolute;
	inset: -40px;
	z-index: -2;
}
.h-bg-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: blur(6px) saturate(1.15) brightness(0.8);
	opacity: 0;
	transform: scale(1.12);
	transition: opacity 2s ease;
	will-change: opacity, transform;
}
.h-bg-slide.is-active {
	opacity: 1;
	animation: h-kenburns 14s ease-out forwards;
}
@keyframes h-kenburns {
	from { transform: scale(1.12) translate3d(0, 0, 0); }
	to { transform: scale(1.25) translate3d(-2%, -1.5%, 0); }
}
.h-veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(900px 600px at 78% 40%, rgba(212, 175, 55, 0.18), transparent 60%),
		radial-gradient(700px 500px at 10% 90%, rgba(212, 175, 55, 0.12), transparent 60%),
		linear-gradient(90deg, rgba(13, 10, 6, 0.95) 0%, rgba(13, 10, 6, 0.78) 45%, rgba(13, 10, 6, 0.45) 100%),
		linear-gradient(180deg, rgba(13, 10, 6, 0.2) 0%, rgba(13, 10, 6, 0.85) 100%);
}
/* Fine film grain for depth */
.h-veil::after {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	pointer-events: none;
}

.h-inner {
	flex: 1;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 48px 16px 28px;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: 56px;
}

/* ---------- Copy ---------- */
.h-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--h-gold);
}
.h-eyebrow::before {
	content: "";
	width: 44px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--h-gold));
}

.h-title {
	margin: 18px 0 0;
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 600;
	font-size: clamp(44px, 5.8vw, 86px);
	line-height: 1;
	letter-spacing: -0.02em;
}
.h-line {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	padding-bottom: 0.08em;
}
.h-line > span {
	display: inline-block;
	transform: translateY(110%);
	animation: h-rise 1.1s var(--h-ease) forwards;
	animation-delay: calc(0.25s + var(--i, 0) * 0.14s);
}
.h-title em {
	font-style: italic;
	background: linear-gradient(100deg, var(--h-gold) 0%, var(--h-gold-2) 45%, var(--h-gold) 70%, #b98f22 100%);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: h-rise 1.1s var(--h-ease) forwards, h-sheen 6s linear 1.6s infinite;
	animation-delay: calc(0.25s + var(--i, 0) * 0.14s), 1.6s;
	padding-right: 0.06em;
}
@keyframes h-rise { to { transform: none; } }
@keyframes h-sheen { to { background-position: -200% 0; } }

.h-fade {
	opacity: 0;
	transform: translateY(18px);
	animation: h-fade 1s var(--h-ease) forwards;
	animation-delay: var(--delay, 0.9s);
}
@keyframes h-fade { to { opacity: 1; transform: none; } }

.h-lead {
	max-width: 540px;
	margin: 22px 0 0;
	font-size: 18px;
	line-height: 1.65;
	color: var(--h-muted);
}

.h-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 34px;
}
.h-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 30px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	border: 1px solid transparent;
	transition: transform 0.35s var(--h-ease), box-shadow 0.35s, background 0.35s, color 0.35s, border-color 0.35s;
}
.h-btn:hover { transform: translateY(-2px); }
.h-btn-gold {
	background: linear-gradient(135deg, var(--h-gold), #ecc95c);
	color: #1a1406;
	box-shadow: 0 14px 34px rgba(212, 175, 55, 0.3);
}
.h-btn-gold:hover { box-shadow: 0 18px 44px rgba(212, 175, 55, 0.45); }
.h-btn-play {
	padding: 8px 22px 8px 8px;
	color: var(--h-text);
	border-color: rgba(247, 241, 227, 0.25);
	background: rgba(247, 241, 227, 0.04);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.h-btn-play:hover { border-color: var(--h-gold); color: var(--h-gold); }
.h-play-dot {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--h-text);
	color: #1a1406;
}
.h-play-dot::before {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 1px solid rgba(247, 241, 227, 0.5);
	animation: h-pulse 2.4s ease-out infinite;
}
.h-play-dot svg { width: 16px; height: 16px; margin-left: 2px; }
@keyframes h-pulse { from { transform: scale(0.85); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

.h-proof {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 28px;
	margin-top: 30px;
	padding-top: 22px;
	border-top: 1px solid var(--h-line);
	max-width: 560px;
}
.h-proof-item { display: flex; align-items: center; gap: 12px; }
.h-proof-num {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 30px;
	font-weight: 600;
	color: var(--h-gold);
	line-height: 1;
}
.h-proof-label { font-size: 13px; line-height: 1.3; color: var(--h-muted); letter-spacing: 0.04em; }
.h-stars { color: var(--h-gold); letter-spacing: 2px; font-size: 13px; }

/* ---------- Photo deck ---------- */
.h-deck-wrap {
	position: relative;
	height: min(62vh, 560px);
	min-height: 420px;
}
.h-deck {
	position: absolute;
	inset: 0;
	display: block;
	text-decoration: none;
}
.h-card {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(300px, 62%);
	aspect-ratio: 9 / 14;
	margin: 0;
	border-radius: 22px;
	overflow: hidden;
	background: #2a2214;
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(240, 212, 122, 0.25);
	transform: translate(-50%, -50%) rotate(0deg) scale(0.8);
	opacity: 0;
	transition: transform 1.1s var(--h-ease), opacity 0.9s ease, filter 0.9s ease;
	will-change: transform, opacity;
}
.h-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(13, 10, 6, 0.7));
}
.h-card[data-pos="0"] { z-index: 3; opacity: 1; transform: translate(-50%, -50%) rotate(-3deg); }
.h-card[data-pos="1"] { z-index: 2; opacity: 1; transform: translate(-6%, -46%) rotate(8deg) scale(0.9); filter: brightness(0.75); }
.h-card[data-pos="2"] { z-index: 1; opacity: 1; transform: translate(-94%, -52%) rotate(-12deg) scale(0.84); filter: brightness(0.6); }
.h-card[data-pos="out"] { z-index: 4; opacity: 0; transform: translate(-50%, -150%) rotate(-14deg) scale(0.9); }
.h-deck:hover .h-card[data-pos="1"] { transform: translate(0%, -46%) rotate(11deg) scale(0.9); }
.h-deck:hover .h-card[data-pos="2"] { transform: translate(-100%, -52%) rotate(-15deg) scale(0.84); }

/* Floating glass badges */
.h-badge {
	position: absolute;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 16px;
	background: var(--h-glass);
	border: 1px solid var(--h-line);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
	color: var(--h-text);
	animation: h-float 6s ease-in-out infinite;
}
.h-badge strong { display: block; font-size: 15px; }
.h-badge small { display: block; font-size: 12.5px; color: var(--h-muted); }
.h-badge-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(212, 175, 55, 0.18);
	color: var(--h-gold);
}
.h-badge-icon svg { width: 18px; height: 18px; }
.h-badge-a { left: -4%; bottom: 12%; }
.h-badge-b { right: -2%; top: 10%; animation-delay: -3s; }
@keyframes h-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.h-dots {
	position: absolute;
	left: 50%;
	bottom: -6px;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 6;
}
.h-dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(247, 241, 227, 0.3);
	cursor: pointer;
	transition: width 0.4s var(--h-ease), background 0.4s;
}
.h-dots button.active { width: 28px; background: var(--h-gold); }

/* ---------- Booking bar ---------- */
.h-book {
	position: relative;
	z-index: 2;
	width: calc(100% - 32px);
	max-width: 1208px;
	margin: 0 auto 28px;
	padding: 10px;
	display: grid;
	grid-template-columns: 1.3fr 1fr 0.8fr auto;
	gap: 8px;
	border-radius: 20px;
	background: rgba(20, 16, 9, 0.6);
	border: 1px solid var(--h-line);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.h-field {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 18px;
	border-radius: 14px;
	transition: background 0.3s;
}
.h-field + .h-field { border-left: 1px solid rgba(247, 241, 227, 0.08); }
.h-field:hover,
.h-field:focus-within { background: rgba(247, 241, 227, 0.06); }
.h-field label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--h-gold);
}
.h-field select,
.h-field input {
	width: 100%;
	padding: 4px 0;
	border: 0;
	outline: none;
	background: transparent;
	color: var(--h-text);
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 17px;
	color-scheme: dark;
}
.h-field select option { color: #1a1406; }
.h-field input::placeholder { color: rgba(247, 241, 227, 0.45); }
.h-book-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 30px;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--h-gold), #ecc95c);
	color: #1a1406;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: filter 0.3s, transform 0.3s var(--h-ease);
}
.h-book-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.h-book-btn svg { width: 20px; height: 20px; }

/* Scroll cue */
.h-cue {
	position: absolute;
	right: 28px;
	bottom: 130px;
	z-index: 2;
	writing-mode: vertical-rl;
	font-size: 11px;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	color: var(--h-muted);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 12px;
}
.h-cue::after {
	content: "";
	width: 1px;
	height: 56px;
	background: linear-gradient(180deg, var(--h-gold), transparent);
	animation: h-cue 2.2s var(--h-ease) infinite;
}
@keyframes h-cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Services ribbon ---------- */
.h-ribbon {
	position: relative;
	overflow: hidden;
	overflow: clip;
	padding: 20px 0;
	background: linear-gradient(90deg, #b8902a, var(--h-gold) 30%, #e9c85e 50%, var(--h-gold) 70%, #b8902a);
	color: #1a1406;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 22px;
	font-style: italic;
	white-space: nowrap;
}
.h-ribbon-track {
	display: inline-flex;
	gap: 0;
	animation: h-marquee 40s linear infinite;
}
.h-ribbon-track span { display: inline-flex; align-items: center; }
.h-ribbon-track span::after {
	content: "\2726";
	font-style: normal;
	font-size: 14px;
	margin: 0 30px;
	opacity: 0.7;
}
@keyframes h-marquee { to { transform: translateX(-50%); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.h-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 56px; }
	.h-deck-wrap { height: 460px; min-height: 0; max-width: 560px; width: 100%; margin: 0 auto; }
	.h-cue { display: none; }
	.h-veil {
		background:
			radial-gradient(700px 500px at 70% 70%, rgba(212, 175, 55, 0.16), transparent 60%),
			linear-gradient(180deg, rgba(13, 10, 6, 0.9), rgba(13, 10, 6, 0.7) 50%, rgba(13, 10, 6, 0.92));
	}
}
@media (max-width: 760px) {
	.h-hero { font-size: 16px; }
	.h-line { white-space: normal; }
	.h-inner { padding: 44px 16px 24px; }
	.h-lead { font-size: 17px; }
	.h-actions { gap: 10px; }
	.h-btn { padding: 14px 22px; }
	.h-proof { gap: 16px 22px; }
	.h-proof-num { font-size: 24px; }
	.h-deck-wrap { height: 400px; }
	.h-card { width: 210px; }
	.h-badge { padding: 10px 14px; }
	.h-badge-a { left: 0; bottom: 4%; }
	.h-badge-b { right: 0; top: 2%; }
	.h-book { grid-template-columns: 1fr 1fr; padding: 8px; margin-bottom: 20px; }
	.h-field { padding: 10px 12px; }
	.h-field:nth-child(odd) { border-left: 0; }
	.h-field:first-child { grid-column: 1 / -1; }
	.h-field:nth-child(2) { border-left: 0; }
	.h-book-btn { grid-column: 1 / -1; padding: 16px; }
	.h-ribbon { font-size: 18px; padding: 16px 0; }
}

@media (prefers-reduced-motion: reduce) {
	.h-line > span, .h-title em, .h-fade { animation: none !important; transform: none !important; opacity: 1 !important; }
	.h-bg-slide.is-active, .h-badge, .h-ribbon-track, .h-play-dot::before, .h-cue::after { animation: none !important; }
	.h-card { transition: none; }
}
