/* ==========================================================================
   Home page — mockup layout (black / white / red)
   ========================================================================== */

.hp {
	background: #0b0b0d;
}

.hp > .hp-band:first-child {
	padding-top: 0;
}

.hp > .hp-events {
	padding-top: clamp(3.5rem, 9vw, 6rem);
}

/* Hero enhancements */

.home .site-header {
	z-index: 210;
}

.home .nav-toggle__bar {
	background: #0b0b0d;
}

.home .primary-nav {
	background: #0b0b0d;
	border-left-color: #2a2a33;
}

.home .primary-nav .menu a {
	color: rgb(198 198 206 / 0.92);
	border-bottom-color: #2a2a33;
}

.home .primary-nav .menu a:hover,
.home .primary-nav .menu .current-menu-item > a {
	color: rgb(230 230 236 / 0.96);
}

.home .primary-nav__social-link {
	color: rgb(198 198 206 / 0.92);
}

.home .primary-nav__social-link:hover {
	color: #fff;
}

.hero.hero--home.hp-hero {
	display: block;
	min-height: auto;
	align-items: unset;
	justify-content: unset;
	position: relative;
	isolation: isolate;
	margin-top: calc(-1 * var(--header-height));
	padding: calc(var(--header-height) + var(--space-sm)) 0 var(--hp-hero-gallery-gap);
	font-family: var(--font-hero);
	background-color: #fff;
	overflow: hidden;
}

.hp-hero__bg {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: var(--hp-hero-gallery-gap);
	z-index: 0;
	pointer-events: none;
}

.hp-hero__bg-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 0.14;
}

.hp-hero__frame {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--hp-hero-frame-gap);
	width: 100%;
	max-width: var(--site-width);
	margin-inline: auto;
	background: transparent;
}

.hp-hero__content {
	position: relative;
	z-index: 3;
	width: min(48rem, 94%);
	max-width: 94%;
	padding: 0 var(--space-md);
	text-align: center;
	transform: translateY(calc(-1 * var(--hp-hero-copy-lift) - clamp(1.1rem, 2.4vw, 1.7rem)));
}

.hp-hero__copy {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: var(--hp-hero-copy-max-width);
	margin-inline: auto;
	padding: clamp(1.25rem, 3.5vw, 2.25rem) clamp(2rem, 6vw, 3.5rem);
	overflow: visible;
}

.hp-hero__crest {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 0;
	width: clamp(13rem, 34vw, 18.5rem);
	height: clamp(13rem, 34vw, 18.5rem);
	opacity: 0.12;
	object-fit: contain;
	object-position: center;
	pointer-events: none;
	transform: translate(-50%, -50%);
	transition: opacity 1.4s cubic-bezier(0.33, 0, 0.67, 1);
}

.hp-hero__crest.is-opening-hidden {
	opacity: 0;
}

.hp-hero__title,
.hp-hero__text {
	position: relative;
	z-index: 1;
}

.hp-hero__text {
	transition: opacity 1.4s cubic-bezier(0.33, 0, 0.67, 1);
}

.hp-hero__text.is-opening-hidden {
	opacity: 0;
}

.hp-hero__visual {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--site-width);
	margin-inline: auto;
	margin-top: calc(-1 * var(--hp-hero-visual-offset-y));
	padding-inline: var(--hp-hero-visual-inset-x);
	background: transparent;
	line-height: 0;
}

.hp-hero__image {
	display: block;
	width: min(100%, calc(var(--hp-hero-visual-max-height) * 16 / 9));
	max-width: 100%;
	max-height: var(--hp-hero-visual-max-height);
	height: auto;
	aspect-ratio: 16 / 9;
	margin-inline: auto;
	object-fit: contain;
	object-position: center bottom;
}

@media (min-width: 768px) {
	.hero.hero--home.hp-hero {
		margin-top: 0;
		padding: calc(var(--header-height) + var(--space-md)) 0 var(--hp-hero-gallery-gap);
	}

	.hp-hero__frame {
		gap: 0;
	}

	.hp-hero__content {
		width: min(var(--hp-hero-copy-max-width), 100%);
		max-width: var(--hp-hero-copy-max-width);
	}

	.hp-hero__copy {
		padding-top: clamp(1rem, 2vw, 1.5rem);
		padding-bottom: clamp(1.25rem, 3vw, 2rem);
		overflow: visible;
	}

	.hp-hero__crest {
		top: 66%;
		width: clamp(15rem, 24vw, 19rem);
		height: clamp(15rem, 24vw, 19rem);
	}

	.hp-hero__text {
		font-size: clamp(1.7rem, 3.4vw, 2.2rem);
	}
}

