/*
 * Show Off Inc — Main Stylesheet
 * Design: Dark aurora fire, gold shimmer, rhinestone sparkles
 */

/* ===== DESIGN TOKENS ===== */
:root {
	--color-bg:          #000000;
	--color-bg-alt:      #0a0a0a;
	--color-surface:     #111111;
	--color-border:      #1e1e1e;
	--color-text:        #e8e8e8;
	--color-text-muted:  #888888;
	--color-accent:      #c8a96e;
	--color-accent-hover:#e0c080;
	--color-accent-dim:  rgba(200, 169, 110, 0.15);
	--color-white:       #ffffff;
	--color-black:       #000000;
	--color-ember:       #b85c2f;
	--color-fire:        #d4863a;

	--font-heading: 'Inter', system-ui, -apple-system, sans-serif;
	--font-body:    'Inter', system-ui, -apple-system, sans-serif;

	--text-sm:   0.875rem;
	--text-base: 1rem;
	--text-lg:   1.125rem;
	--text-xl:   1.25rem;
	--text-2xl:  1.5rem;
	--text-3xl:  1.875rem;
	--text-4xl:  2.25rem;
	--text-5xl:  3rem;
	--text-hero: clamp(4.5rem, 12vw, 11rem);

	--leading-tight:   1.05;
	--leading-snug:    1.25;
	--leading-normal:  1.5;
	--leading-relaxed: 1.75;

	--tracking-tight:  -0.04em;
	--tracking-wide:    0.05em;
	--tracking-wider:   0.12em;

	--space-xs:  0.25rem;
	--space-sm:  0.5rem;
	--space-md:  1rem;
	--space-lg:  1.5rem;
	--space-xl:  2rem;
	--space-2xl: 3rem;
	--space-3xl: 4rem;
	--space-4xl: 6rem;
	--space-5xl: 8rem;

	--container-max:  1200px;
	--container-wide: 1400px;

	--shadow-lg:
		0 4px 8px rgba(0,0,0,0.4),
		0 8px 16px rgba(0,0,0,0.3),
		0 16px 32px rgba(0,0,0,0.2),
		0 32px 64px rgba(0,0,0,0.15);

	--ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--duration-fast:   150ms;
	--duration-normal: 300ms;
	--duration-slow:   600ms;

	--radius-sm:  4px;
	--radius-md:  8px;
	--radius-lg:  16px;
	--radius-xl:  24px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: var(--leading-normal);
	color: var(--color-text);
	background: var(--color-bg);
	overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a {
	color: var(--color-accent);
	text-decoration: none;
	transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--color-accent-hover); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-tight);
	color: var(--color-white);
}

/* ===== LAYOUT ===== */
.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--space-lg);
}

/* ===== SITE HEADER ===== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 10px 0;
	background: rgba(0,0,0,1.00);
	border-bottom: 4px solid rgba(255,255,255,1.00);
	transition: padding var(--duration-normal) var(--ease-out),
	            background var(--duration-normal) var(--ease-out),
	            backdrop-filter var(--duration-normal) var(--ease-out),
	            border-bottom var(--duration-normal) var(--ease-out);
}

.site-header.scrolled {
	padding: 12px 0;
	background: rgba(0,0,0,0.80);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	border-bottom: 1px solid rgba(255,255,255,0.05);
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 100%;
	padding: 0 13px;
}

.site-logo { display: flex; align-items: center; }
.site-logo img { height: 36px; width: auto; }

.site-title {
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #d6d6d6;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.primary-nav ul { display: flex; gap: 28px; list-style: none; }
.primary-nav a {
	font-family: 'Inter', sans-serif;
	font-size: 0.656rem;
	font-weight: 400;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	text-decoration: none;
	color: #ffffff;
}
/* Start Your Order — accent pill in nav */
.primary-nav a.nav-cta {
	color: var(--color-accent);
	border: 1px solid var(--color-accent);
	padding: 7px 14px;
	border-radius: 999px;
	transition: background var(--duration-fast) var(--ease-out),
	            color var(--duration-fast) var(--ease-out);
}
.primary-nav a.nav-cta:hover {
	background: var(--color-accent);
	color: var(--color-black);
}
.primary-nav a.nav-cta:hover .nav-L {
	filter: none;
}

/* About dropdown */
.primary-nav li { position: relative; }
.primary-nav .sub-caret { font-size: 8px; margin-left: 6px; color: var(--color-accent); }
.primary-nav .sub-menu {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	transform: translateX(-50%) translateY(6px);
	background: rgba(10, 10, 10, 0.97);
	border: 1px solid rgba(200, 169, 110, 0.35);
	border-radius: var(--radius-md);
	padding: 10px 0;
	min-width: 210px;
	display: block;
	flex-direction: column;
	gap: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--duration-fast) var(--ease-out),
	            transform var(--duration-fast) var(--ease-out);
	z-index: 110;
}
.primary-nav .sub-menu::before {
	content: '';
	position: absolute;
	top: -14px; left: 0; right: 0; height: 14px; /* hover bridge */
}
.primary-nav li.has-sub:hover .sub-menu,
.primary-nav li.has-sub:focus-within .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}
.primary-nav .sub-menu li { display: block; }
.primary-nav .sub-menu a {
	display: block;
	padding: 10px 22px;
	white-space: nowrap;
}
.primary-nav .sub-menu a:hover { background: rgba(200, 169, 110, 0.12); }

/* Nav letter spans — plain white, no gradient */
.nav-L {
	display: inline-block;
	background: none;
	-webkit-background-clip: initial;
	background-clip: initial;
	-webkit-text-fill-color: inherit;
	filter: none;
}
.primary-nav a:hover .nav-L {
	filter: drop-shadow(0 0 3px rgba(255,255,255,.4));
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: var(--space-sm);
	position: relative;
	z-index: 101; /* Above .primary-nav.open overlay */
}
.nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--color-text);
	margin: 5px 0;
	transition: transform var(--duration-normal) var(--ease-out),
	            opacity var(--duration-normal) var(--ease-out);
}
/* Hamburger → X when nav is open */
.primary-nav.open ~ .nav-toggle span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}
.primary-nav.open ~ .nav-toggle span:nth-child(2) {
	opacity: 0;
}
.primary-nav.open ~ .nav-toggle span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}


/* Logged-in admins: WP admin toolbar overlaps the fixed header — push header below it */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}


/* Hero CTA — inviting animated button (shimmer sweep + soft glow pulse) */
.btn-hero-cta {
	position: relative;
	overflow: hidden;
	animation: heroCtaGlow 3.2s ease-in-out infinite;
}
.btn-hero-cta::after {
	content: '';
	position: absolute;
	top: 0; bottom: 0;
	left: -80%;
	width: 50%;
	background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
	transform: skewX(-20deg);
	animation: heroCtaSheen 4s var(--ease-out) infinite;
}
@keyframes heroCtaSheen {
	0%, 55% { left: -80%; }
	85%, 100% { left: 130%; }
}
@keyframes heroCtaGlow {
	0%, 100% { box-shadow: 0 0 18px rgba(200,169,110,0.35); }
	50%      { box-shadow: 0 0 34px rgba(200,169,110,0.65); }
}
.btn-hero-cta:hover {
	animation-play-state: paused;
	box-shadow: 0 0 44px rgba(200,169,110,0.8);
	transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
	.btn-hero-cta, .btn-hero-cta::after { animation: none; }
}

/* ===== HERO — DARK AURORA FIRE ===== */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
	padding-top: 80px;
	background: #000;
}

