/*
 * Front-page identity, hero composition, and event metadata.
 * Global shell and reusable components live in site.css/components.css.
 */

.upgrade-home {
	margin: 0;
	max-width: none;
	padding: 0;
}

.upgrade-home > * {
	margin-block-start: 0;
}

.upgrade-home img {
	height: auto;
}

.upgrade-home section {
	position: relative;
}

.upgrade-home a {
	color: inherit;
	text-decoration: none;
}

.seclabel {
	align-items: center;
	color: var(--u27-cyan);
	display: inline-flex;
	font-size: 13px;
	font-weight: var(--w-bold);
	gap: 14px;
	letter-spacing: var(--tracking-caps);
	margin-bottom: 30px;
	text-transform: uppercase;
}

.seclabel .n {
	color: rgba(255, 255, 255, 0.4);
	font-variant-numeric: tabular-nums;
}

.seclabel .ln {
	background: rgba(255, 255, 255, 0.3);
	height: 1px;
	width: 46px;
}

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.in {
	opacity: 1;
	transform: none;
}

.editor-styles-wrapper .reveal {
	opacity: 1;
	transform: none;
}

.d1 { transition-delay: 80ms; }
.d2 { transition-delay: 160ms; }
.d3 { transition-delay: 240ms; }


.hero {
	--hero-focus-x: 50%;
	--hero-focus-y: 50%;
	align-items: center;
	background: #04060f;
	display: flex;
	isolation: isolate;
	min-height: 100svh;
	overflow: hidden;
}

.hero__photo,
.hero__darken {
	inset: 0;
	position: absolute;
}

.hero__photo,
.hero__photo .wp-block-image,
.hero__photo-image {
	height: 100%;
	margin: 0;
	width: 100%;
}

.hero__photo img {
	height: 100%;
	object-fit: cover;
	object-position: var(--hero-focus-x) var(--hero-focus-y);
	width: 100%;
}

.hero__darken {
	background: rgba(0, 0, 0, 0.4);
}

.hero__inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100svh;
	padding-bottom: 0;
	padding-top: 96px;
	position: relative;
	width: 100%;
}

.hero__lockup {
	aspect-ratio: 2490 / 824;
	position: relative;
	width: 100%;
}

.hero__lockup .hero__logo {
	height: 100%;
	inset: 0;
	margin: 0;
	mix-blend-mode: screen;
	position: absolute;
	width: 100%;
}

.hero__lockup .hero__logo img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.hero__date {
	color: var(--u27-cyan);
	font-size: clamp(15px, 1.55vw, 26px);
	font-weight: var(--w-bold);
	left: 70%;
	letter-spacing: 0.01em;
	position: absolute;
	text-shadow: 0 1px 18px rgba(0, 0, 0, 0.6);
	top: 100%;
	white-space: nowrap;
	z-index: 4;
	margin: 0;
}

.hero__utility {
	gap: 24px;
	margin-top: clamp(48px, 7vh, 76px);
	width: 100%;
}

.hero__actions {
	gap: 12px;
}

.hero__actions .wp-block-button__link {
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: var(--radius-button);
	font-size: 13px;
	font-weight: var(--w-bold);
	letter-spacing: 0.04em;
	min-width: 150px;
	padding: 13px 22px;
	text-align: center;
	text-transform: uppercase;
}

.hero__actions .hero__action-primary .wp-block-button__link {
	background: var(--u27-cyan);
	border-color: var(--u27-cyan);
	color: var(--button-ink);
}

.hero__actions .wp-block-button__link:hover,
.hero__actions .wp-block-button__link:focus-visible {
	background: #fff;
	border-color: #fff;
	color: #04060f;
}

.hero__audience {
	color: rgba(255, 255, 255, 0.72);
	font-size: 11px;
	font-weight: var(--w-bold);
	letter-spacing: 0.18em;
	margin: 0;
	text-transform: uppercase;
}

/*
 * Below wide desktop—or whenever a desktop window becomes square/portrait—
 * preserve Dave's supplied 16:9 composition instead of forcing it through an
 * increasingly tall cover crop. The artwork becomes a centered, uncropped
 * stage above a black continuation, with the lockup bridging the two areas.
 */
