/* Opulent dark theme with deep gold accents */

/* Color tokens */
:root {
	--gold: #d4af37;
	--gold-soft: #b8962f;
	--gold-glow: rgba(212, 175, 55, 0.55);
	--black: #0b0b0b;
	--charcoal: #121212;
	--dark-red: #3b0a0a;
	--overlay: rgba(0, 0, 0, 0.25);
	--overlay-strong: rgba(0, 0, 0, 0.45);
	--header-height: 72px;
}

html, body {
	padding: 0;
	margin: 0;
	background: var(--black);
	color: var(--gold);
	font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	width: 100%;
	height: 100%;
	overflow: hidden; /* lock layout to viewport */
}

/* Header */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--header-height);
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom: none;
	z-index: 1000;
	padding-top: env(safe-area-inset-top);
}

.header-inner {
	height: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center; /* center logo */
	position: relative; /* for right-aligned IG */
	padding: 0 16px;
}

.logo-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.logo-img {
	height: 44px;
	width: auto;
	filter: drop-shadow(0 0 12px var(--gold-glow));
}

.logo-text {
	font-size: 20px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gold);
	text-shadow: 0 0 18px var(--gold-glow), 0 0 2px var(--gold);
	white-space: nowrap;
}

.ig-link {
	position: absolute;
	right: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	width: 40px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(212,175,55,0.18), rgba(212,175,55,0.06) 60%, transparent 70%);
	border: 1px solid rgba(212,175,55,0.25);
	text-decoration: none;
	transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.ig-icon {
	height: 22px;
	width: 22px;
	fill: var(--gold);
	filter: drop-shadow(0 0 8px var(--gold-glow));
	transition: fill 220ms ease;
}

.ig-link:hover, .ig-link:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(212,175,55,0.15);
	outline: none;
	background: radial-gradient(circle at 30% 30%, rgba(212,175,55,0.28), rgba(212,175,55,0.08) 60%, transparent 70%);
}

/* Content spacing to account for fixed header */
.content { padding-top: 0; }

/* Video section */
.video-section {
	position: relative;
	background: linear-gradient(180deg, var(--charcoal), var(--black));
}


.video-frame {
	position: relative;
	width: 100%;
	min-height: 100dvh;
	overflow: hidden;
	background: var(--black);
	border-bottom: 1px solid rgba(212,175,55,0.12);
}

.hero-video {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	/* Slight translucency for overlay readiness */
	opacity: 0.92;
	filter: saturate(1.05) contrast(1.02) brightness(0.95);
	transition: opacity 400ms ease;
}

.video-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, var(--overlay-strong), var(--overlay));
	pointer-events: none;
}

/* Responsive tweaks */
@media (max-width: 768px) {
	:root { --header-height: 64px; }
	.logo-text { font-size: 16px; letter-spacing: 0.16em; }
	.logo-img { height: 36px; }
	.ig-link { right: 12px; height: 36px; width: 36px; }
	.ig-icon { height: 20px; width: 20px; }
}

/* On tall/narrow screens, prioritize vertical fill (height-based) */
@media (max-aspect-ratio: 9/16) {
	.video-frame { display: flex; align-items: center; justify-content: center; }
	.hero-video { width: auto; height: 100dvh; }
}

@media (max-width: 420px) {
	.logo-text { display: none; } /* prioritize logo image if added later */
}

/* Scale logo up on larger displays while fitting header */
@media (min-width: 1200px) {
	.logo-img { height: 56px; }
}

@media (min-width: 1600px) {
	.logo-img { height: 64px; }
}

/* On very wide desktops/laptops only, rotate to display vertically shot video horizontally */
@media (min-width: 1200px) and (min-aspect-ratio: 16/10) {
	.video-frame {
		position: relative;
		width: 100%;
		height: 100dvh;
		min-height: 0; /* override earlier min-height */
	}
	.hero-video {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) rotate(-90deg);
		transform-origin: center center;
		height: 100dvw;
		width: auto;
		max-width: none;
		max-height: none;
		object-fit: contain; /* show full video without cropping */
	}
}