/* Aurora glow layers — full page */
.aurora {
	position: fixed;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.aurora-layer {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	will-change: transform, opacity;
}

.aurora-1 {
	width: 70vw;
	height: 70vw;
	top: 10%;
	left: 10%;
	background: radial-gradient(
		circle,
		rgba(200, 130, 50, 0.15) 0%,
		rgba(180, 92, 47, 0.06) 35%,
		transparent 60%
	);
	animation: aurora1 10s ease-in-out infinite alternate;
}

.aurora-2 {
	width: 55vw;
	height: 55vw;
	top: -10%;
	right: 0%;
	background: radial-gradient(
		circle,
		rgba(220, 140, 60, 0.12) 0%,
		rgba(180, 80, 35, 0.05) 45%,
		transparent 70%
	);
	animation: aurora2 12s ease-in-out infinite alternate;
}

.aurora-3 {
	width: 55vw;
	height: 45vw;
	bottom: 0;
	left: 25%;
	background: radial-gradient(
		circle,
		rgba(200, 169, 110, 0.1) 0%,
		rgba(200, 140, 80, 0.04) 45%,
		transparent 70%
	);
	animation: aurora3 14s ease-in-out infinite alternate;
}

@keyframes aurora1 {
	0%   { transform: translate(0, 0) scale(1);      opacity: 0.7; }
	50%  { transform: translate(5%, -8%) scale(1.15); opacity: 1;   }
	100% { transform: translate(-3%, 5%) scale(1.05); opacity: 0.8; }
}

@keyframes aurora2 {
	0%   { transform: translate(0, 0) scale(1);      opacity: 0.5; }
	50%  { transform: translate(-8%, 6%) scale(1.1);  opacity: 0.9; }
	100% { transform: translate(4%, -3%) scale(0.95); opacity: 0.6; }
}

@keyframes aurora3 {
	0%   { transform: translate(0, 0) scale(1);      opacity: 0.4; }
	50%  { transform: translate(6%, -4%) scale(1.08); opacity: 0.7; }
	100% { transform: translate(-5%, 3%) scale(1);    opacity: 0.5; }
}

/* Sparkle particles — full page */
.sparkle-field {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 5;
}

.sparkle {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	opacity: 0;
	animation: sparkleFloat ease-in-out infinite;
	box-shadow:
		0 0 4px 1px rgba(240, 216, 152, 0.8),
		0 0 10px 3px rgba(200, 169, 110, 0.4);
}

.sparkle::after {
	content: '';
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	background: inherit;
	filter: blur(4px);
	opacity: 0.6;
}

@keyframes sparkleFloat {
	0%, 100% {
		opacity: 0;
		transform: translateY(0) scale(0.3);
	}
	15% {
		opacity: 1;
	}
	50% {
		opacity: 0.8;
		transform: translateY(-30px) scale(1);
	}
	85% {
		opacity: 0.6;
	}
}

/* Mini floating spotlight glows */
.mini-spotlight {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	opacity: 0;
	background: radial-gradient(
		circle,
		rgba(220, 170, 80, 0.18) 0%,
		rgba(200, 140, 60, 0.06) 40%,
		transparent 70%
	);
	animation: spotlightPulse ease-in-out infinite;
}

@keyframes spotlightPulse {
	0%, 100% {
		opacity: 0;
		transform: scale(0.6);
	}
	25% {
		opacity: 0.8;
	}
	50% {
		opacity: 0.5;
		transform: scale(1.2) translateY(-15px);
	}
	75% {
		opacity: 0.7;
	}
}

/* Hero deep spotlights */
.hero-spotlights {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}

.hero-spot {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
}

/* Subtle amber wash — complements image's own lighting */
.hero-spot-1 {
	width: 80vw;
	height: 80vh;
	top: 5%;
	left: 10%;
	background: radial-gradient(
		circle,
		rgba(200, 130, 50, 0.12) 0%,
		rgba(180, 100, 40, 0.05) 30%,
		transparent 55%
	);
	animation: spotDrift1 12s ease-in-out infinite alternate;
}

.hero-spot-2 {
	width: 50vw;
	height: 50vh;
	top: -5%;
	right: 5%;
	background: radial-gradient(
		circle,
		rgba(220, 150, 50, 0.1) 0%,
		rgba(200, 120, 40, 0.04) 40%,
		transparent 70%
	);
	animation: spotDrift2 10s ease-in-out infinite alternate;
}

.hero-spot-3 {
	width: 40vw;
	height: 45vh;
	bottom: 5%;
	left: 5%;
	background: radial-gradient(
		circle,
		rgba(180, 100, 40, 0.08) 0%,
		rgba(160, 80, 30, 0.03) 45%,
		transparent 70%
	);
	animation: spotDrift3 14s ease-in-out infinite alternate;
}

.hero-spot-4 {
	width: 30vw;
	height: 35vh;
	top: 15%;
	right: 15%;
	background: radial-gradient(
		circle,
		rgba(240, 180, 80, 0.08) 0%,
		rgba(220, 150, 60, 0.03) 40%,
		transparent 65%
	);
	animation: spotDrift4 9s ease-in-out infinite alternate;
}

@keyframes spotDrift1 {
	0%   { transform: translate(0, 0) scale(1); }
	100% { transform: translate(3%, -4%) scale(1.08); }
}
@keyframes spotDrift2 {
	0%   { transform: translate(0, 0) scale(1);   opacity: 0.8; }
	100% { transform: translate(-5%, 6%) scale(1.12); opacity: 1; }
}
@keyframes spotDrift3 {
	0%   { transform: translate(0, 0) scale(1); }
	100% { transform: translate(4%, -3%) scale(1.06); }
}
@keyframes spotDrift4 {
	0%   { transform: translate(0, 0) scale(0.9);  opacity: 0.6; }
	100% { transform: translate(-3%, 5%) scale(1.1); opacity: 1; }
}

/* Hero content — text overlaid on image */
.hero-content {
	position: relative;
	z-index: 2;
	max-width: var(--container-wide);
}

/* Hero title */
.hero-text { position: relative; max-width: 55%; }

@keyframes textShimmer {
	0%, 100% { background-position: 0% center; }
	50%      { background-position: 100% center; }
}

@keyframes heroEnter {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* hero-tagline styled in marquee section below */

.hero-subtitle {
	font-size: var(--text-base);
	color: var(--color-text-muted);
	margin-top: var(--space-md);
	line-height: var(--leading-relaxed);
	max-width: 42ch;
	opacity: 0;
	animation: heroEnter 0.8s var(--ease-out) 0.7s forwards;
}

.hero-cta {
	display: flex;
	gap: var(--space-md);
	margin-top: var(--space-2xl);
	opacity: 0;
	animation: heroEnter 0.8s var(--ease-out) 0.9s forwards;
}

/* Hero image — full width, black bg matches image seamlessly */
.hero-image-wrap {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: #000;
	opacity: 0;
	animation: heroEnter 1.2s var(--ease-out) 0.4s forwards;
}

/* Hero performer photo — natural size on right, black fills the rest */
.hero-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: right center;
}

/* Scroll hint */
.scroll-hint {
	position: absolute;
	bottom: var(--space-2xl);
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	opacity: 0;
	animation: heroEnter 0.8s var(--ease-out) 1.5s forwards;
}

.scroll-line {
	width: 1px;
	height: 48px;
	background: linear-gradient(
		to bottom,
		var(--color-accent) 0%,
		transparent 100%
	);
	animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
	0%, 100% { transform: scaleY(0.5); transform-origin: top; opacity: 0.3; }
	50%      { transform: scaleY(1);   transform-origin: top; opacity: 1; }
}

/* ===== CURSOR GLOW SPOTLIGHT ===== */
.cursor-glow {
	position: fixed;
	width: 350px;
	height: 350px;
	border-radius: 50%;
	background: radial-gradient(
		circle,
		rgba(200, 160, 90, 0.12) 0%,
		rgba(200, 130, 60, 0.06) 35%,
		transparent 65%
	);
	pointer-events: none;
	z-index: 3;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: opacity 0.4s var(--ease-out);
	will-change: left, top;
}

.cursor-glow.active {
	opacity: 1;
}

/* ===== BUTTONS ===== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-sm);
	padding: 14px 28px;
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 600;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: all var(--duration-normal) var(--ease-out);
	position: relative;
}

.btn-primary {
	background: var(--color-accent);
	color: var(--color-black);
}

.btn-primary:hover {
	background: var(--color-accent-hover);
	color: var(--color-black);
	transform: translateY(-2px);
	box-shadow:
		0 4px 12px rgba(200, 169, 110, 0.3),
		0 8px 24px rgba(200, 169, 110, 0.15);
}

.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-outline {
	background: transparent;
	color: var(--color-text);
	border: 1px solid rgba(255,255,255,0.15);
}

.btn-outline:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
	box-shadow: 0 0 20px rgba(200, 169, 110, 0.1);
}

/* ===== SECTIONS ===== */
.section { padding: var(--space-5xl) 0; }
.section--alt { background: var(--color-bg); }

.section-header {
	text-align: center;
	margin-bottom: var(--space-4xl);
}

.section-label {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: var(--tracking-wider);
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: var(--space-md);
	padding: 6px 16px;
	border: 1px solid var(--color-accent-dim);
	border-radius: var(--radius-xl);
}

.section-header h2 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	margin-bottom: var(--space-md);
}

