.home2-section--hero {
	background: #0f0d0b;
	color: #ffffff;
	padding: 0;
	justify-content: center;
}

.home2-hero__video-wrap {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 0;
}

.home2-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0;
	transition: opacity 0.9s ease-in-out;
	will-change: opacity;
}

.home2-hero__video.is-active {
	opacity: 1;
}

.home2-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 13, 11, 0.05) 0%, rgba(15, 13, 11, 0.12) 60%, rgba(15, 13, 11, 0.22) 100%);
	pointer-events: none;
}

.home2-hero__content {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 0 clamp(1.5rem, 5vw, 4rem);
	max-width: 900px;
	width: 100%;
	margin: clamp(-18vh, -14vh, -10vh) auto 0;
}

.home2-section--hero .hero-intro--heading {
	font-size: clamp(3rem, 7.2vw, 6rem);
	line-height: 1.02;
	letter-spacing: -0.015em;
}

.home2-hero__scroll-hint {
	position: absolute;
	z-index: 1;
	bottom: calc(clamp(7rem, 11vh, 8.5rem) + var(--wp-admin--admin-bar--height, 0px));
	left: 0;
	right: 0;
	margin: 0 auto;
	width: fit-content;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
}

.home2-hero__spin-logo {
	display: block;
	width: clamp(26px, 2.4vw, 34px);
	height: auto;
	opacity: 0.85;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
	will-change: transform;
	animation: home2WheelIdle 8s linear infinite;
}

.home2-hero__ornament-wheel {
	--wheel-spin-duration: 14s;
	display: block;
	margin: 0 auto clamp(1.25rem, 2.5vh, 2rem);
	width: clamp(78px, 7.2vw, 102px);
	height: auto;
	color: rgba(218, 165, 115, 1);
	opacity: 0;
	translate: 0 8px;
	filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
	will-change: transform;
	animation: home2WheelIdle var(--wheel-spin-duration) linear infinite;
	transition: color 0.35s cubic-bezier(.2,.8,.2,1), animation-duration 1.2s ease, opacity 0.7s cubic-bezier(.2,.8,.2,1), translate 0.7s cubic-bezier(.2,.8,.2,1);
}

.home2-section--hero.is-show-wheel .home2-hero__ornament-wheel {
	opacity: 0.95;
	translate: 0 0;
}

.home2-section--hero .hero-intro--heading {
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1);
}

.home2-section--hero.is-show-heading .hero-intro--heading {
	opacity: 1;
	transform: none;
}

.home2-hero__ornament-wheel:hover {
	--wheel-spin-duration: 4s;
	color: rgba(197, 139, 92, 0.95);
}

.home2-hero__ornament-wheel svg {
	display: block;
	width: 100%;
	height: auto;
}

@keyframes home2WheelIdle {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

.home2-hero__scroll-arrow {
	display: block;
	width: 14px;
	height: 14px;
	border-right: 1.5px solid rgba(255, 255, 255, 0.75);
	border-bottom: 1.5px solid rgba(255, 255, 255, 0.75);
	transform: rotate(45deg);
	margin-top: 0.2rem;
	animation: home2ArrowBounce 1.8s ease-in-out infinite;
}

@keyframes home2ArrowBounce {
	0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.6; }
	50%      { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.home2-hero__spin-logo,
	.home2-hero__ornament-wheel,
	.home2-hero__scroll-arrow { animation: none; }
}

.home2-hero__legal {
	position: absolute;
	z-index: 1;
	bottom: calc(clamp(2.5rem, 5vh, 4rem) + var(--wp-admin--admin-bar--height, 0px));
	left: 0;
	right: 0;
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 clamp(1.5rem, 4vw, 2.5rem);
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
	font-size: var(--wp--preset--font-size--cap);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	pointer-events: none;
}

.home2-hero__socials {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 0.6rem;
	pointer-events: auto;
}

.home2-hero__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.home2-hero__socials a:hover,
.home2-hero__socials a:focus-visible {
	color: #18140f;
	background: rgba(197, 139, 92, 0.95);
	border-color: rgba(197, 139, 92, 1);
	transform: translateY(-2px);
	outline: none;
}

.home2-hero__legal a {
	color: inherit;
	text-decoration: none;
	pointer-events: auto;
	transition: color 0.2s ease;
}

.home2-hero__legal a:hover,
.home2-hero__legal a:focus-visible {
	color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 600px) {
	.home2-hero__legal {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 0.5rem;
		font-size: var(--wp--preset--font-size--cap);
	}
}

/* Hero content reveals manually — it lives inside .home2-section but is wrapped in a .home2-hero__content div.
   The default .home2-section > * fades, but we want *content's children* to stagger, so reset at wrap level
   and re-apply reveal to children of .home2-hero__content instead. */
.home2-section--hero > .home2-hero__content,
.home2-section--hero > .home2-hero__scroll-hint,
.home2-section--hero > .home2-hero__legal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1);
}

