/* ============================================================
   HERO SECTION — hero.css
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800;900&family=Inter:wght@300;400;500;600&display=swap");

/* ── CSS Variables ── */
:root {
	--hero-bg: #ebe9e4;
	--hero-navy: #001666;
	--hero-accent: #8b3535;
	--hero-muted: #6b5b5b;
	--hero-tag-border: rgba(0, 22, 102, 0.22);
}

/* ── Section ── */
#hero {
	background-color: var(--hero-bg);
	/* background-image: url("../assets/heroBg.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 100vh; */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 124px 32px 80px;
	box-sizing: border-box;
	overflow: hidden;
}

/* ── Container ── */
.hero-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 2;
}

/* ────────────────────────────────────────
   TAGLINE
──────────────────────────────────────── */
.hero-tagline {
	font-family: "Inter", sans-serif;
	font-size: clamp(9px, 1vw, 13px);
	font-weight: 500;
	color: var(--hero-accent);
	letter-spacing: 0.28em;
	text-transform: uppercase;
	margin: 0 0 20px;

	/* entrance animation */
	opacity: 0;
	transform: translateY(16px);
	animation: heroFadeUp 0.65s ease forwards;
	animation-delay: 0ms;
}

.hero-tagline__role,
.hero-tagline__location {
	display: inline;
}

.hero-tagline__sep {
	display: inline;
	margin: 0 0.45em;
}

/* ────────────────────────────────────────
   NAME BLOCK  (big text + circular photo)
──────────────────────────────────────── */
.hero-name-block {
	position: relative;
	width: 100%;
	text-align: center;
	line-height: 0.88;
	margin-bottom: 28px;
}

.hero-name-line {
	font-family: "Big Shoulders Display", sans-serif;
	font-size: clamp(72px, 17vw, 220px);
	font-weight: 900;
	color: var(--hero-navy);
	display: block;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	user-select: none;
}

.hero-name-first {
	opacity: 0;
	transform: translateY(20px);
	animation: heroFadeUp 0.7s ease forwards;
	animation-delay: 80ms;
}

.hero-name-last {
	opacity: 0;
	transform: translateY(20px);
	animation: heroFadeUp 0.7s ease forwards;
	animation-delay: 160ms;
}

/* ── Circular profile image ── */
.hero-profile-img-wrapper {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: clamp(120px, 14vw, 200px);
	height: clamp(120px, 14vw, 200px);
	border-radius: 50%;
	overflow: hidden;
	z-index: 10;
	will-change: transform;

	opacity: 0;
	animation: heroScaleIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
	animation-delay: 280ms;
}

.hero-profile-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
	pointer-events: none;
}

/* Fallback gradient when image is missing */
.hero-profile-img-wrapper.no-image {
	background: linear-gradient(135deg, #c8d4f0 0%, #001666 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-profile-img-wrapper.no-image::after {
	content: "AM";
	font-family: "Big Shoulders Display", sans-serif;
	font-weight: 800;
	font-size: clamp(32px, 4vw, 56px);
	color: #ebe9e4;
	letter-spacing: 0.05em;
}

/* ────────────────────────────────────────
   SPARKLE
──────────────────────────────────────── */
.hero-sparkle {
	display: block;
	text-align: center;
	font-size: clamp(38px, 4.4vw, 58px);
	color: var(--hero-accent);
	line-height: 1;

	animation: rotateRight 2s linear infinite;
	transform-origin: center;
}

/* ────────────────────────────────────────
   BIO / DESCRIPTION
──────────────────────────────────────── */
.hero-bio {
	text-align: center;
	margin-bottom: 36px;

	opacity: 0;
	transform: translateY(16px);
	animation: heroFadeUp 0.65s ease forwards;
	animation-delay: 460ms;
}

.hero-bio-heading {
	font-family: "Big Shoulders Display", sans-serif;
	font-size: clamp(22px, 2.8vw, 40px);
	font-weight: 800;
	color: var(--hero-accent);
	line-height: 1.35;
	margin: 0 0 12px;
}

.hero-bio-sub {
	font-family: "Inter", sans-serif;
	font-size: clamp(13px, 1.2vw, 17px);
	font-weight: 300;
	color: var(--hero-muted);
	margin: 0;
}

/* ────────────────────────────────────────
   TAGS ROW
──────────────────────────────────────── */
.hero-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 14px;

	opacity: 0;
	transform: translateY(14px);
	animation: heroFadeUp 0.65s ease forwards;
	animation-delay: 560ms;
}

.hero-tag {
	font-family: "Inter", sans-serif;
	font-size: clamp(8px, 0.8vw, 11px);
	font-weight: 500;
	color: var(--hero-navy);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 5px 13px;
	border: 1px solid var(--hero-tag-border);
	border-radius: 100px;
	white-space: nowrap;
}

.hero-tag-sep {
	font-size: 25px;
	color: var(--hero-accent);
	opacity: 0.75;
	line-height: 1;
	flex-shrink: 0;
}

/* ────────────────────────────────────────
   KEYFRAMES
──────────────────────────────────────── */
@keyframes heroFadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes heroScaleIn {
	to {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}

/* override default from so scale+translate work together */
.hero-profile-img-wrapper {
	transform: translate(-50%, -50%) scale(0.6);
}

@keyframes heroSpinIn {
	to {
		opacity: 1;
		transform: scale(1) rotate(0deg);
	}
}

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

/* ────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────── */
@media (max-width: 600px) {
	#hero {
		padding: 102px 20px 64px;
	}

	.hero-name-block {
		order: 1;
	}

	.hero-tagline {
		order: 2;
		text-align: center;
		line-height: 1.5;
		letter-spacing: 0.22em;
		margin-bottom: 16px;
	}

	.hero-sparkle {
		order: 3;
	}

	.hero-bio {
		order: 4;
	}

	.hero-tags {
		order: 5;
	}

	.hero-tagline__role,
	.hero-tagline__location {
		display: block;
	}

	.hero-tagline__sep {
		display: none;
	}

	.hero-name-block {
		margin-bottom: 20px;
	}

	.hero-bio-heading {
		font-size: clamp(18px, 5.5vw, 26px);
	}

	.hero-tags {
		gap: 8px 10px;
	}

	.hero-tag-sep {
		display: none;
	}
}
/* ── Corner Design Decorations ── */
#hero {
	position: relative;
	overflow: hidden;
}

.corner-design--hero-top-left,
.corner-design--hero-top-right {
	position: absolute;
	width: clamp(195px, 25.5vw, 340px);
	height: clamp(195px, 25.5vw, 340px);
	background-image: url("../assets/img/flourish/corner_design.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: top left;
	z-index: 0;
	pointer-events: none;
	top: 0;
}

.corner-design--hero-top-left {
	left: 0;
}

.corner-design--hero-top-right {
	right: 0;
	transform: scaleX(-1);
}