.section-header p {
	color: var(--color-text-muted);
	max-width: 55ch;
	margin-inline: auto;
	font-size: var(--text-lg);
}

/* ===== BUBBLE WORLD — PHYSICS-DRIVEN GALLERY ===== */
/* Bubble lightbox — click a bubble to view full-screen */
.bubble-lightbox {
	position: fixed; inset: 0; z-index: 1200;
	background: rgba(0,0,0,0.94);
	display: none; align-items: center; justify-content: center;
}
.bubble-lightbox.open { display: flex; }
.bubble-lightbox .blb-media img,
.bubble-lightbox .blb-media video {
	max-width: 92vw; max-height: 90vh;
	border-radius: 8px;
	box-shadow: 0 0 60px rgba(200,169,110,0.25);
}
.bubble-lightbox .blb-close {
	position: absolute; top: 16px; right: 22px;
	background: none; border: none; color: #fff;
	font-size: 34px; line-height: 1; cursor: pointer; padding: 8px; z-index: 2;
}
/* Sparkle canvas overlay */
.bubble-sparkles {
	position: absolute; inset: 0;
	pointer-events: none;
	z-index: 40;
}
/* Mobile: static calm grid, no physics */
/* No bubble section at all on phones/tablets (Scott, July 2026) */
@media (max-width: 767px) {
	#portfolio { display: none; }
}

.bubble-world.bubble-static {
	height: auto !important;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	padding: 0 16px;
}
.bubble-world.bubble-static .bubble {
	position: static !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1;
	transform: none !important;
	filter: none !important;
	opacity: 1 !important;
}
.bubble-world.bubble-static .bubble-snow { display: none; }

.bubble-world {
	position: relative;
	width: 100%;
	height: 900px;
	overflow: hidden;
	margin-top: var(--space-xl);
}

.bubble {
	position: absolute;
	left: 0;
	top: 0;
	border-radius: 50%;
	overflow: hidden;
	cursor: pointer;
	will-change: transform;
	/* Golden glow */
	box-shadow:
		0 0 10px rgba(200, 169, 110, 0.3),
		0 0 25px rgba(200, 130, 60, 0.12),
		inset 0 0 15px rgba(0, 0, 0, 0.35);
	transition: box-shadow 0.4s ease;
}

.bubble:hover {
	box-shadow:
		0 0 18px rgba(200, 169, 110, 0.5),
		0 0 40px rgba(200, 130, 60, 0.2),
		inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.bubble.active {
	z-index: 10;
	box-shadow:
		0 0 30px rgba(200, 169, 110, 0.6),
		0 0 70px rgba(200, 130, 60, 0.25),
		inset 0 0 8px rgba(0, 0, 0, 0.15);
}

.bubble img,
.bubble video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 50%;
	filter: grayscale(45%) brightness(0.6) sepia(20%);
	transition: filter 0.5s ease;
	pointer-events: none;
	/* Circular vignette */
	mask-image: radial-gradient(
		circle,
		rgba(0,0,0,1) 20%,
		rgba(0,0,0,0.5) 55%,
		rgba(0,0,0,0.1) 80%,
		transparent 100%
	);
	-webkit-mask-image: radial-gradient(
		circle,
		rgba(0,0,0,1) 20%,
		rgba(0,0,0,0.5) 55%,
		rgba(0,0,0,0.1) 80%,
		transparent 100%
	);
}

.bubble:hover img,
.bubble:hover video {
	filter: grayscale(15%) brightness(0.8) sepia(8%);
}

.bubble.active img,
.bubble.active video {
	filter: grayscale(0%) brightness(0.95) sepia(0%);
	mask-image: radial-gradient(
		circle,
		rgba(0,0,0,1) 30%,
		rgba(0,0,0,0.6) 60%,
		rgba(0,0,0,0.12) 85%,
		transparent 100%
	);
	-webkit-mask-image: radial-gradient(
		circle,
		rgba(0,0,0,1) 30%,
		rgba(0,0,0,0.6) 60%,
		rgba(0,0,0,0.12) 85%,
		transparent 100%
	);
}

/* Snow globe particles inside bubbles */
.bubble-snow {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 248, 220, 0.9);
	pointer-events: none;
	z-index: 2;
	box-shadow: 0 0 4px rgba(240, 216, 152, 0.8), 0 0 8px rgba(200, 169, 110, 0.4);
	animation: snowDrift ease-in-out infinite;
}

@keyframes snowDrift {
	0%, 100% {
		transform: translate(0, 0);
		opacity: 0.3;
	}
	25% {
		transform: translate(8px, -12px);
		opacity: 1;
	}
	50% {
		transform: translate(-6px, -20px);
		opacity: 0.7;
	}
	75% {
		transform: translate(10px, -8px);
		opacity: 0.9;
	}
}

/* ===== SHOP LANDING ===== */
.shop-page {
	padding: 55px 0 var(--space-5xl);
	min-height: 100vh;
}

.shop-header {
	text-align: center;
	margin-bottom: var(--space-sm);
}

.shop-header h1 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 600;
	color: var(--color-white);
	margin: var(--space-xs) 0 var(--space-sm);
	letter-spacing: var(--tracking-tight);
}

.shop-header p {
	color: var(--color-text-muted);
	font-size: var(--text-sm);
	max-width: 500px;
	margin: 0 auto;
}

/* Category cards — shop landing grid (4 columns, McQueen-style) */
.shop-categories {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2px;
	margin-top: var(--space-sm);
	/* Full-bleed: break out of .container to span full viewport */
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
}