@media (max-width: 767px) {
	.hero.hero--home.hp-hero {
		padding: calc(var(--header-height) + var(--space-lg)) 0 var(--hp-hero-gallery-gap);
	}

	.hp-hero__content {
		width: 100%;
		max-width: none;
		padding: var(--space-md) var(--space-md) 0;
		transform: translateY(clamp(0.75rem, 3.5vw, 1.5rem));
	}

	.hp-hero__copy {
		padding-bottom: 1.5rem;
	}

	.hp-hero__text {
		margin-bottom: 0.75rem;
	}
}

.hp-hero__title {
	display: block;
	width: max-content;
	max-width: none;
	margin: 0 0 clamp(1.55rem, 3vw, 2.15rem);
	font-family: var(--font-hero);
	font-size: clamp(1.2rem, 0.65rem + 4.8vw, 3.1rem);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.04em;
	color: #0b0b0d;
	white-space: nowrap;
	text-align: center;
}

.hp-hero__title-sub {
	white-space: pre-wrap;
}

.hp-hero__text {
	margin: 0.35rem 0 0;
	max-width: 42rem;
	margin-inline: auto;
	font-size: clamp(1.4rem, 3.1vw, 1.7rem);
	font-weight: 700;
	line-height: 1.85;
	color: rgb(11 11 13 / 0.8);
}