/* Content reveal is gated on video-ready (is-show-wheel), not just IntersectionObserver,
   so the eyebrow/heading don't flash on a still-loading hero. */
.home2-section--hero.is-show-wheel > .home2-hero__content { opacity: 1; transform: none; }
.home2-section--hero.is-visible > .home2-hero__scroll-hint { opacity: 1; transform: none; transition-delay: 0.8s; }
.home2-section--hero.is-visible > .home2-hero__legal { opacity: 1; transform: none; transition-delay: 1.1s; }

@media (prefers-reduced-motion: reduce) {
	.home2-section--hero > .home2-hero__content,
	.home2-section--hero > .home2-hero__scroll-hint,
	.home2-section--hero > .home2-hero__legal,
	.home2-section--hero .home2-hero__ornament-wheel,
	.home2-section--hero .hero-intro--heading {
		opacity: 1 !important;
		transform: none !important;
		translate: 0 0 !important;
		transition: none !important;
	}
}

/* ---------- Hero intro choreography ----------
   JS adds [data-hero-intro="running"] on the section, splits each
   hero-intro__old/new span's text into .hero-intro__char spans with --i,
   then toggles stage classes: .is-flip-heading, .is-flip-eyebrow, .is-show-subtitle.
   Without JS (or reduced-motion), the default block-fade reveal applies and the
   intro spans are hidden so only the resting text renders. */

/* Default (no JS): hide intro-only text, show resting text as a plain inline. */
.hero-intro { position: relative; }
.hero-intro__old { display: none; }
.hero-intro__new { display: inline; }

/* JS-driven mode: stack both spans on top of each other, hide the resting one until staged.
   Parent is a flex container so both spans center regardless of their natural width
   (either can be wider than the heading/eyebrow's own content-box). */
.home2-section--hero[data-hero-intro="running"] .hero-intro--heading,
.home2-section--hero[data-hero-intro="running"] .hero-intro--eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	perspective: 800px;
	white-space: nowrap;
	overflow: visible;
}
.home2-section--hero[data-hero-intro="running"] .hero-intro__old,
.home2-section--hero[data-hero-intro="running"] .hero-intro__new {
	display: inline-block;
	white-space: nowrap;
}
.home2-section--hero[data-hero-intro="running"] .hero-intro__new {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
}
.home2-section--hero[data-hero-intro="running"] .hero-intro__old {
	opacity: 1;
}

/* Per-character spans. --i = index, --n = total chars. */
.hero-intro__char {
	display: inline-block;
	transform-origin: 50% 50%;
	backface-visibility: hidden;
	will-change: transform, opacity;
}
.hero-intro__char--space {
	width: 0.25em;
}

/* --- Heading: letter-by-letter flip ---
   Slow, relaxed choreography: each char fully flips out before any of the new
   chars start flipping in. The --hero-out-total custom property (set by JS) is
   the time when the last outgoing char has finished, so --new chars stagger
   after that. */
@keyframes wwhHeroCharOut {
	0%   { transform: rotateX(0deg) translateY(0); opacity: 1; }
	100% { transform: rotateX(-90deg) translateY(-0.15em); opacity: 0; }
}
@keyframes wwhHeroCharIn {
	0%   { transform: rotateX(90deg) translateY(0.15em); opacity: 0; }
	100% { transform: rotateX(0deg) translateY(0); opacity: 1; }
}