/* Full bleed cards on spotlight background */
.shop-page .shop-categories {
	gap: 40px;
	padding: 0;
	padding-top: calc(6vh + 155px);
	width: 100vw;
	margin-left: -50vw;
}

.shop-category-card {
	display: block;
	text-decoration: none;
	transition: opacity var(--duration-normal) var(--ease-out);
}

.shop-category-card:hover {
	opacity: 0.92;
}

.shop-category-image {
	aspect-ratio: 3/4;
	overflow: hidden;
	border-radius: 0;
}

.shop-category-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: transform 0.5s var(--ease-out);
}

.shop-category-card:hover .shop-category-image img,
.shop-category-card:hover .shop-category-image video {
	transform: scale(1.04);
}

.shop-category-image video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: transform 0.5s var(--ease-out);
}

/* Text below image (McQueen-style) */
.shop-category-overlay {
	padding: 10px 4px 16px;
}

.shop-category-overlay h2 {
	font-size: var(--text-sm);
	font-weight: 500;
	color: var(--color-white);
	margin: 0 0 2px;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

.shop-category-overlay p {
	font-size: 0.75rem;
	color: var(--color-text-muted);
	margin: 0;
	line-height: 1.4;
}

.shop-category-cta {
	display: none;
}

@media (max-width: 1024px) {
	.shop-categories {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.shop-categories {
		grid-template-columns: repeat(2, 1fr);
		gap: 2px;
	}
}

/* ===== SHOP CATEGORY PAGE ===== */
.shop-category-page {
	padding: calc(80px + var(--space-md)) 0 var(--space-5xl);
	min-height: 100vh;
}

.shop-category-header {
	margin-bottom: var(--space-sm);
}

.shop-category-header h1 {
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	font-weight: 600;
	color: var(--color-white);
	margin: 0 0 var(--space-xs);
	letter-spacing: var(--tracking-tight);
}

.shop-category-header p {
	color: var(--color-text-muted);
	font-size: var(--text-sm);
	max-width: 500px;
}

/* ===== CATALOG TOOLBAR (McQueen-style) ===== */
.catalog-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	margin-bottom: var(--space-md);
	border-bottom: 1px solid rgba(0,0,0,0.08);
}

.catalog-toolbar-left {
	display: flex;
	align-items: center;
}

.catalog-item-count {
	font-size: var(--text-sm);
	color: #706050;
	font-weight: 400;
}

.catalog-toolbar-right {
	display: flex;
	align-items: center;
	gap: 8px;
}

.catalog-search {
	position: relative;
}

.catalog-search-input {
	width: 160px;
	padding: 6px 30px 6px 10px;
	border: 1px solid rgba(0,0,0,0.12);
	border-radius: 2px;
	font-size: 13px;
	color: #1a1510;
	background: transparent;
	outline: none;
	transition: border-color 0.2s ease, width 0.3s ease;
}

.catalog-search-input:focus {
	border-color: #1a1510;
	width: 200px;
}

.catalog-search-input::placeholder {
	color: #a09080;
}

.catalog-search-icon {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	color: #a09080;
	pointer-events: none;
}

.catalog-view-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	border: none;
	background: transparent;
	color: #a09080;
	cursor: pointer;
	transition: color 0.2s ease;
}

.catalog-view-btn:hover {
	color: #1a1510;
}

.catalog-view-btn.active {
	color: #1a1510;
}

.catalog-sort {
	position: relative;
}

.catalog-sort-btn,
.catalog-filter-btn {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 6px 12px;
	border: none;
	background: transparent;
	font-size: 13px;
	font-weight: 500;
	color: #1a1510;
	cursor: pointer;
	letter-spacing: 0.02em;
	transition: opacity 0.2s ease;
}

.catalog-sort-btn:hover,
.catalog-filter-btn:hover {
	opacity: 0.6;
}

.catalog-sort-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 4px;
	background: #ffffff;
	border: 1px solid rgba(0,0,0,0.12);
	border-radius: 2px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	z-index: 100;
	min-width: 160px;
}

.catalog-sort.open .catalog-sort-dropdown {
	display: block;
}

.catalog-sort-option {
	display: block;
	width: 100%;
	padding: 8px 16px;
	border: none;
	background: transparent;
	font-size: 13px;
	color: #706050;
	text-align: left;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.catalog-sort-option:hover {
	background: rgba(0,0,0,0.03);
	color: #1a1510;
}

.catalog-sort-option.active {
	color: #1a1510;
	font-weight: 600;
}

/* View toggle column overrides */
.product-grid.view-3 {
	grid-template-columns: repeat(3, 1fr);
}

.shop-categories.view-3 {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
	.catalog-toolbar {
		flex-wrap: wrap;
		gap: 8px;
	}
	.catalog-search-input {
		width: 120px;
	}
	.catalog-search-input:focus {
		width: 140px;
	}
	.product-grid.view-3 {
		grid-template-columns: repeat(2, 1fr);
	}
	.shop-categories.view-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Product grid — 5 columns desktop, portrait tiles, McQueen-style tight gaps */
.product-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 2px;
	/* Full-bleed: break out of .container to span full viewport */
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
}

.product-card {
	display: block;
	text-decoration: none;
	min-width: 0; /* Prevent Swiper flex content from blowing up CSS Grid */
	position: relative;
	transition:
		transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
		filter 0.4s var(--ease-out);
	will-change: transform;
}

.product-card:hover {
	transform: translateY(-6px);
}

.product-card:active {
	transform: translateY(-1px) scale(0.99);
	transition-duration: 0.1s;
}

/* Shadow layer — pseudo-element for GPU performance */
.product-card::after {
	content: '';
	position: absolute;
	inset: 4px;
	border-radius: var(--radius-sm);
	z-index: -1;
	opacity: 0;
	transition: opacity 0.4s var(--ease-out);
	box-shadow:
		0 4px 8px hsla(38, 40%, 30%, 0.10),
		0 8px 16px hsla(38, 40%, 30%, 0.08),
		0 16px 32px hsla(38, 40%, 30%, 0.06),
		0 32px 64px hsla(38, 40%, 30%, 0.04);
}

.product-card:hover::after {
	opacity: 1;
}

/* Light bg pages — warm shadows visible on white */
.shop-category-page .product-card::after {
	box-shadow:
		0 4px 8px hsla(25, 30%, 40%, 0.08),
		0 8px 16px hsla(25, 30%, 40%, 0.07),
		0 16px 32px hsla(25, 30%, 40%, 0.05),
		0 32px 64px hsla(25, 30%, 40%, 0.04);
}

/* Dark bg pages — gold glow */
.catalog-page .product-card::after,
.front-page .product-card::after {
	box-shadow:
		0 4px 8px hsla(38, 60%, 50%, 0.08),
		0 8px 16px hsla(38, 60%, 50%, 0.06),
		0 16px 40px hsla(38, 60%, 50%, 0.05),
		0 0 60px hsla(38, 60%, 50%, 0.03);
}

.product-card-image {
	aspect-ratio: 3/4;
	overflow: hidden;
	background: var(--color-bg-alt);
	border-radius: 0;
	position: relative;
}

.product-card-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	transition:
		transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
		filter 0.6s var(--ease-out);
}

.product-card:hover .product-card-image img {
	transform: scale(1.04);
	filter: brightness(1.03) contrast(1.02);
}

.product-card-info {
	padding: 8px 6px 12px;
}