.hp-gallery-reveal {
	--gallery-bg-progress: 0;
	--gallery-frame-inset-progress: 0;
	--gallery-mask-r: 64vmin;
	--gallery-mask-x: 60%;
	--gallery-mask-y: 58%;
	--gallery-dim: 0;
	--gallery-vertical-progress: 0;
	--gallery-horizontal-progress: 0;
	--gallery-overlay-scroll: 0;
	width: 100%;
	margin-inline: 0;
	margin-bottom: 0;
	background: color-mix(in srgb, #0b0b0d calc(var(--gallery-bg-progress, 0) * 100%), #fff);
}

.hp-gallery-reveal__track {
	height: 960vh;
}

.hp-gallery-reveal__sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	box-sizing: border-box;
	display: flex;
	align-items: flex-start;
	overflow: hidden;
	background: color-mix(in srgb, #0b0b0d calc(var(--gallery-bg-progress, 0) * 100%), #fff);
	isolation: isolate;
}

.hp-gallery-reveal__content {
	position: relative;
	width: 100%;
	min-height: 100vh;
	will-change: transform;
}

.hp-gallery-reveal__frame {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	height: clamp(52rem, 92vw, 72rem);
	flex-shrink: 0;
	padding-inline: calc(var(--hp-gallery-frame-inset-x) * (1 - var(--gallery-frame-inset-progress, 0)));
	padding-top: calc(var(--hp-gallery-frame-inset-y) * (1 - var(--gallery-frame-inset-progress, 0)));
	background: color-mix(in srgb, #0b0b0d calc(var(--gallery-bg-progress, 0) * 100%), #fff);
}

.hp-gallery-reveal__ring {
	position: absolute;
	z-index: 4;
	box-sizing: border-box;
	border: 1.5px solid #0b0b0d;
	border-radius: 50%;
	background: transparent;
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, -50%);
	will-change: left, top, width, height, opacity;
}

.hp-gallery-reveal__mask {
	width: 100%;
	height: 100%;
	opacity: 0;
	clip-path: circle(var(--gallery-mask-r) at var(--gallery-mask-x) var(--gallery-mask-y));
	will-change: clip-path, opacity;
}

.hp-gallery-reveal__overlay {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 100vh;
	height: 100dvh;
	z-index: 5;
	pointer-events: none;
	overflow: hidden;
	visibility: hidden;
	opacity: 1;
}

.hp-gallery-reveal__overlay[data-visible="true"] {
	visibility: visible;
}

.hp-gallery-reveal__overlay-dim {
	position: absolute;
	inset: 0;
	background: rgb(0 0 0 / var(--gallery-dim, 0));
}

.hp-gallery-reveal__overlay-body {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 0 clamp(1rem, 2vw, 2rem) clamp(2rem, 9vh, 5.5rem);
	transition: opacity 0.15s linear;
}

.hp-gallery-reveal__overlay-pair {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
	gap: clamp(1.5rem, 4vw, 3rem);
	width: 100%;
}

.hp-gallery-reveal__vertical {
	position: relative;
	top: auto;
	right: auto;
	left: auto;
	bottom: auto;
	margin: 0 0 0 auto;
	padding-right: clamp(0.25rem, 1vw, 0.75rem);
	font-family: var(--font-display);
	font-size: clamp(2rem, 4.8vmin, 3.35rem);
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: 0.2em;
	color: #fff;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	white-space: nowrap;
	opacity: var(--gallery-vertical-progress, 0);
	transform: translateY(calc((1 - var(--gallery-vertical-progress, 0)) * 12vh));
}

.hp-gallery-reveal__horizontal {
	position: relative;
	top: auto;
	left: auto;
	bottom: auto;
	width: min(35rem, 38vw);
	max-width: 40vw;
	flex: 0 1 auto;
	margin-right: auto;
	transform: translateY(calc((1 - var(--gallery-horizontal-progress, 0)) * 12vh));
}

.hp-gallery-reveal__text {
	margin: 0;
	font-size: clamp(1.5rem, 2.64vw, 1.9rem);
	font-weight: 400;
	line-height: 1.65;
	letter-spacing: 0.04em;
	color: rgb(255 255 255 / 0.95);
}

.hp-gallery-reveal__line {
	--line-delay: calc(var(--line-index, 0) * 0.07);
	--line-show: clamp(0, calc((var(--gallery-horizontal-progress, 0) - var(--line-delay)) / 0.09), 1);
	display: block;
	opacity: var(--line-show);
	transform: translateY(calc((1 - var(--line-show)) * 1.4rem));
}

.hp-gallery-reveal[data-morph-active="true"] .hp-gallery-reveal__mask {
	opacity: var(--gallery-frame-opacity, 0);
}

.hp-gallery-reveal__morph {
	position: absolute;
	inset: 0;
	z-index: 6;
	pointer-events: none;
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
	background: #0b0b0d;
}

.hp-gallery-reveal__morph[data-active="true"] {
	visibility: visible;
	opacity: 1;
}

.hp-gallery-reveal__morph-actor {
	position: absolute;
	top: var(--gallery-morph-y, 50%);
	left: var(--gallery-morph-x, 12%);
	right: auto;
	bottom: auto;
	width: var(--gallery-morph-size, 14vmin);
	height: var(--gallery-morph-size, 14vmin);
	transform: translate(-50%, -50%) translateY(var(--gallery-bounce-y, 0px)) rotate(var(--gallery-morph-rotate, 0deg));
	transform-origin: center center;
	will-change: transform, width, height, opacity, top, left;
}

.hp-gallery-reveal__morph-actor.is-linkable {
	pointer-events: auto;
	cursor: pointer;
}

.hp-gallery-reveal__morph-terabas {
	--terabas-gold: #c9a24d;
	--terabas-gold-soft: #dfc078;
	--terabas-white: #fff;
	--terabas-white-soft: rgb(255 255 255 / 0.78);
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.hp-gallery-reveal__morph-terabas-panel {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding-inline: var(--space-md);
}

.hp-gallery-reveal__morph-terabas-inner {
	display: grid;
	gap: var(--space-xl);
	width: min(100%, var(--site-width));
	margin-inline: auto;
	padding: clamp(2rem, 5vw, 3.5rem) var(--space-md);
	box-sizing: border-box;
	min-width: 0;
}

@media (min-width: 900px) {
	.hp-gallery-reveal__morph-terabas-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
	}

	.hp-gallery-reveal__morph-terabas-copy {
		padding-left: clamp(0.5rem, 1.4vw, 1.35rem);
	}
}

.hp-gallery-reveal__morph-terabas-copy {
	min-width: 0;
	max-width: 100%;
	color: var(--terabas-white);
}

.hp-gallery-reveal__morph-terabas-eyebrow {
	--terabas-rise: var(--gallery-terabas-step-0, 0);
}

.hp-gallery-reveal__morph-terabas-title {
	--terabas-rise: var(--gallery-terabas-step-1, 0);
}

.hp-gallery-reveal__morph-terabas-sub {
	--terabas-rise: var(--gallery-terabas-step-2, 0);
}

.hp-gallery-reveal__morph-terabas-text {
	--terabas-rise: var(--gallery-terabas-step-4, 0);
}

.hp-gallery-reveal__morph-terabas-link {
	--terabas-rise: var(--gallery-terabas-step-5, 0);
}

.hp-gallery-reveal__morph-terabas-visual {
	--terabas-rise: var(--gallery-terabas-step-3, 0);
	display: block;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	border-radius: 2px;
	pointer-events: auto;
	color: inherit;
	text-decoration: none;
}

.hp-gallery-reveal__morph-terabas-eyebrow,
.hp-gallery-reveal__morph-terabas-title,
.hp-gallery-reveal__morph-terabas-sub,
.hp-gallery-reveal__morph-terabas-text,
.hp-gallery-reveal__morph-terabas-link,
.hp-gallery-reveal__morph-terabas-visual {
	opacity: clamp(0, calc(var(--terabas-rise, 0) * 12), 1);
	transform: translateY(calc((1 - var(--terabas-rise, 0)) * 3.25rem));
}

.hp-gallery-reveal__morph-terabas-photo {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.hp-gallery-reveal__morph-terabas-lead {
	margin: 0 0 var(--space-md);
	font-size: 1rem;
	font-weight: 900;
	color: var(--terabas-white);
}

.hp-gallery-reveal__morph-terabas-text {
	margin: 0 0 var(--space-lg);
	font-size: calc(0.875rem + 2px);
	font-weight: 700;
	line-height: 2;
	color: var(--terabas-white-soft);
}

.hp-gallery-reveal__morph-terabas-link {
	pointer-events: auto;
	color: var(--terabas-gold);
}

.hp-gallery-reveal__morph-terabas .hp-gallery-reveal__morph-terabas-eyebrow {
	margin: 0 0 0.5rem;
	font-size: clamp(0.65rem, 1.2vw, 0.75rem);
	font-weight: 700;
	letter-spacing: 0.18em;
	color: var(--terabas-gold-soft);
}

.hp-gallery-reveal__morph-terabas .hp-gallery-reveal__morph-terabas-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2rem, 6vw, 3.5rem);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: 0.06em;
	color: var(--terabas-white);
}