@media (max-width: 1279px), (max-aspect-ratio: 4 / 3) {
	.hero {
		--hero-art-height: calc(100vw * 1083 / 1929);
		align-items: flex-start;
		min-height: 0;
	}

	.hero__photo,
	.hero__darken {
		bottom: auto;
		height: var(--hero-art-height);
		left: 0;
		right: 0;
		top: 0;
		transform: none;
		width: 100%;
	}

	.hero__photo img {
		object-fit: contain;
	}

	.hero__inner {
		justify-content: flex-start;
		min-height: calc(var(--hero-art-height) + clamp(280px, 28vw, 340px));
		padding-bottom: 56px;
		padding-left: 0;
		padding-right: 0;
		padding-top: 0;
		max-width: none;
	}

	.hero__lockup {
		/*
		 * Dave's 1358 × 782 reference contains a 1341 × 755 (16:9) art stage.
		 * Its 2490 × 824 lockup is 88.75% of the stage width and begins 30.7%
		 * down the stage. Keeping those ratios makes the title scale and remain
		 * centered with the photograph instead of falling below it.
		 */
		left: 5.625%;
		margin: 0;
		position: absolute;
		top: calc(var(--hero-art-height) * 0.307);
		transform: none;
		width: 88.75%;
	}

	.hero__date {
		left: auto;
		right: 5%;
		top: 100%;
	}

	.hero__utility {
		align-items: center;
		flex-direction: column;
		left: 50%;
		margin: 0;
		position: absolute;
		text-align: center;
		top: calc(var(--hero-art-height) * 0.87);
		transform: translateX(-50%);
		width: min(calc(100% - 40px), 540px);
	}
}

@media (min-width: 901px) and (max-width: 1279px),
	(min-width: 901px) and (max-aspect-ratio: 4 / 3) {
	.hero__inner {
		min-height: var(--hero-art-height);
		padding-bottom: 0;
	}

	.hero__utility {
		flex-direction: row;
		left: clamp(20px, 4vw, 64px);
		right: clamp(20px, 4vw, 64px);
		top: calc(var(--hero-art-height) * 0.87);
		transform: none;
		width: auto;
	}
}

.meta {
	background: #04060f;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.meta .wrap {
	background: rgba(255, 255, 255, 0.1);
	background-clip: content-box;
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(4, 1fr);
}

.meta .item {
	background: #04060f;
	display: flex;
	flex-direction: column;
	gap: 6px;
	justify-content: center;
	padding: 24px clamp(20px, 3vw, 40px);
}

.meta .item:first-child {
	padding-left: 0;
}

.meta .k {
	color: rgba(255, 255, 255, 0.5);
	font-size: 12px;
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	margin: 0;
}

.meta .v {
	color: #fff;
	font-size: clamp(17px, 1.5vw, 22px);
	font-weight: var(--w-bold);
	letter-spacing: -0.01em;
	margin: 0;
}

.meta .cy {
	color: var(--u27-cyan);
}


@media (max-width: 900px) {
	.hero__utility {
		top: calc(var(--hero-art-height) + 20px);
	}
}

@media (max-width: 880px) {
	.hero__date {
		font-size: 15px;
	}
}

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

	.meta .item:nth-child(odd) {
		padding-left: 0;
	}
}

@media (max-width: 600px) {
	.hero__actions {
		display: grid;
		grid-template-columns: 1fr;
		max-width: none;
		width: 100%;
	}

	.hero__actions .wp-block-button,
	.hero__actions .wp-block-button__link {
		width: 100%;
	}

	.hero__actions .wp-block-button__link {
		display: block;
		min-width: 0;
		padding-left: 14px;
		padding-right: 14px;
	}
}

@media (max-width: 480px) {
	.meta .wrap {
		grid-template-columns: 1fr;
	}

	.meta .item {
		padding-left: 0;
	}

	.hero__date {
		left: auto;
		right: 3%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