.product-card-name {
	font-size: var(--text-sm);
	font-weight: 500;
	color: var(--color-white);
	margin: 0 0 2px;
	line-height: 1.3;
	transition: color 0.3s var(--ease-out);
}

.product-card:hover .product-card-name {
	color: hsla(38, 60%, 70%, 1);
}

/* Light bg — name goes darker gold on hover */
.shop-category-page .product-card:hover .product-card-name {
	color: hsla(38, 50%, 35%, 1);
}

.product-card-price {
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	font-weight: 400;
	transition: color 0.3s var(--ease-out);
}

.product-card:hover .product-card-price {
	color: hsla(38, 40%, 60%, 1);
}

/* ===== ACCORDION EXPANDING TILES (catalog page) ===== */
.tile-coming-soon {
	display: inline-block;
	margin-top: 8px;
	padding: 4px 12px;
	border: 1px solid rgba(200, 169, 110, 0.7);
	border-radius: 999px;
	color: var(--color-accent);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	background: rgba(0,0,0,0.45);
	backdrop-filter: blur(4px);
}

.accordion-hero {
	width: 100vw;
	position: relative;
	left: 50%;
	margin-left: -50vw;
	height: 69vh;
	min-height: 300px;
	display: flex;
	gap: 8px;
	overflow: hidden;
	margin-bottom: var(--space-xl);
}

/* Catalog landing */
.accordion-hero--catalog {
	height: 55vh;
	max-height: none;
	margin-bottom: 0;
	margin-top: 12px;
	left: 0;
	margin-left: 0;
	gap: 3px;
}

.accordion-tile {
	flex: 1;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	transition: flex 2s cubic-bezier(0.77, 0, 0.175, 1);
}

.accordion-tile:hover {
	flex: 3;
}

.accordion-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 2s cubic-bezier(0.77, 0, 0.175, 1);
}

.accordion-tile:hover img {
	transform: scale(1);
}

/* Per-tile image positions */
.accordion-tile:nth-child(1) img,
.accordion-tile:nth-child(1) .accordion-tile-video {
	object-position: 50% 52%;
}

.accordion-tile:nth-child(2) img,
.accordion-tile:nth-child(2) .accordion-tile-video {
	object-position: 0% 25%;
}

.accordion-tile:nth-child(3) img,
.accordion-tile:nth-child(3) .accordion-tile-video {
	object-position: 50% 19%;
}

.accordion-tile:nth-child(4) img,
.accordion-tile:nth-child(4) .accordion-tile-video {
	object-position: 50% 58%;
}

/* Video layer — plays on hover, hidden by default */
.accordion-tile-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.accordion-tile:hover .accordion-tile-video {
	opacity: 1;
}

.accordion-tile-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.75) 100%);
	pointer-events: none;
}

.accordion-tile-num {
	position: absolute;
	top: 24px;
	left: 24px;
	font-family: 'Bowlby One SC', sans-serif;
	font-size: 30px;
	color: rgba(255, 255, 255, 0);
	z-index: 2;
	line-height: 1;
	transition: color 0.5s ease;
}

.accordion-tile:hover .accordion-tile-num {
	color: rgba(201, 169, 110, 0);
}

.accordion-tile-info {
	position: absolute;
	bottom: 33px;
	left: 30px;
	right: 30px;
	z-index: 3;
	transform: translateY(15px) scale(0.38);
	transform-origin: bottom left;
	opacity: 0.61;
	transition: all 2s cubic-bezier(0.77, 0, 0.175, 1) 0.15s;
}

.accordion-tile:hover .accordion-tile-info {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.accordion-tile-cat {
	font-size: 17px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #d4b87a;
	margin-bottom: 4px;
}

.accordion-tile-title {
	font-family: 'Bowlby One SC', sans-serif;
	font-size: clamp(21px, 5vw, 41px); /* desktop 41px; phone-safe (Erica: too big/bold) */
	letter-spacing: 1px;
	color: #ffffff;
	line-height: 1.1;
}

.accordion-tile-price {
	font-size: var(--text-sm);
	color: var(--color-accent); /* was #de1717 red — unreadable over photos, off-brand */
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
	margin-top: 4px;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
	.tile-coming-soon {
	display: inline-block;
	margin-top: 8px;
	padding: 4px 12px;
	border: 1px solid rgba(200, 169, 110, 0.7);
	border-radius: 999px;
	color: var(--color-accent);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	background: rgba(0,0,0,0.45);
	backdrop-filter: blur(4px);
}

.accordion-hero {
		height: auto;
		min-height: 0;
		max-height: none;
		flex-direction: column;
		gap: 2px;
	}

	.accordion-tile {
		flex: none !important;
		height: 200px;
	}

	.accordion-tile-info {
		opacity: 1;
		transform: translateY(0);
	}

	.accordion-tile-num {
		font-size: 48px;
	}
}

/* Empty state for categories with no products yet */
.shop-empty {
	text-align: center;
	padding: var(--space-5xl) var(--space-xl);
}

.shop-empty p {
	color: var(--color-text-muted);
	font-size: var(--text-lg);
	max-width: 500px;
	margin: 0 auto var(--space-xl);
	line-height: var(--leading-relaxed);
}

/* Component list (used on product pages) */
.component-list {
	list-style: none;
	padding: 0;
}

.component-list li {
	padding: 8px 0;
	border-bottom: 1px solid var(--color-border);
	color: var(--color-text-muted);
	font-size: var(--text-base);
}

.component-list li strong {
	color: var(--color-accent);
}

@media (max-width: 1024px) {
	.product-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ===== PROCESS ===== */
/* Process header — editorial split (kicker, title left / CTA right) */
.process-header { margin-bottom: var(--space-2xl); }
.process-kicker {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: #a8894e;
	margin-bottom: var(--space-sm);
}
.process-header-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-lg);
	flex-wrap: wrap;
}
.process-header-row h2 {
	font-size: clamp(1.9rem, 4vw, 2.8rem);
	letter-spacing: var(--tracking-tight);
	margin: 0;
}
@media (max-width: 640px) {
	.process-header-row { flex-direction: column; align-items: flex-start; }
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: var(--space-md);
}

.process-step {
	background: #ffffff;
	padding: 90px 26px 34px;
	border: 1px solid #eee5d4;
	border-radius: 18px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(26,20,8,.04), 0 12px 32px rgba(26,20,8,.06);
	transition: border-color var(--duration-slow) var(--ease-out),
	            transform var(--duration-slow) var(--ease-out),
	            box-shadow var(--duration-slow) var(--ease-out);
}

.process-step:hover {
	border-color: var(--color-accent);
	transform: translateY(-10px);
	box-shadow: 0 6px 14px rgba(26,20,8,.06), 0 30px 60px rgba(200, 169, 110, 0.25);
}

.process-step::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
	transform: scaleX(0);
	transition: transform var(--duration-slow) var(--ease-out);
}

.process-step:hover::after { transform: scaleX(1); }