.hp-gallery-reveal__morph-terabas .hp-gallery-reveal__morph-terabas-sub {
	margin: 0.65rem 0 0.75rem;
	font-size: clamp(0.875rem, 2vw, 1rem);
	font-weight: 900;
	letter-spacing: 0.08em;
	color: var(--terabas-gold);
}

.hp-gallery-reveal__morph-clip {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: calc(var(--gallery-morph-round, 1) * 50%);
	box-shadow:
		0 0.35rem 0.8rem rgb(0 0 0 / 0.35),
		inset -0.12em -0.18em 0.5em rgb(0 0 0 / 0.18);
	transition: box-shadow 0.2s linear;
}

.hp-gallery-reveal__morph-media {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vmax;
	height: 100vmax;
	transform: translate(-50%, -50%);
	opacity: calc(1 - var(--gallery-ball, 0) * 0.92);
}

.hp-gallery-reveal__morph-media .hp-circle-gallery {
	width: 100%;
	height: 100%;
	background: #0b0b0d;
}

.hp-gallery-reveal__morph-media .hp-circle-gallery__stage {
	transform: translate(-50%, -50%) rotate(-7deg) scale(1.2);
}

.hp-gallery-reveal__morph-ball-face {
	position: absolute;
	inset: 0;
	opacity: calc(var(--gallery-ball, 0) * (1 - var(--gallery-morph-photo, 0)));
	background: transparent;
	pointer-events: none;
}

.hp-gallery-reveal__morph-ball-svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 0.15em 0.35em rgb(0 0 0 / 0.28));
}

.hp-gallery-reveal__morph-photo {
	position: absolute;
	inset: 0;
	opacity: var(--gallery-morph-photo, 0);
	pointer-events: none;
	background: #1a1510;
}

.hp-gallery-reveal__morph-photo-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Keep layout space for the image column; the morph actor becomes the visible photo. */
.hp-gallery-reveal__morph-terabas-visual {
	visibility: hidden;
	pointer-events: none;
}

.hp-gallery-reveal__morph-terabas-visual .hp-gallery-reveal__morph-terabas-photo {
	opacity: 0;
}

.hp-gallery-reveal .hp-circle-gallery {
	height: 100%;
	--gallery-block-height: 100%;
	--gallery-col-width: clamp(8.4rem, 11.28vw, 12.6rem);
	width: 100%;
	margin-inline: 0;
}

.hp-gallery-reveal .hp-circle-gallery__stage {
	transform: translate(-50%, -50%) rotate(-7deg) scale(1.2);
}

.hp-circle-gallery {
	--gallery-col-width: clamp(7rem, 9.4vw, 10.5rem);
	--gallery-block-height: clamp(52rem, 92vw, 72rem);
	position: relative;
	background: #0b0b0d;
	width: 100%;
	margin-inline: 0;
	padding: 0;
	height: var(--gallery-block-height);
	min-height: 0;
	overflow: hidden;
}

.hp-circle-gallery__stage {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: clamp(0.45rem, 1vw, 0.75rem);
	width: 118%;
	height: 150%;
	margin: 0;
	padding-inline: clamp(0.75rem, 2vw, 1.5rem);
	transform: translate(-50%, -50%) rotate(-7deg);
	transform-origin: center center;
}

.hp-circle-gallery__col {
	flex: 0 0 var(--gallery-col-width);
	width: var(--gallery-col-width);
	min-height: 0;
	align-self: stretch;
	overflow: hidden;
}

