/**
 * TechBBQ Startup Program Hero — program pages with optional logo and custom orb background.
 *
 * Figma North Star Pitch: 7164:72200 / 7164:71967 / 7164:71732 / 7164:70674
 * Hero height and orb treatment match page-hero.css (first-screen viewport, orb cover fill).
 *
 * Breakpoints (mobile-first): 0–767 (base), 768–1023, 1024–1439, 1440+.
 */

.techbbq-startup-program-hero {
	--techbbq-page-hero-header-offset: calc(
		var(--techbbq-banner-height) + var(--techbbq-space-1) + var(--techbbq-hero-header-bar, 72px)
	);
	--techbbq-page-hero-breadcrumb-gap: var(--techbbq-space-3);
	--techbbq-page-hero-breadcrumbs-top: calc(
		var(--techbbq-space-1) + var(--techbbq-hero-header-bar, 72px) + var(--techbbq-page-hero-breadcrumb-gap)
	);
	--techbbq-page-hero-first-screen-offset: var(--techbbq-banner-height);
	--techbbq-page-hero-screen-height: calc(var(--techbbq-vh, 1vh) * 100 - var(--techbbq-page-hero-first-screen-offset));

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

.techbbq-startup-program-hero__orb {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
}

.techbbq-startup-program-hero--startup-showcase img.techbbq-startup-program-hero__logo {
	width: 112px;
	height: 48px;
}

.techbbq-startup-program-hero__intro {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: auto;
	min-height: var(--techbbq-page-hero-screen-height);
	max-height: none;
	overflow: hidden;
	gap: var(--techbbq-space-2);
	padding-top: calc(var(--techbbq-page-hero-header-offset) + var(--techbbq-space-2));
	padding-bottom: var(--techbbq-space-2);
}

.techbbq-startup-program-hero__breadcrumbs-slot {
	position: absolute;
	top: var(--techbbq-page-hero-breadcrumbs-top);
	right: 0;
	left: 0;
	z-index: 2;
}

.techbbq-startup-program-hero__breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--techbbq-space-1);
	align-items: center;
	margin: 0;
	font-family: var(--techbbq-font-family-body);
	font-size: var(--techbbq-text-paragraph-s-size);
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.techbbq-startup-program-hero__breadcrumb-link,
.techbbq-startup-program-hero__breadcrumb-muted,
.techbbq-startup-program-hero__breadcrumb-sep {
	color: var(--techbbq-content-secondary);
}

.techbbq-startup-program-hero__breadcrumb-link {
	text-decoration: none;
}

.techbbq-startup-program-hero__breadcrumb-link:hover,
.techbbq-startup-program-hero__breadcrumb-link:focus-visible {
	color: var(--techbbq-content-primary);
}

.techbbq-startup-program-hero__breadcrumb-current {
	color: var(--techbbq-content-primary);
}

.techbbq-startup-program-hero__title-group {
	display: flex;
	flex-direction: column;
	gap: var(--techbbq-space-2);
	width: 100%;
}

.techbbq-startup-program-hero__event-meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--techbbq-space-1);
	align-items: center;
	margin: 0;
	font-family: var(--techbbq-font-family-body);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--techbbq-content-primary);
}

.techbbq-startup-program-hero__event-meta-sep {
	flex-shrink: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--techbbq-content-primary);
	opacity: 0.85;
}

.techbbq-startup-program-hero__logo-wrap {
	display: flex;
	align-items: flex-start;
	padding-left: var(--techbbq-space-1);
}

img.techbbq-startup-program-hero__logo {
	display: block;
	width: auto;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.techbbq-startup-program-hero__title {
	margin: 0;
}

.techbbq-startup-program-hero__description {
	max-width: none;
	margin: 0;
	font-size: var(--techbbq-text-paragraph-m-size);
	line-height: 1.4;
	letter-spacing: 0;
}

.techbbq-startup-program-hero__actions {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: var(--techbbq-space-1);
	align-items: stretch;
	width: 100%;
}

.techbbq-startup-program-hero__actions .techbbq-btn {
	width: 100%;
}

.techbbq-startup-program-hero__tertiary-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	box-sizing: border-box;
	width: 100%;
	padding: 10px;
	font-family: var(--techbbq-font-family-body);
	font-size: var(--techbbq-text-paragraph-s-size);
	font-weight: 500;
	line-height: normal;
	color: var(--techbbq-content-primary);
	text-decoration: none;
	letter-spacing: 0.01em;
}

.techbbq-startup-program-hero__tertiary-link:hover,
.techbbq-startup-program-hero__tertiary-link:focus-visible {
	color: var(--techbbq-content-primary);
	text-decoration: none;
	opacity: 0.85;
}

.techbbq-startup-program-hero__tertiary-link-icon {
	display: block;
	flex-shrink: 0;
	width: 12px;
	height: 12px;
}

.techbbq-startup-program-hero__tertiary-note {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 10px;
	font-family: var(--techbbq-font-family-body);
	font-size: var(--techbbq-text-paragraph-s-size);
	font-weight: 500;
	line-height: normal;
	color: var(--techbbq-content-primary);
	text-align: center;
	letter-spacing: 0.01em;
}

/* ── Tablet (768–1023) ──────────────────────────────────────── */
@media (min-width: 768px) {
	.techbbq-startup-program-hero {
		--techbbq-page-hero-screen-height: 600px;
	}

	.techbbq-startup-program-hero__intro {
		min-height: 600px;
		gap: var(--techbbq-space-4);
		padding-top: var(--techbbq-section-space-small);
		padding-bottom: var(--techbbq-section-space-medium);
	}

	.techbbq-startup-program-hero__title-group {
		gap: var(--techbbq-space-3);
	}

	.techbbq-startup-program-hero__event-meta {
		font-size: 22px;
		letter-spacing: -0.22px;
	}

	.techbbq-startup-program-hero--has-logo .techbbq-startup-program-hero__title-group {
		gap: var(--techbbq-space-3);
	}

	.techbbq-startup-program-hero__title {
		font-size: 42px;
		letter-spacing: -0.42px;
	}

	.techbbq-startup-program-hero__description {
		max-width: 809px;
		font-size: 20px;
		line-height: var(--techbbq-text-paragraph-line-height);
		letter-spacing: 0.02em;
	}

	.techbbq-startup-program-hero__actions {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		width: auto;
	}

	.techbbq-startup-program-hero__actions .techbbq-btn {
		width: auto;
	}

	.techbbq-startup-program-hero__tertiary-link {
		width: auto;
		font-size: var(--techbbq-text-paragraph-m-size);
	}

	.techbbq-startup-program-hero__tertiary-note {
		width: auto;
		font-size: var(--techbbq-text-paragraph-m-size);
	}
}

/* ── Desktop (1024–1439) ──────────────────────────────────────── */
@media (min-width: 1024px) {
	.techbbq-startup-program-hero {
		--techbbq-page-hero-screen-height: 700px;
	}

	.techbbq-startup-program-hero__intro {
		min-height: 700px;
	}

	.techbbq-startup-program-hero__title {
		font-size: 44px;
		letter-spacing: -0.44px;
	}

	.techbbq-startup-program-hero__description {
		font-size: var(--techbbq-text-paragraph-l-size);
		line-height: var(--techbbq-text-paragraph-line-height);
		letter-spacing: var(--techbbq-text-paragraph-letter-spacing);
	}
}