.step-num-big {
	position: absolute;
	top: -26px; right: 10px;
	font-size: 120px;
	font-weight: 900;
	letter-spacing: -0.06em;
	line-height: 1;
	background: linear-gradient(160deg, #ecd9ac 10%, #c8a96e 55%, #a8894e);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	opacity: .9;
	transition: transform var(--duration-slow) var(--ease-out);
}

.process-step:hover .step-num-big { transform: translateY(6px) scale(1.05); }

.step-ico {
	position: absolute;
	top: 30px; left: 26px;
	width: 44px; height: 44px;
	border-radius: 12px;
	background: #faf3e6;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #a8894e;
}

.process-step h3 {
	font-size: var(--text-xl);
	font-weight: 800;
	margin-bottom: var(--space-sm);
}

.process-step p {
	color: #7a7264;
	font-size: var(--text-sm);
	line-height: var(--leading-relaxed);
}

/* ===== CTA ===== */
.cta-section {
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cta-section::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 60vw;
	height: 60vw;
	transform: translate(-50%, -50%);
	background: radial-gradient(
		circle,
		rgba(200, 130, 60, 0.1) 0%,
		transparent 60%
	);
	filter: blur(60px);
	pointer-events: none;
}

.cta-content {
	position: relative;
	z-index: 1;
}

.cta-content h2 {
	font-size: clamp(2.9rem, 8.25vw, 6.1rem);
	line-height: 1;
	margin-bottom: var(--space-md);
}

.cta-content h2 .cta-moment {
	color: #9a938a;
	font-size: 0.64em;
	display: inline-block;
	margin-top: -0.12em;
	line-height: 1;
}

.cta-content p {
	color: var(--color-text-muted);
	font-size: var(--text-xl);
	margin-bottom: var(--space-2xl);
}

.cta-buttons {
	display: flex;
	gap: var(--space-md);
	justify-content: center;
}

/* ===== FOOTER ===== */
.site-footer {
	padding: 6px 0;
	background: var(--color-bg);
	border-top: 1px solid var(--color-border);
}

.footer-strip {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.footer-copy {
	font-size: 0.65rem;
	color: var(--color-text-muted);
	white-space: nowrap;
}

.footer-links {
	display: flex;
	gap: 1rem;
}

.footer-links a {
	font-size: 0.65rem;
	color: var(--color-text-muted);
	text-decoration: none;
	white-space: nowrap;
}
.footer-links a:hover { color: var(--color-white); }

/* Second footer-links row — resource/orphan pages (crawlability + discovery) */
.footer-links-row2 {
	flex-wrap: wrap;
	margin-top: var(--space-xs);
}

.footer-social {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	margin-left: auto;
}
.footer-social a { color: var(--color-text-muted); }
.footer-social a:hover { color: var(--color-white); }

.footer-tagline {
	font-size: 0.72rem;
	color: rgba(220, 210, 195, 0.75); /* was near-invisible muted */
	font-style: italic;
	white-space: nowrap;
}
.footer-badge svg { opacity: 0.6; flex-shrink: 0; }

.footer-social {
	display: flex;
	gap: var(--space-md);
	margin-top: var(--space-lg);
}
.footer-social a {
	color: var(--color-text-muted);
	transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--color-white); }

.footer-address, .footer-hours {
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	line-height: 1.5;
}
.footer-hours { opacity: 0.7; }

.footer-tagline {
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	font-style: italic;
	opacity: 0.7;
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
	/* Scroll-reveal retired (Scott, July 2026): sections used to fade/slide in
	   on approach — felt like delayed, jumpy scrolling. Content just shows. */
	opacity: 1;
	transform: none;
}

.animate-on-scroll.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Stagger children */

.process-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.process-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.process-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* ===== FILM GRAIN OVERLAY ===== */
body::after {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
	opacity: 0.035;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 256px 256px;
}

/* ===== MAGNETIC BUTTONS ===== */
.btn {
	transform-style: preserve-3d;
}

/* ===== 3D PERSPECTIVE TILT ON CARDS ===== */
.process-step {
	transform-style: preserve-3d;
	will-change: transform;
}

/* Static hero title for phones (so-hero-static set by main.js):
   final settled look, one cheap shadow, no layers held open */
.so-hero-static .hero-L {
	opacity: 1 !important;
	filter: drop-shadow(1px 1px 0 rgba(50, 25, 0, 0.9)) drop-shadow(0 0 16px rgba(230, 160, 50, 0.25)) !important;
	will-change: auto !important;
	transform: none !important;
}
.so-hero-static .hero-subtitle,
.so-hero-static .hero-tagline,
.so-hero-static .hero-stars,
.so-hero-static .hero-cta {
	opacity: 1 !important;
	transform: none !important;
	animation: none !important;
}
.so-hero-static .hero-tagline { opacity: 0.7 !important; }
.so-hero-static .hero-stars { opacity: 0.6 !important; }
.so-hero-static .hero-orn { width: 80%; opacity: 1; }

/* ===== HERO TITLE — Bowlby Marquee Bulb Sign ===== */
.hero-title {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: .9;
	position: relative;
}

.hero-L {
	display: inline-block;
	font-family: 'Bowlby One SC', sans-serif;
	font-weight: 400;
	font-size: clamp(3.5rem, 12vw, 10rem);
	letter-spacing: .01em;
	opacity: 0;
	position: relative;

	/* Amber gold gradient */
	background: linear-gradient(168deg,
		#5a3000 0%, #7a4500 5%, #a86010 10%, #c87820 16%,
		#e89830 22%, #f5b050 28%, #ffd070 33%, #f0a840 38%,
		#d08820 44%, #b06810 50%, #c88030 56%, #e8a040 62%,
		#ffc860 67%, #f0a030 72%, #c07818 78%, #a06010 84%,
		#c07820 90%, #8a5010 95%, #6b3800 100%
	);
	background-size: 100% 300%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;

	/* Dense bulb mask (grid:7, bulbR:2.94) */
	-webkit-mask-image: radial-gradient(circle 2.94px at 50% 50%, #000 2.65px, transparent 2.94px);
	mask-image: radial-gradient(circle 2.94px at 50% 50%, #000 2.65px, transparent 2.94px);
	-webkit-mask-size: 7px 7px;
	mask-size: 7px 7px;
	-webkit-mask-repeat: repeat;
	mask-repeat: repeat;

	will-change: transform, opacity, filter;
}

/* Ornamental lines above/below title */
.hero-orn {
	height: 1px;
	width: 0;
	margin: 0 auto;
	opacity: 0;
	background: linear-gradient(90deg,
		transparent,
		rgba(230,160,50,.5) 20%,
		rgba(255,210,100,.8) 50%,
		rgba(230,160,50,.5) 80%,
		transparent
	);
}
.hero-orn-top { margin-bottom: 20px; }
.hero-orn-bottom { margin-top: 20px; }

/* When particle hero is active, show ornaments/stars/tagline without GSAP */
.home .hero-orn { width: 80%; opacity: 1; }
.home .hero-stars { opacity: 0.6; }
.home .hero-tagline { opacity: 0.7; }

/* Stars between title and tagline */
.hero-stars {
	font-size: 8px;
	letter-spacing: 1em;
	margin-top: 10px;
	opacity: 0;
	color: #e89830;
	text-align: center;
}

/* Tagline — Bowlby to match title */
.hero-tagline {
	font-family: 'Bowlby One SC', sans-serif;
	font-size: clamp(.5rem, 1.3vw, .8rem);
	letter-spacing: .3em;
	text-transform: uppercase;
	background: linear-gradient(90deg, #e89830, #e89830);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-top: 14px;
	opacity: 0;
}

/* Golden glow circle behind title */
.hero-glow {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: radial-gradient(circle,
		rgba(230,160,50,.3) 0%,
		rgba(230,160,50,.1) 40%,
		transparent 70%
	);
	transform: translate(-50%, -50%);
	z-index: 0;
	pointer-events: none;
	opacity: 0;
}


/* ===== PINNED PROCESS SECTION ===== */
.process-pinned {
	position: relative;
}

.process-pinned .process-step {
	opacity: 0;
	transform: translateY(60px) scale(0.95);
	transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.process-pinned .process-step.step-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

/* ===== STATS BAR ===== */
.stats-section {
	padding: var(--space-4xl) 0;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	background: var(--color-bg);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-xl);
	text-align: center;
}

.stat-item {
	opacity: 1; /* reveal retired — numbers still count up */
	transform: none;
}

.stat-number {
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-fire) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.stat-label {
	font-size: var(--text-sm);
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: var(--tracking-wider);
	margin-top: var(--space-sm);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
	/* Collapse nav to hamburger — 769-1024px tablets get a cramped
	   8-item desktop nav otherwise. Overlay styles live here too so
	   the open menu works across the whole collapsed range. */
	.primary-nav { display: none; }
	.nav-toggle { display: block; }

	/* ===== Mobile menu — refined editorial list (Erica, July 2026) ===== */
	.primary-nav.open {
		display: block; position: fixed; inset: 0;
		background: #0a0a0a; z-index: 99; /* explicit opaque — overlay must never see-through */
		padding: 96px 30px 40px;
		overflow-y: auto;
		animation: soMenuIn 0.22s ease-out;
	}
	@keyframes soMenuIn { from { opacity: 0; } to { opacity: 1; } }
	/* While the menu is open: solid header, NO backdrop-filter — a blur on the
	   header makes it the containing block for the fixed overlay, clipping the
	   whole menu into the 56px header strip when scrolled (Erica's bug) */
	.site-header.menu-open,
	.site-header.menu-open.scrolled {
		background: #0a0a0a;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
	.primary-nav.open::before {
		content: 'Menu';
		display: block;
		color: var(--color-accent);
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0.35em;
		text-transform: uppercase;
		opacity: 0.8;
		margin-bottom: 10px;
	}
	.primary-nav.open ul {
		display: block;
	}
	.primary-nav.open li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}
	.primary-nav.open a {
		display: block;
		font-size: 16px;
		font-weight: 500;
		letter-spacing: 0.18em;
		padding: 18px 2px;
	}
	/* flatten the Resources dropdown — indented, quieter, gold hairline rail */
	.primary-nav.open li.has-sub { padding-bottom: 6px; }
	.primary-nav.open .sub-menu {
		position: static;
		transform: none;
		opacity: 1;
		pointer-events: auto;
		background: none;
		border: none;
		box-shadow: none;
		padding: 0 0 8px 18px;
		margin: -6px 0 0;
		display: block;
		border-left: 1px solid rgba(200, 169, 110, 0.35);
		margin-left: 2px;
	}
	.primary-nav.open .sub-menu::before { display: none; }
	.primary-nav.open .sub-menu li { border-bottom: none; }
	.primary-nav.open .sub-menu a {
		font-size: 13.5px;
		letter-spacing: 0.14em;
		color: var(--color-text-muted);
		padding: 10px 2px;
	}
	.primary-nav.open .sub-caret { display: none; }
	/* Order — gold pill, full width, anchors the list */
	.primary-nav.open a.nav-cta {
		margin-top: 28px;
		text-align: center;
		padding: 15px 0;
		border-radius: 999px;
	}
	.primary-nav.open li:last-child { border-bottom: none; }

	.hero-text { max-width: 65%; }
	.hero-subtitle { margin-inline: auto; }
	.hero-cta { justify-content: center; }

	/* Process header — editorial split (kicker, title left / CTA right) */
.process-header { margin-bottom: var(--space-2xl); }
.process-kicker {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: #a8894e;
	margin-bottom: var(--space-sm);
}
.process-header-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-lg);
	flex-wrap: wrap;
}
.process-header-row h2 {
	font-size: clamp(1.9rem, 4vw, 2.8rem);
	letter-spacing: var(--tracking-tight);
	margin: 0;
}
@media (max-width: 640px) {
	.process-header-row { flex-direction: column; align-items: flex-start; }
}

.process-grid { grid-template-columns: repeat(2, 1fr); }

	/* Bubble lightbox — click a bubble to view full-screen */
.bubble-lightbox {
	position: fixed; inset: 0; z-index: 1200;
	background: rgba(0,0,0,0.94);
	display: none; align-items: center; justify-content: center;
}
.bubble-lightbox.open { display: flex; }
.bubble-lightbox .blb-media img,
.bubble-lightbox .blb-media video {
	max-width: 92vw; max-height: 90vh;
	border-radius: 8px;
	box-shadow: 0 0 60px rgba(200,169,110,0.25);
}
.bubble-lightbox .blb-close {
	position: absolute; top: 16px; right: 22px;
	background: none; border: none; color: #fff;
	font-size: 34px; line-height: 1; cursor: pointer; padding: 8px; z-index: 2;
}
/* Sparkle canvas overlay */
.bubble-sparkles {
	position: absolute; inset: 0;
	pointer-events: none;
	z-index: 40;
}
/* Mobile: static calm grid, no physics */
.bubble-world.bubble-static {
	height: auto !important;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	padding: 0 16px;
}
.bubble-world.bubble-static .bubble {
	position: static !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1;
	transform: none !important;
	filter: none !important;
	opacity: 1 !important;
}
.bubble-world.bubble-static .bubble-snow { display: none; }

.bubble-world { height: 650px; }

	.stats-grid { gap: var(--space-lg); }
	.footer-content { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
}

@media (max-width: 768px) {
	/* Stacked cinematic hero: dancer band on top fading to black, text below.
	   The band is IN FLOW and the text tucks up a fixed 70px into the fade —
	   the title can never reach the face on any screen height or text size. */
	.hero { padding-top: 0; min-height: 100svh; display: block; }
	.hero-image-wrap {
		position: relative;
		inset: auto;
		height: 46svh;
		overflow: hidden;
	}
	.hero-image {
		object-fit: cover;
		object-position: center top;
	}
	.hero-content { margin-top: -70px; position: relative; z-index: 2; }
	.hero-image-wrap::after {
		content: '';
		position: absolute;
		left: 0; right: 0; bottom: -1px;
		height: 55%;
		background: linear-gradient(to bottom, transparent, #000 90%);
	}
	.hero-content { padding-bottom: 84px; } /* clear the sports ticker */
	.hero-text { max-width: 100%; text-align: center; }
	.hero-L { font-size: clamp(2.9rem, 15vw, 5.2rem); }
	.hero-tagline {
		font-size: clamp(.6rem, 2.6vw, .8rem);
		letter-spacing: .14em;
		text-wrap: balance; /* two even lines instead of an orphaned word */
	}
	.hero-subtitle { font-size: 0.95rem; line-height: 1.7; }
	.hero-orn-top { display: none; } /* less stacking above the title on small screens */

	.hero-cta { flex-direction: column; align-items: center; }
	.hero-cta .btn { width: 100%; max-width: 280px; }

	/* Process header — editorial split (kicker, title left / CTA right) */
.process-header { margin-bottom: var(--space-2xl); }
.process-kicker {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: #a8894e;
	margin-bottom: var(--space-sm);
}
.process-header-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-lg);
	flex-wrap: wrap;
}
.process-header-row h2 {
	font-size: clamp(1.9rem, 4vw, 2.8rem);
	letter-spacing: var(--tracking-tight);
	margin: 0;
}
@media (max-width: 640px) {
	.process-header-row { flex-direction: column; align-items: flex-start; }
}

.process-grid { grid-template-columns: 1fr; }

	/* Hide entire portfolio section on mobile — bubble gallery is hidden, nothing left to show */
	#portfolio { display: none; }

	/* Tighten section padding on mobile — less dead space between sections */
	.section { padding: var(--space-2xl) 0; }
	.section-header { margin-bottom: var(--space-2xl); }

	/* Process section is now first after hero — reduce top gap */
	#process { padding-top: var(--space-lg); }

	/* Kill scroll animations on mobile — invisible elements create empty gaps */
	.animate-on-scroll,
	.stat-item,
	.process-pinned .process-step {
		opacity: 1 !important;
		transform: none !important;
	}

	.cta-content h2 { font-size: var(--text-4xl); }
	.cta-buttons { flex-direction: column; align-items: center; }
	.cta-buttons .btn { width: 100%; max-width: 280px; }

	.scroll-hint { display: none; }
	.cursor-glow { display: none; }
	.sparkle-field { display: none; } /* Kill 300 animated DOM nodes on mobile */
	.site-footer a { display: inline-block; padding: 6px 4px; }

	/* GPU diet (July 2026 — Erica's phone Safari crashing): drop the big blurred
	   decorative layers phones can't afford; they're barely visible at phone size */
	.aurora { display: none; }
	.hero-spotlights { display: none; }
	.hero-glow { display: none; }
	.product-fog { display: none; }
	.catalog-toolbar {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		background: rgba(244, 241, 236, 0.98);
	}

	.stats-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }

	/* Footer — stack vertically on mobile */
	.footer-strip {
		flex-direction: column;
		align-items: center;
		gap: var(--space-sm);
		text-align: center;
	}
	.footer-links { flex-wrap: wrap; justify-content: center; }
	.footer-social { margin-left: 0; }

	.footer-content { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }

	/* Shop landing — reduce oversized padding + gap */
	.shop-page {
		padding-top: 0;
	}
	.shop-page .shop-categories {
		padding-top: 60px;
		gap: var(--space-md);
	}
}

/* ===== LIGHT THEME — Homepage body + Shop landing ===== */
.page-body-light {
	background: #ffffff;
	position: relative;
	z-index: 10;
	overflow: clip; /* clips fog like hidden, but keeps position:sticky (immersive scrub) working */
}

/* Static nebula base — rose gold dust under homepage white sections */
.page-body-light::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background-image:
		radial-gradient(800px 120px at 20% 15%, rgba(165,105,85,0.08) 0%, transparent 100%),
		radial-gradient(600px 80px at 55% 40%, rgba(155,95,75,0.07) 0%, transparent 100%),
		radial-gradient(700px 70px at 70% 65%, rgba(170,110,90,0.06) 0%, transparent 100%),
		radial-gradient(500px 140px at 35% 82%, rgba(160,100,80,0.07) 0%, transparent 100%),
		radial-gradient(900px 50px at 50% 30%, rgba(175,115,95,0.05) 0%, transparent 100%);
}