.hp-circle-gallery__track {
	display: flex;
	flex-direction: column;
	gap: clamp(0.45rem, 1vw, 0.75rem);
	padding-block: clamp(0.45rem, 1vw, 0.75rem);
	width: 100%;
	will-change: transform;
}

.hp-circle-gallery__col:nth-child(odd) .hp-circle-gallery__track {
	animation: hp-circle-gallery-scroll-up calc(var(--gallery-duration, 20s) * 2) linear infinite;
	animation-delay: var(--gallery-delay, 0s);
}

.hp-circle-gallery__col:nth-child(even) .hp-circle-gallery__track {
	animation: hp-circle-gallery-scroll-down calc(var(--gallery-duration, 20s) * 4) linear infinite;
	animation-delay: var(--gallery-delay, 0s);
}

.hp-circle-gallery__photo {
	margin: 0;
	flex-shrink: 0;
	width: 100%;
	aspect-ratio: 2 / 3;
	border-radius: clamp(0.65rem, 1.4vw, 1rem);
	overflow: hidden;
	transform: rotate(var(--gallery-tilt, -3deg));
	box-shadow: 0 4px 14px rgb(0 0 0 / 0.28);
}

.hp-circle-gallery__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@keyframes hp-circle-gallery-scroll-up {
	from {
		transform: translateY(0);
	}

	to {
		transform: translateY(-50%);
	}
}

@keyframes hp-circle-gallery-scroll-down {
	from {
		transform: translateY(-50%);
	}

	to {
		transform: translateY(0);
	}
}

@media (max-width: 767px) {
	.hp-gallery-reveal__track {
		height: 1220vh;
	}

	.hp-gallery-reveal {
		--gallery-mask-r: 44vmin;
		--gallery-mask-x: 50%;
		--gallery-mask-y: 54%;
	}

	.hp-gallery-reveal .hp-circle-gallery {
		--gallery-col-width: clamp(7.2rem, 32.4vw, 9.6rem);
	}

	.hp-gallery-reveal .hp-circle-gallery__stage {
		transform: translate(-50%, -50%) rotate(-5deg) scale(1.2);
	}

	.hp-gallery-reveal__frame {
		height: clamp(52rem, 100vw, 72rem);
	}

	.hp-gallery-reveal__content {
		min-height: 100vh;
	}

	.hp-gallery-reveal__overlay-body {
		justify-content: flex-end;
		padding: calc(var(--header-height) + 0.65rem) clamp(0.75rem, 4vw, 1.25rem) clamp(1.5rem, 8vh, 3rem);
		box-sizing: border-box;
	}

	.hp-gallery-reveal__overlay-pair {
		flex-direction: column;
		align-items: center;
		gap: clamp(0.85rem, 2.5vh, 1.25rem);
	}

	.hp-gallery-reveal__vertical {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		margin: 0;
		font-size: clamp(1.2rem, 5.4vw, 1.45rem);
		letter-spacing: 0.1em;
		writing-mode: horizontal-tb;
		text-orientation: mixed;
		white-space: normal;
		text-align: center;
		line-height: 1.6;
		transform: translateY(calc((1 - var(--gallery-vertical-progress, 0)) * 10vh));
	}

	.hp-gallery-reveal__horizontal {
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		bottom: auto;
		width: min(22rem, 88vw);
		max-width: none;
		margin-right: 0;
		transform: translateY(calc((1 - var(--gallery-horizontal-progress, 0)) * 10vh));
	}

	.hp-gallery-reveal__text {
		font-size: clamp(1.125rem, 5.2vw, 1.35rem);
		line-height: 1.65;
		text-align: center;
	}

	.hp-gallery-reveal__line {
		text-align: center;
	}

	/* iPhone SE / short viewports: keep catch copy under the logo */
	@media (max-height: 720px) {
		.hp-gallery-reveal__overlay-body {
			padding-top: calc(var(--header-height) + 0.85rem);
			padding-bottom: clamp(0.85rem, 3.5vh, 1.35rem);
		}

		.hp-gallery-reveal__overlay-pair {
			gap: 0.55rem;
		}

		.hp-gallery-reveal__vertical {
			font-size: clamp(1.02rem, 4.5vw, 1.18rem);
			line-height: 1.42;
			letter-spacing: 0.06em;
		}

		.hp-gallery-reveal__text {
			font-size: clamp(0.95rem, 4.2vw, 1.12rem);
			line-height: 1.48;
		}
	}

	.hp-gallery-reveal__morph-terabas-panel {
		align-items: flex-start;
		padding-top: calc(var(--header-height) + clamp(0.85rem, 2.8vh, 1.65rem));
		padding-bottom: clamp(0.75rem, 2.5vh, 1.25rem);
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.hp-gallery-reveal__morph-terabas-inner {
		display: flex;
		flex-direction: column;
		gap: 0.7rem;
		padding: clamp(1.5rem, 4vw, 2.5rem) var(--space-md);
	}

	.hp-gallery-reveal__morph-terabas-copy {
		display: contents;
	}

	.hp-gallery-reveal__morph-terabas-eyebrow {
		order: 1;
	}

	.hp-gallery-reveal__morph-terabas-title {
		order: 2;
	}

	.hp-gallery-reveal__morph-terabas-sub {
		order: 3;
	}

	.hp-gallery-reveal__morph-terabas-text {
		order: 4;
		margin: 0;
	}

	.hp-gallery-reveal__morph-terabas-link {
		display: none;
	}

	.hp-gallery-reveal__morph-terabas-visual {
		order: 5;
		max-width: min(100%, 18.5rem);
		margin-inline: auto;
	}

	.hp-gallery-reveal__morph-terabas-photo {
		max-height: 32vh;
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}

	/* iPhone SE / short viewports: keep copy and photo stacked without overlap */
	@media (max-height: 720px) {
		.hp-gallery-reveal__morph-terabas-panel {
			padding-top: calc(var(--header-height) + 0.45rem);
			padding-bottom: 0.45rem;
		}

		.hp-gallery-reveal__morph-terabas-inner {
			gap: 0.35rem;
			padding: 0.35rem var(--space-md) 0.5rem;
		}

		.hp-gallery-reveal__morph-terabas .hp-gallery-reveal__morph-terabas-eyebrow {
			margin-bottom: 0.2rem;
			font-size: 0.62rem;
		}

		.hp-gallery-reveal__morph-terabas .hp-gallery-reveal__morph-terabas-title {
			font-size: clamp(1.45rem, 7.5vw, 1.85rem);
			line-height: 1.05;
		}

		.hp-gallery-reveal__morph-terabas .hp-gallery-reveal__morph-terabas-sub {
			margin: 0.25rem 0 0.35rem;
			font-size: 0.8rem;
		}

		.hp-gallery-reveal__morph-terabas-text {
			margin: 0;
			font-size: 0.78rem;
			line-height: 1.55;
		}

		.hp-gallery-reveal__morph-terabas-visual {
			max-width: min(100%, 17.5rem);
		}

		.hp-gallery-reveal__morph-terabas-photo {
			max-height: 28vh;
		}
	}

	.hp-circle-gallery {
		--gallery-col-width: clamp(6rem, 27vw, 8rem);
		--gallery-block-height: clamp(44rem, 104vw, 60rem);
	}

	.hp-circle-gallery__stage {
		width: 122%;
		height: 155%;
		gap: clamp(0.35rem, 2.5vw, 0.55rem);
		transform: translate(-50%, -50%) rotate(-5deg);
	}
}

/* Buttons & links */

.hp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 10rem;
	padding: 0.85em 1.5em;
	font-size: 0.8125rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-decoration: none;
	border: 1px solid transparent;
	transition: opacity 0.2s ease, background 0.2s ease;
}