.home2-section--hero[data-hero-intro="running"].is-flip-heading .hero-intro--heading .hero-intro__old .hero-intro__char {
	animation: wwhHeroCharOut 900ms cubic-bezier(.55,.06,.68,.19) forwards;
	animation-delay: calc(var(--i, 0) * 70ms);
}
.home2-section--hero[data-hero-intro="running"] .hero-intro--heading .hero-intro__new .hero-intro__char {
	opacity: 0;
	transform: rotateX(90deg) translateY(0.15em);
}
.home2-section--hero[data-hero-intro="running"].is-flip-heading .hero-intro--heading .hero-intro__new {
	opacity: 1;
}
.home2-section--hero[data-hero-intro="running"].is-flip-heading .hero-intro--heading .hero-intro__new .hero-intro__char {
	animation: wwhHeroCharIn 900ms cubic-bezier(.22,1,.36,1) both;
	animation-delay: calc(var(--hero-out-total, 2600ms) + var(--i, 0) * 90ms);
}

/* After heading settles, freeze in "new" state. */
.home2-section--hero[data-hero-intro="running"].is-heading-settled .hero-intro--heading .hero-intro__old {
	display: none;
}
.home2-section--hero[data-hero-intro="running"].is-heading-settled .hero-intro--heading .hero-intro__new {
	position: static;
	opacity: 1;
}

/* --- Eyebrow: single-element whole flip --- */
@keyframes wwhHeroEyebrowOut {
	0%   { transform: rotateX(0deg); opacity: 1; }
	100% { transform: rotateX(90deg); opacity: 0; }
}
@keyframes wwhHeroEyebrowIn {
	0%   { transform: rotateX(-90deg); opacity: 0; }
	100% { transform: rotateX(0deg); opacity: 1; }
}

.home2-section--hero[data-hero-intro="running"].is-flip-eyebrow .hero-intro--eyebrow .hero-intro__old {
	animation: wwhHeroEyebrowOut 900ms cubic-bezier(.55,.06,.68,.19) forwards;
	transform-origin: 50% 50%;
}
.home2-section--hero[data-hero-intro="running"].is-flip-eyebrow .hero-intro--eyebrow .hero-intro__new {
	animation: wwhHeroEyebrowIn 900ms cubic-bezier(.22,1,.36,1) 900ms both;
	transform-origin: 50% 50%;
}

.home2-section--hero[data-hero-intro="running"].is-eyebrow-settled .hero-intro--eyebrow .hero-intro__old {
	display: none;
}
.home2-section--hero[data-hero-intro="running"].is-eyebrow-settled .hero-intro--eyebrow .hero-intro__new {
	position: static;
	opacity: 1;
}

/* --- Subtitle: graceful fade in. Constrain width so the copy wraps to 2 lines. --- */
.hero-intro--subtitle {
	max-width: 28rem;
	margin-left: auto !important;
	margin-right: auto !important;
}
/* Subtitle is hidden from first paint while the intro choreography is queued
   (data-hero-intro="idle") or running. JS flips the attribute to "running" and
   then adds .is-show-subtitle to fade it in. */
.home2-section--hero[data-hero-intro="idle"] .hero-intro--subtitle,
.home2-section--hero[data-hero-intro="running"] .hero-intro--subtitle {
	opacity: 0;
	transform: translateY(8px);
}
.home2-section--hero[data-hero-intro="running"] .hero-intro--subtitle {
	transition: opacity 1400ms ease-out, transform 1400ms ease-out;
}
.home2-section--hero[data-hero-intro="running"].is-show-subtitle .hero-intro--subtitle {
	opacity: 1;
	transform: none;
}
/* Reduced motion: skip the choreography entirely, show the tagline. */
@media (prefers-reduced-motion: reduce) {
	.home2-section--hero .hero-intro--subtitle {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* Once the staged content reveal has begun (is-show-wheel), suppress the default
   block-fade transform so child elements drive their own timing. The wrapper's
   opacity is owned by .is-show-wheel above. */
.home2-section--hero[data-hero-intro="running"].is-show-wheel > .home2-hero__content {
	transform: none;
}