.shop-page,
.shop-category-page {
	background: #ffffff;
	position: relative;
	z-index: 10;
}

/* Dark headings on light backgrounds */
.page-body-light h1,
.page-body-light h2,
.page-body-light h3,
.page-body-light h4,
.shop-page .shop-header h1,
.shop-category-page .shop-category-header h1 {
	color: #1a1510;
}

/* Muted body text on light backgrounds */
.page-body-light .section-header p,
.page-body-light .process-step p,
.page-body-light .cta-content p,
.page-body-light .stat-label,
.shop-page .shop-header p,
.shop-category-page .shop-category-header p {
	color: #706050;
}

/* Breadcrumb on light bg */
.shop-category-page .breadcrumb a {
	color: #706050;
}

.shop-category-page .breadcrumb-current {
	color: #1a1510;
}

/* Product card text on light bg */
.shop-category-page .product-card-name {
	color: #1a1510;
}

/* Empty state text on light bg */
.shop-category-page .shop-empty p {
	color: #706050;
}

/* Process steps — luxe cards define their own light styling */

/* Stats section — transparent bg on white parent */
.page-body-light .stats-section {
	background: transparent;
	border-color: rgba(0,0,0,0.06);
}

/* CTA glow — subtle gold on white */
.page-body-light .cta-section::before {
	background: radial-gradient(circle, rgba(200, 169, 110, 0.08) 0%, transparent 60%);
}