.hp-btn:hover {
	opacity: 0.9;
}

.hp-btn--accent {
	color: #fff;
	background: var(--color-accent);
	border-color: var(--color-accent);
}

.hp-btn--ghost {
	color: #fff;
	background: transparent;
	border-color: rgb(255 255 255 / 0.75);
}

.hp-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-size: 0.8125rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	color: inherit;
	text-decoration: none;
	text-transform: uppercase;
}

.hp-link-arrow::after {
	content: "→";
}

.hp-eyebrow {
	margin: 0 0 0.35em;
	font-size: 0.6875rem;
	font-weight: 900;
	letter-spacing: 0.2em;
	color: var(--color-accent);
	text-transform: uppercase;
}

.hp-eyebrow--light {
	color: rgb(255 255 255 / 0.85);
}

/* Intro */

.hp-intro {
	padding-block: var(--space-xl);
	background: #fff;
}

.hp-intro__grid {
	display: grid;
	gap: var(--space-lg);
}

@media (min-width: 900px) {
	.hp-intro__grid {
		grid-template-columns: 1fr 1fr;
		align-items: center;
		min-height: 28rem;
	}
}

.hp-intro__media {
	position: relative;
	min-height: 16rem;
	overflow: hidden;
	border-radius: 2px;
}

.hp-intro__photo {
	width: 100%;
	height: 100%;
	min-height: 16rem;
	object-fit: cover;
}

.hp-intro__body {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0;
}

.hp-intro__crest {
	position: absolute;
	right: -2rem;
	top: 50%;
	width: min(70vw, 22rem);
	opacity: 0.06;
	transform: translateY(-50%);
	pointer-events: none;
}

.hp-intro__title {
	position: relative;
	margin: 0 0 var(--space-md);
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 900;
	line-height: 1.35;
}

