/**
 * TechBBQ Hero — Home intro screen with orb gradient
 *
 * Figma refs: 1440 / 1024 / 768 / 360 (Home frame 4299:20487).
 * Content width uses shared .section-inner (see layout.css).
 *
 * Breakpoints (mobile-first): 0–767 (base), 768–1023, 1024–1440, 1440+.
 */

.techbbq-hero {
	--techbbq-hero-header-offset: calc(
		var(--techbbq-banner-height) + var(--techbbq-space-1) + var(--techbbq-hero-header-bar, 72px)
	);
	--techbbq-hero-first-screen-offset: var(--techbbq-banner-height);
	--techbbq-hero-screen-height: calc(var(--techbbq-vh, 1vh) * 100 - var(--techbbq-hero-first-screen-offset));

	position: relative;
	width: 100%;
	color: var(--techbbq-content-primary);
	background-color: var(--techbbq-bg-main);
}

.techbbq-hero__orb {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.techbbq-hero__intro {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: var(--techbbq-space-3);
	height: var(--techbbq-hero-screen-height);
	max-height: var(--techbbq-hero-screen-height);
	min-height: var(--techbbq-hero-screen-height);
	padding-bottom: var(--techbbq-space-3);
	overflow: hidden;
}

.techbbq-hero__intro-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 0;
}

.techbbq-hero__content {
	display: flex;
	flex-direction: column;
	align-items: start;
	width: 100%;
	text-align: start;
}

.techbbq-hero__title-group {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.techbbq-hero__brow {
	display: flex;
	flex-wrap: wrap;
	gap: var(--techbbq-space-1);
	align-items: center;
	margin: 0;
	font-family: var(--techbbq-hero-brow-font);
	font-size: var(--techbbq-hero-brow-size);
	font-weight: 500;
	line-height: var(--techbbq-hero-brow-line-height);
	letter-spacing: var(--techbbq-hero-brow-letter-spacing);
}

.techbbq-hero__brow-legacy,
.techbbq-hero__brow-date,
.techbbq-hero__brow-location {
	white-space: nowrap;
}

.techbbq-hero__brow-dot {
	flex-shrink: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--techbbq-content-primary);
}

.techbbq-hero__title {
	margin: 0;
}

.techbbq-hero__description {
	margin: 0;
	max-width: 65ch;
}

.techbbq-hero__actions {
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	gap: var(--techbbq-space-1);
	width: 100%;
}

.techbbq-hero__highlights:focus-visible {
	outline: 2px solid var(--techbbq-content-primary);
	outline-offset: 2px;
}

.techbbq-hero__highlights {
	display: inline-flex;
	gap: var(--techbbq-space-1);
	align-items: center;
	border: 0;
	background: transparent;
	color: var(--techbbq-content-primary);
	font-family: var(--techbbq-font-family-body);
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.techbbq-hero__play-icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

/* Relocated from @media (max-width: 768px) + @media (max-width: 767px) — mobile (0–767) */
.techbbq-hero {
	--techbbq-hero-brow-size: 16px;
	--techbbq-hero-brow-line-height: 1.2;
	--techbbq-hero-brow-letter-spacing: 0;
	--techbbq-hero-brow-font: var(--techbbq-font-family-heading);
}

.techbbq-hero__intro {
	padding-top: calc(var(--techbbq-hero-header-offset) + var(--techbbq-space-2));
}

.techbbq-hero__content,
.techbbq-hero__title-group {
	gap: var(--techbbq-space-2);
}

.techbbq-hero__actions {
	flex-direction: column;
	align-items: stretch;
	width: 100%;
}

.techbbq-hero__highlights {
	width: 100%;
	min-height: 36px;
	padding: 8px;
	font-size: var(--techbbq-text-paragraph-s-size);
	justify-content: center;
}

/* ── Tablet (768–1023) ──────────────────────────────────────── */
@media (min-width: 768px) {
	/* Relocated from @media (max-width: 768px) */
	.techbbq-hero {
		--techbbq-hero-brow-size: 22px;
		--techbbq-hero-brow-line-height: 1.1;
		--techbbq-hero-brow-letter-spacing: -0.01em;
		--techbbq-hero-brow-font: "Inter", system-ui, sans-serif;
	}

	.techbbq-hero__intro {
		padding-top: calc(var(--techbbq-hero-header-offset) + var(--techbbq-section-space-small));
	}

	.techbbq-hero__content,
	.techbbq-hero__title-group {
		gap: var(--techbbq-space-3);
	}

	.techbbq-hero__actions {
		flex-direction: row;
		align-items: center;
	}

	.techbbq-hero__highlights {
		width: auto;
		min-height: 36px;
		padding: 8px;
		font-size: var(--techbbq-text-paragraph-s-size);
		justify-content: unset;
	}
}

/* ── Desktop (1024–1440) ──────────────────────────────────────── */
@media (min-width: 1024px) {
	/* Relocated from original base (desktop defaults) */
	.techbbq-hero {
		--techbbq-hero-brow-size: var(--techbbq-text-h6-size);
		--techbbq-hero-brow-line-height: var(--techbbq-text-h6-line-height);
		--techbbq-hero-brow-letter-spacing: var(--techbbq-text-h6-letter-spacing);
		--techbbq-hero-brow-font: var(--techbbq-font-family-heading);
	}

	.techbbq-hero__highlights {
		min-height: 44px;
		padding: 10px;
		font-size: var(--techbbq-text-paragraph-m-size);
	}
}