/* Outline buttons on light bg */
.page-body-light .btn-outline {
	color: #1a1510;
	border-color: rgba(0,0,0,0.15);
}

.page-body-light .btn-outline:hover {
	color: var(--color-accent);
	border-color: var(--color-accent);
}

/* Bubble gallery on white — soften golden glow */
.page-body-light .bubble {
	box-shadow:
		0 0 10px rgba(200, 169, 110, 0.2),
		0 0 25px rgba(200, 130, 60, 0.08),
		inset 0 0 15px rgba(0, 0, 0, 0.25);
}

.page-body-light .bubble:hover {
	box-shadow:
		0 0 18px rgba(200, 169, 110, 0.35),
		0 0 40px rgba(200, 130, 60, 0.15),
		inset 0 0 10px rgba(0, 0, 0, 0.15);
}

.page-body-light .bubble.active {
	box-shadow:
		0 0 30px rgba(200, 169, 110, 0.45),
		0 0 70px rgba(200, 130, 60, 0.18),
		inset 0 0 8px rgba(0, 0, 0, 0.1);
}

/* Shop category cards — framed on video background */
.shop-page .shop-category-card {
	background: rgba(0, 0, 0, 0.55);
	border: 1px solid rgba(200, 169, 110, 0.25);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
	transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.shop-page .shop-category-card:hover {
	opacity: 1;
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(200, 169, 110, 0.15);
}

.shop-page .shop-category-overlay {
	padding: 12px 10px 16px;
}

.shop-page .shop-category-overlay h2 {
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.shop-page .shop-category-overlay p {
	color: rgba(255, 255, 255, 0.7);
}

/* Toolbar on video background */
.shop-page .catalog-toolbar {
	border-bottom-color: rgba(255, 255, 255, 0.15);
}

.shop-page .catalog-item-count {
	color: rgba(255, 255, 255, 0.7);
}

.shop-page .catalog-view-btn {
	color: rgba(255, 255, 255, 0.5);
}

.shop-page .catalog-view-btn:hover,
.shop-page .catalog-view-btn.active {
	color: #fff;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.hero-title, .hero-L, .hero-tagline, .hero-subtitle,
	.hero-cta, .hero-image-wrap, .scroll-hint,
	.hero-orn, .hero-stars,
	.animate-on-scroll {
		opacity: 1 !important;
		transform: none !important;
		filter: none !important;
	}
	.hero-L { filter: none !important; }
	.sparkle-field { display: none; }
}


/* Floating mobile CTA pill (suggestion G, July 2026) */
.so-float-cta {
	position: fixed;
	left: 50%;
	bottom: calc(18px + env(safe-area-inset-bottom, 0px)); /* clear the iOS bottom bar */
	transform: translate(-50%, 80px);
	z-index: 90;
	padding: 13px 30px;
	border-radius: 999px;
	background: linear-gradient(135deg, #dcc18a, #c8a96e);
	color: #171310;
	font: 700 13px/1 Inter, sans-serif;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.3s ease;
}
.so-float-cta.on {
	transform: translate(-50%, 0);
	opacity: 1;
	pointer-events: auto;
}

/* Page crossfade (suggestion C) removed — Scott vetoed July 2026. */