.hp-intro__text {
	position: relative;
	margin: 0;
	max-width: 28rem;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 2;
	color: #444;
}

/* Dark bands */

.hp-band {
	padding-block: var(--space-sm);
	background: #0b0b0d;
}

.hp-band__panel {
	overflow: hidden;
	max-width: 100%;
}

.hp-band--dark {
	color: #fff;
	background: #0b0b0d;
}

.hp-band__inner {
	display: grid;
	gap: var(--space-xl);
	padding: clamp(2rem, 5vw, 3.5rem) var(--space-md);
	min-width: 0;
	box-sizing: border-box;
}

@media (min-width: 900px) {
	.hp-band__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
	}
}

.hp-band__copy,
.hp-events__slider {
	min-width: 0;
	max-width: 100%;
}

.hp-band__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: 0.02em;
	overflow-wrap: anywhere;
}

.hp-band__sub {
	margin: 0.75rem 0 var(--space-md);
	font-size: 1rem;
	font-weight: 900;
	opacity: 0.9;
}

.hp-band__text {
	margin: 0 0 var(--space-lg);
	max-width: 100%;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 2;
	color: rgb(255 255 255 / 0.72);
}

/* Events grid */

.hp-events {
	--terabas-gold: #c9a24d;
	--terabas-gold-soft: #dfc078;
	--terabas-white: #fff;
	--terabas-white-soft: rgb(255 255 255 / 0.78);
}

@media (max-width: 899px) {
	.hp-events .hp-band__inner {
		gap: var(--space-md);
	}
}

@media (min-width: 768px) and (max-width: 899px) {
	.hp-gallery-reveal__morph-terabas-inner {
		gap: var(--space-md);
	}
}

.hp-events [data-events-step] {
	--events-rise: 0;
	opacity: clamp(0, calc(var(--events-rise, 0) * 12), 1);
	transform: translateY(calc((1 - var(--events-rise, 0)) * 3.25rem));
}

.hp-events[data-events-ready="true"] [data-events-step] {
	will-change: auto;
}

.hp-events .hp-eyebrow {
	color: var(--terabas-gold-soft);
}

.hp-events .hp-band__title {
	color: var(--terabas-white);
}

.hp-events .hp-band__sub {
	color: var(--terabas-gold);
	opacity: 1;
}

.hp-events .hp-band__text {
	color: var(--terabas-white-soft);
	font-size: calc(0.875rem + 2px);
}

.hp-events .hp-link-arrow {
	color: var(--terabas-gold);
}

.hp-events__slider {
	--events-slider-index: 0;
	--events-slider-offset: 0px;
	position: relative;
	width: min(100%, 28rem);
	margin-inline: auto;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.hp-events__viewport {
	position: relative;
	aspect-ratio: 1;
	width: 100%;
	overflow: hidden;
	border-radius: 50%;
	cursor: grab;
	background: #1a1510;
	box-shadow: 0 1.25rem 2.5rem rgb(0 0 0 / 0.28);
}

.hp-events__slider[data-dragging="true"] .hp-events__viewport {
	cursor: grabbing;
}

.hp-events__track {
	display: flex;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	transform: translate3d(calc(var(--events-slider-index) * -100% + var(--events-slider-offset)), 0, 0);
	transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
	will-change: transform;
}

.hp-events__slider[data-dragging="true"] .hp-events__track {
	transition: none;
}

.hp-events__slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	min-width: 0;
	margin: 0;
	overflow: hidden;
}

.hp-events__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	-webkit-user-drag: none;
}

.hp-events__dots {
	display: flex;
	justify-content: center;
	gap: 0.65rem;
	margin-top: 1.25rem;
}

.hp-events__dot {
	width: 0.65rem;
	height: 0.65rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.28);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.hp-events__dot[aria-current="true"] {
	background: var(--terabas-gold);
	transform: scale(1.12);
}

.hp-events__drag {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 40;
	display: none;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	width: 6.5rem;
	height: 6.5rem;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.72);
	backdrop-filter: blur(10px);
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, -50%);
	transition: opacity 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
	.hp-events__slider[data-hover="true"] .hp-events__drag {
		display: flex;
		opacity: 1;
	}
}

.hp-events__drag-pointer {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: #6f6f6f;
}

.hp-events__drag-arrow {
	width: 0.45rem;
	height: 0.45rem;
	border-top: 1.5px solid #6f6f6f;
	border-right: 1.5px solid #6f6f6f;
}

.hp-events__drag-arrow--left {
	transform: rotate(-135deg);
}

.hp-events__drag-arrow--right {
	transform: rotate(45deg);
}

@media (min-width: 900px) {
	.hp-events .hp-band__copy {
		order: 2;
	}

	.hp-events__slider {
		order: 1;
		width: min(100%, 32rem);
		justify-self: start;
	}
}

/* Services */

.hp-services {
	padding-block: var(--space-xl);
	background: #fff;
}

.hp-services__box {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-height: 0;
	padding: clamp(2rem, 4vw, 3rem) var(--space-md) 0;
	border-radius: 2px;
}

.hp-services__bg {
	position: absolute;
	inset: 0;
	opacity: 0.12;
}

.hp-services__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

.hp-services__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1;
	flex-direction: column;
	text-align: center;
}

.hp-services__title {
	margin: 0 auto var(--space-md);
	max-width: 20em;
	font-family: var(--font-hero);
	font-size: clamp(1.375rem, 3.5vw, 2rem);
	font-weight: 700;
	line-height: 1.75;
	color: #0b0b0d;
}

.hp-services__text {
	margin: 0 auto;
	max-width: 36rem;
	font-family: var(--font-hero);
	font-size: calc(0.875rem + 2px);
	font-weight: 700;
	line-height: 2;
	color: #222;
}

.hp-services__links {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(0.75rem, 2.5vw, 1rem);
	width: calc(100% - clamp(0.75rem, 2vw, 1.25rem) * 2);
	max-width: min(100%, 26rem);
	margin-top: auto;
	margin-inline: auto;
	padding: clamp(1.25rem, 3vw, 1.75rem) 0 clamp(0.35rem, 1.2vw, 0.65rem);
}

@media (min-width: 700px) {
	.hp-services__links {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: none;
		gap: clamp(0.45rem, 1.1vw, 0.75rem);
	}
}

.hp-service-link {
	display: block;
	padding: 0;
	overflow: hidden;
	text-decoration: none;
	border: 1px solid #c9a962;
	background: rgb(255 255 255 / 0.92);
	transition: background 0.2s ease, opacity 0.2s ease;
}

.hp-service-link:hover {
	background: #fff;
	opacity: 0.92;
}

.hp-service-link__photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center bottom;
}

/* Instagram */

.hp-instagram {
	padding-block: var(--space-sm);
	background: #0b0b0d;
}

.hp-instagram__inner {
	padding: clamp(2rem, 5vw, 3.5rem) var(--space-md);
	min-width: 0;
	box-sizing: border-box;
}

.hp-instagram__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--space-md);
	margin-bottom: var(--space-lg);
}

.hp-instagram__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 900;
	line-height: 1.2;
	color: #fff;
}

.hp-instagram__text {
	margin: 0.75em 0 0;
	max-width: 36em;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 2;
	color: rgb(255 255 255 / 0.72);
}

.hp-instagram__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-sm);
}

@media (min-width: 600px) {
	.hp-instagram__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.hp-instagram__item {
	display: block;
	overflow: hidden;
	min-width: 0;
	border-radius: 2px;
	transition: opacity 0.2s ease;
}

.hp-instagram__item:hover {
	opacity: 0.85;
}

.hp-instagram__photo {
	display: block;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

/* Smash Balloon / third-party / official embed */
.hp-instagram__feed {
	min-width: 0;
}

.hp-instagram__feed--embed {
	display: flex;
	justify-content: center;
}

.hp-instagram__feed--embed .instagram-media {
	margin-inline: auto !important;
}

.hp-instagram__feed #sb_instagram,
.hp-instagram__feed .sbi {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

.hp-instagram__feed #sbi_images {
	float: none !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.hp-instagram__feed .sbi_item,
.hp-instagram__feed .sbi_photo_wrap {
	border-radius: 2px;
	overflow: hidden;
}

.hp-instagram__feed .sbi_photo img {
	border-radius: 0;
}

/* Unhide Smash Balloon chrome; keep plugin layout (side-by-side buttons) */
.hp-instagram__feed .sb_instagram_header,
.hp-instagram__feed .sbi_header_link {
	display: block !important;
}

.hp-instagram__feed #sbi_load {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
	float: none !important;
	width: 100% !important;
	margin-top: 1.5rem !important;
	padding-top: 0.25rem;
	text-align: center;
}

.hp-instagram__feed #sbi_load > a,
.hp-instagram__feed #sbi_load .sbi_load_btn,
.hp-instagram__feed #sbi_load .sbi_follow_btn,
.hp-instagram__feed .sbi_follow_btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	vertical-align: middle;
	line-height: 1.2;
	box-sizing: border-box;
}

.hp-instagram__feed #sbi_load .sbi_follow_btn a,
.hp-instagram__feed .sbi_follow_btn a {
	display: inline-flex !important;
	align-items: center;
	margin: 0 !important;
	line-height: inherit;
}
