/* ==========================================================
   Hero — "Where Technology Meets Creativity."
   Layout: [ left text | person | right text ]
   All entrance delays are offset by --intro (curtain duration).
   ========================================================== */
:root { --intro: 1.5s; }

/* ---------- Intro curtain ---------- */
.intro {
	position: fixed; inset: 0; z-index: 999;
	pointer-events: none;
	display: grid; place-items: center;
}
.intro__panel { position: absolute; inset: 0; }
.intro__panel--blue   { background: linear-gradient(135deg, #0a1a4a, #060b1d); animation: curtain 1s cubic-bezier(.77,0,.18,1) 1s both; }
.intro__panel--orange { background: var(--grad-accent); animation: curtain 1s cubic-bezier(.77,0,.18,1) 1.12s both; }
.intro__logo {
	position: relative;
	width: min(320px, 60vw);
	animation: logoIntro 1.15s var(--ease) both;
}
@keyframes curtain   { to { transform: translateY(-101%); } }
@keyframes logoIntro {
	0%   { opacity: 0; transform: scale(.85); filter: blur(10px); }
	45%  { opacity: 1; transform: none; filter: none; }
	80%  { opacity: 1; }
	100% { opacity: 0; transform: translateY(-30px); }
}

/* ---------- Section ---------- */
.hero {
	position: relative;
	height: 100vh;
	/* exactly one viewport, minus the WP admin bar when logged in */
	height: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
	min-height: 0;
	overflow: hidden;
	isolation: isolate;
	display: flex;
}

/* Background layers */
.hero__bg {
	position: absolute; inset: 0; z-index: -3;
	background: var(--c-bg) var(--hero-bg) center / cover no-repeat;
	animation: heroZoom 2.4s var(--ease) var(--intro) both, heroDrift 24s ease-in-out calc(var(--intro) + 2.4s) infinite alternate;
}
.hero__glow {
	position: absolute; z-index: -2;
	border-radius: 50%;
	filter: blur(100px);
	pointer-events: none;
}
.hero__glow--blue   { width: 36vw; height: 36vw; left: -8vw; top: -10vw; background: rgba(30,107,255,.42); animation: glowA 9s ease-in-out infinite alternate; }
.hero__glow--orange { width: 30vw; height: 30vw; right: -8vw; top: 12%;  background: rgba(255,122,0,.28);  animation: glowB 11s ease-in-out infinite alternate; }
.hero__vignette {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(ellipse 60% 70% at 50% 55%, transparent 0%, rgba(6,11,29,.35) 100%),
		linear-gradient(rgba(6,11,29,.38), rgba(6,11,29,.38)),
		linear-gradient(90deg, rgba(6,11,29,.55) 0%, transparent 30%, transparent 70%, rgba(6,11,29,.35) 100%),
		linear-gradient(180deg, rgba(6,11,29,.65) 0%, transparent 18%, transparent 80%, var(--c-bg) 100%);
}

/* Person */
.hero__person {
	margin: 0;
	position: absolute;
	left: 50%; bottom: 0;
	height: 87%;
	transform: translateX(-50%);
	z-index: 1;
	pointer-events: none;
	animation: personIn 1.6s var(--ease) calc(var(--intro) + .15s) both;
}
.hero__person::before {          /* soft rim light behind the person */
	content: ''; position: absolute; z-index: -1;
	left: 10%; right: 10%; top: 8%; bottom: 10%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(30,107,255,.45), transparent);
	filter: blur(30px);
}
.hero__person-inner { height: 100%; transition: translate .4s ease-out; }
.hero__person img {
	height: 100%; width: auto; max-width: none;
	filter: drop-shadow(0 30px 60px rgba(0,0,0,.55));
	-webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 100%);
	        mask-image: linear-gradient(180deg, #000 86%, transparent 100%);
}

/* ---------- Content grid ---------- */
.hero__inner {
	position: relative; z-index: 2;
	display: grid;
	grid-template-columns: 1fr clamp(240px, 25vw, 440px) 1fr;
	grid-template-rows: auto 1fr auto;
	grid-template-areas:
		"eyebrow . ."
		"left    . right"
		"cta     . .";
	padding-top: calc(var(--header-h) + clamp(1rem, 3vh, 2.5rem));
	padding-bottom: clamp(2.5rem, 8vh, 5rem);
}

/* H1 (name + role) */
.hero__eyebrow {
	grid-area: eyebrow;
	position: relative;
	margin: 0;
	padding-left: 3.25rem;
	font-weight: 400;
	line-height: 1.5;
}
.hero__eyebrow::before {
	content: ''; position: absolute; left: 0; top: .75em;
	width: 2.2rem; height: 3px; border-radius: 3px;
	background: var(--c-accent);
	transform-origin: left;
	animation: grow .8s var(--ease) calc(var(--intro) + .3s) both;
}
.hero__name {
	display: block;
	font-size: clamp(1rem, 1.15vw, 1.25rem);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.hero__role {
	display: block;
	color: var(--c-text-2);
	font-size: clamp(.95rem, 1.05vw, 1.15rem);
	letter-spacing: .02em;
}

/* Slogan */
.hero__title {
	position: relative;
	margin: 0;
	font-size: clamp(2.75rem, 5.6vw, 6.5rem);
	line-height: 1.02;
	letter-spacing: -.025em;
	white-space: nowrap;
	transition: translate .4s ease-out;
}
.hero__title .line { display: block; overflow: hidden; padding: .04em .08em .1em 0; }
.hero__title .line__in {
	display: inline-block;
	animation: lineUp 1.1s var(--ease) calc(var(--intro) + var(--d, 0s)) both;
}
.hero__title .light { font-weight: 300; }
.hero__title .bold  { font-weight: 800; }
.hero__title .accent {
	background: linear-gradient(90deg, #ffb04a, #ff7a00 30%, #ffc370 50%, #ff7a00 70%, #ffb04a);
	background-size: 250% 100%;
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
	animation:
		lineUp 1.1s var(--ease) calc(var(--intro) + var(--d, 0s)) both,
		shine 4s linear calc(var(--intro) + 2s) infinite;
}

.hero__title--left {
	grid-area: left;
	align-self: center;
	justify-self: end;
	margin-right: clamp(-2rem, -1.5vw, -.5rem);
	text-shadow: 0 10px 40px rgba(6,11,29,.6);
}
.hero__right {
	grid-area: right;
	align-self: center;
	justify-self: start;
	margin-left: clamp(-1.5rem, -1vw, 0rem);
	max-width: 100%;
}

/* Corner brackets */
.hero__title--left::before,
.hero__title--right::after {
	content: ''; position: absolute;
	width: clamp(28px, 3vw, 56px); height: clamp(28px, 3vw, 56px);
	border: 0 solid var(--c-accent);
	animation: bracketIn .9s var(--ease) calc(var(--intro) + 1.05s) both;
}
.hero__title--left::before { top: -.15em; left: -.4em; border-width: 3px 0 0 3px; }
.hero__title--right::after { bottom: -.05em; right: -.3em; border-width: 0 3px 3px 0; }

/* Tags */
.hero__tags {
	display: flex; flex-wrap: wrap;
	gap: .35rem 0;
	max-width: 30rem;
	margin-top: clamp(1.25rem, 3.5vh, 2.5rem);
	padding-left: 1.25rem;
	border-left: 3px solid var(--c-accent);
	color: var(--c-text-2);
	font-size: clamp(.95rem, 1.05vw, 1.15rem);
	letter-spacing: .03em;
}
.hero__tags li:not(:last-child)::after { content: '•'; margin-inline: .6rem; color: var(--c-accent); font-size: .7em; vertical-align: middle; }

/* CTA */
.hero__cta {
	grid-area: cta;
	display: flex; flex-wrap: wrap; align-items: center;
	gap: 1rem 2.25rem;
}

/* Scroll cue */
.hero__scroll {
	position: absolute; left: 50%; bottom: 1.25rem; z-index: 3;
	width: 26px; height: 42px; margin-left: -13px;
	border: 2px solid rgba(255,255,255,.4); border-radius: 20px;
	animation: fadeIn 1s ease calc(var(--intro) + 1.8s) both;
}
.hero__scroll::after {
	content: ''; position: absolute; left: 50%; top: 8px;
	width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
	background: var(--c-accent);
	animation: scrollDot 1.8s ease infinite;
}

/* ---------- Generic entrance helper ---------- */
.anim { animation: var(--anim-name, fadeUp) 1s var(--ease) calc(var(--intro) + var(--d, 0s)) both; }
.anim--up { --anim-name: fadeUp; }

/* ---------- Keyframes ---------- */
@keyframes lineUp    { from { transform: translateY(110%) rotate(4deg); } to { transform: none; } }
@keyframes fadeUp    { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn    { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow      { from { transform: scaleX(0); } to { transform: none; } }
@keyframes personIn  {
	from { opacity: 0; transform: translateX(-50%) translateY(12%); filter: blur(12px) brightness(.6); }
	to   { opacity: 1; transform: translateX(-50%); filter: none; }
}
@keyframes heroZoom  { from { transform: scale(1.18); opacity: .3; } to { transform: scale(1.04); opacity: 1; } }
@keyframes heroDrift { from { transform: scale(1.04); } to { transform: scale(1.1) translateX(-1%); } }
@keyframes glowA     { to { transform: translate(6vw, 5vw) scale(1.15); } }
@keyframes glowB     { to { transform: translate(-5vw, 4vw) scale(1.2); } }
@keyframes shine     { to { background-position: -250% 0; } }
@keyframes bracketIn { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.hero__inner { grid-template-columns: 1fr clamp(220px, 24vw, 320px) 1fr; }
	.hero__title { font-size: clamp(2.5rem, 5.2vw, 4.75rem); }
}

/* ---------- Tablet & mobile: centered, stacked composition ---------- */
@media (max-width: 960px) {
	.hero { flex-direction: column; }

	.hero__inner {
		display: flex; flex-direction: column; align-items: center;
		text-align: center;
		gap: 0;
		padding-top: calc(var(--header-h) + 1.5rem);
		padding-bottom: 0;
	}

	/* Name chip */
	.hero__eyebrow {
		padding: .55rem 1.1rem;
		border: 1px solid rgba(255,255,255,.14);
		border-radius: 14px;
		background: rgba(10,20,50,.45);
		backdrop-filter: blur(10px);
	}
	.hero__eyebrow::before { display: none; }
	.hero__name { font-size: .85rem; letter-spacing: .16em; color: var(--c-accent); }
	.hero__role { font-size: .85rem; }

	/* Slogan: 2 lines each side, centered */
	.hero__title { font-size: clamp(2.5rem, 11.5vw, 4.5rem); line-height: 1; white-space: nowrap; text-shadow: 0 6px 30px rgba(6,11,29,.85); }
	.hero__title--left { margin: 1.6rem 0 0; justify-self: auto; }
	.hero__right { margin: 0; display: flex; flex-direction: column; align-items: center; }
	.hero__title--left::before { top: -.1em; left: -.35em; width: 26px; height: 26px; }
	.hero__title--right::after { bottom: 0; right: -.3em; width: 26px; height: 26px; }

	/* Tags as small pills */
	.hero__tags {
		justify-content: center; gap: .45rem;
		margin-top: 1.4rem; padding: 0; border: 0;
		max-width: 520px;
		font-size: .82rem;
	}
	.hero__tags li {
		padding: .35rem .8rem;
		border-radius: 999px;
		border: 1px solid rgba(255,138,31,.35);
		background: rgba(255,138,31,.08);
	}
	.hero__tags li::after { display: none; }

	.hero__cta { justify-content: center; margin-top: 1.6rem; gap: .9rem 1.5rem; }

	/* Person sits below the content, framed by the orbit */
	/* Person fills the remaining space at the bottom of the viewport */
	.hero__person { height: 50svh; }   /* stays absolute, anchored to the bottom */
	.hero__orbit { width: min(92vw, 520px); top: auto; bottom: 4%; translate: -50% 0; }
	.hero__glow--blue   { width: 90vw; height: 90vw; }
	.hero__glow--orange { width: 80vw; height: 80vw; top: auto; bottom: 0; }
	.hero__scroll { display: none; }
}

@media (max-width: 480px) {
	.hero__title { font-size: clamp(2.3rem, 12.5vw, 3.2rem); }
	.hero__cta { margin-top: 1.1rem; }
	.hero__tags { margin-top: 1rem; font-size: .75rem; gap: .35rem; }
	.hero__title--left { margin-top: 1.1rem; }
	.hero__inner { padding-top: calc(var(--header-h) + .5rem); }
}

@keyframes personInMobile {
	from { opacity: 0; transform: translateY(12%); filter: blur(12px) brightness(.6); }
	to   { opacity: 1; transform: none; filter: none; }
}

/* ==========================================================
   Person enhancements: grading, rim light, light sweep, ground glow
   ========================================================== */
.hero__person img {
	filter:
		contrast(1.06) saturate(1.08) brightness(1.02)
		drop-shadow(-6px 0 14px rgba(30,107,255,.55))   /* blue rim (left)   */
		drop-shadow(6px 0 16px rgba(255,138,31,.45))    /* orange rim (right) */
		drop-shadow(0 30px 50px rgba(0,0,0,.6));
}
.hero__person-inner {
	position: relative;
	-webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 100%);
	        mask-image: linear-gradient(180deg, #000 86%, transparent 100%);
	animation: breathe 7s ease-in-out calc(var(--intro) + 2s) infinite alternate;
}
/* Light sweep that passes over the person, clipped to the photo shape */
.hero__person-inner::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.22) 48%, rgba(255,200,140,.12) 52%, transparent 65%);
	background-size: 250% 100%;
	background-position: 150% 0;
	-webkit-mask: var(--person-mask) center bottom / auto 100% no-repeat;
	        mask: var(--person-mask) center bottom / auto 100% no-repeat;
	mix-blend-mode: overlay;
	animation: sweep 6s ease-in-out calc(var(--intro) + 1.8s) infinite;
	pointer-events: none;
}
/* Orange/blue color wash on the edges of the person */
.hero__person-inner::before {
	content: '';
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, rgba(30,107,255,.28), transparent 35%, transparent 65%, rgba(255,138,31,.25));
	-webkit-mask: var(--person-mask) center bottom / auto 100% no-repeat;
	        mask: var(--person-mask) center bottom / auto 100% no-repeat;
	mix-blend-mode: soft-light;
	pointer-events: none;
}
/* Ground glow under the person */
.hero__person::after {
	content: ''; position: absolute; z-index: -1;
	left: 15%; right: 15%; bottom: -4%; height: 18%;
	background: radial-gradient(closest-side, rgba(255,138,31,.45), transparent);
	filter: blur(20px);
	animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes breathe { from { scale: 1; } to { scale: 1.015; } }
@keyframes sweep   { 0% { background-position: 150% 0; } 55%, 100% { background-position: -60% 0; } }
@keyframes pulse   { from { opacity: .55; } to { opacity: 1; } }

/* ==========================================================
   Decorative layers: orbit rings, floating badges, particles
   ========================================================== */
.hero__orbit {
	position: absolute; z-index: 0;
	left: 50%; top: 52%;
	width: min(46vw, 760px); aspect-ratio: 1;
	translate: -50% -50%;
	pointer-events: none;
	animation: fadeIn 1.2s ease calc(var(--intro) + .4s) both;
}
.hero__orbit span {
	position: absolute; inset: 0;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,.08);
}
.hero__orbit span:nth-child(1) {
	border: 2px dashed rgba(255,138,31,.35);
	animation: spin 40s linear infinite;
}
.hero__orbit span:nth-child(2) {
	inset: 9%;
	border-color: rgba(30,107,255,.35);
	border-top-color: var(--c-primary);
	border-width: 2px;
	animation: spin 14s linear infinite reverse;
}
.hero__orbit span:nth-child(3) {
	inset: -8%;
	border-color: transparent;
	border-right-color: rgba(255,138,31,.7);
	border-width: 3px;
	animation: spin 9s linear infinite;
}
.hero__orbit span:nth-child(3)::after {  /* travelling dot */
	content: ''; position: absolute; right: -7px; top: 50%;
	width: 12px; height: 12px; border-radius: 50%;
	background: var(--c-accent);
	box-shadow: 0 0 18px 4px rgba(255,138,31,.8);
}

/* Floating stat badges */
.hero__badge {
	position: absolute; z-index: 3;
	display: flex; align-items: center; gap: .8rem;
	padding: .8rem 1.2rem .8rem .8rem;
	border-radius: 16px;
	background: rgba(10, 20, 50, .55);
	border: 1px solid rgba(255,255,255,.14);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 20px 40px -15px rgba(0,0,0,.6);
	line-height: 1.2;
	animation:
		badgeIn .9s var(--ease) calc(var(--intro) + var(--d, 1.4s)) both,
		float 5s ease-in-out calc(var(--intro) + 2.4s) infinite alternate;
}
.hero__badge b { display: block; font-size: 1.5rem; font-weight: 800; }
.hero__badge small { color: var(--c-text-2); font-size: .85rem; }
.hero__badge i {
	width: 44px; height: 44px; border-radius: 12px;
	display: grid; place-items: center;
	font-style: normal; font-weight: 800;
	background: var(--grad-accent);
}
.hero__badge--b i { background: var(--grad-primary); }
.hero__badge--a { left: calc(50% + min(9vw, 150px)); top: 30%; --d: 1.5s; }
.hero__badge--b { right: calc(50% + min(9vw, 150px)); bottom: 22%; --d: 1.7s; animation-duration: .9s, 6s; }

/* Particles */
.hero__particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__particles span {
	position: absolute; bottom: -10px;
	width: var(--s, 4px); height: var(--s, 4px);
	border-radius: 50%;
	background: var(--c, #ff8a1f);
	box-shadow: 0 0 10px var(--c, #ff8a1f);
	opacity: 0;
	animation: rise var(--t, 12s) linear var(--w, 0s) infinite;
}

/* Hover lift on headline */
.hero__title .bold { transition: letter-spacing .5s var(--ease); }
.hero__title:hover .bold { letter-spacing: -.01em; }

@keyframes spin    { to { rotate: 360deg; } }
@keyframes float   { from { translate: 0 0; } to { translate: 0 -16px; } }
@keyframes badgeIn { from { opacity: 0; transform: scale(.6) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes rise    {
	0%   { opacity: 0; transform: translateY(0); }
	10%  { opacity: .9; }
	90%  { opacity: .6; }
	100% { opacity: 0; transform: translateY(-100vh) translateX(30px); }
}

@media (max-width: 960px) {
	.hero__orbit { width: 90vw; top: auto; bottom: 0; translate: -50% 25%; }
	.hero__badge { padding: .55rem .9rem .55rem .55rem; }
	.hero__badge b { font-size: 1.15rem; }
	.hero__badge i { width: 36px; height: 36px; }
	.hero__badge--a { left: auto; right: 4vw; top: auto; bottom: 34vh; }
	.hero__badge--b { right: auto; left: 4vw; bottom: 12vh; }
}

/* ==========================================================
   MOBILE — final, compact composition (overrides above)
   ========================================================== */
@media (max-width: 960px) {
	.hero__inner {
		padding-top: calc(var(--header-h) + 1.25rem);
		position: relative; z-index: 2;
	}

	/* Name: simple, no box */
	.hero__eyebrow {
		padding: 0; border: 0; background: none; backdrop-filter: none;
	}
	.hero__name { font-size: .78rem; letter-spacing: .2em; color: var(--c-accent); font-weight: 600; }
	.hero__role { font-size: .8rem; color: var(--c-text-2); margin-top: .15rem; }

	/* Slogan: 2 compact lines — "Where Technology" / "Meets Creativity." */
	.hero__title {
		font-size: clamp(1.9rem, 8.6vw, 3rem);
		line-height: 1.12;
		letter-spacing: -.02em;
		white-space: nowrap;
	}
	.hero__title .line { display: inline-block; padding: 0 .12em .05em; }
	.hero__title--left  { margin: 1rem 0 0; }
	.hero__title--left::before,
	.hero__title--right::after { display: none; }

	/* Tags: one tidy row of small pills */
	.hero__tags { margin-top: .9rem; gap: .35rem; font-size: .72rem; max-width: 340px; }
	.hero__tags li { padding: .28rem .65rem; }

	/* Buttons: compact, side by side */
	.hero__cta { margin-top: 1.1rem; gap: .75rem 1.25rem; }
	.hero__cta .btn--primary { --_pad: .75rem 1.35rem; font-size: .92rem; width: auto; }
	.hero__cta .btn--link { font-size: .92rem; }

	/* Person: bottom half, behind a soft fade so text never clashes */
	.hero__person { height: 50svh; }
	.hero__vignette {
		background:
			linear-gradient(180deg, rgba(6,11,29,.85) 0%, rgba(6,11,29,.55) 40%, transparent 60%, transparent 85%, var(--c-bg) 100%);
	}
	.hero__orbit { width: 82vw; bottom: 0; translate: -50% 18%; }
}

@media (max-width: 380px) {
	.hero__title { font-size: 1.75rem; }
	.hero__tags li:nth-child(n+4) { display: none; }   /* keep it to one row on tiny screens */
	.hero__person { height: 46svh; }
}

/* Mobile: lighter text block so the person stays the focus */
@media (max-width: 960px) {
	:root { --header-h: 68px; }
	.hero__role { display: none; }                 /* name only (role is still in the H1 for SEO via screen readers below) */
	.hero__tags { display: none; }                 /* services get their own section further down */
	.hero__inner { padding-top: calc(var(--header-h) + 1rem); }
	.hero__title { font-size: clamp(1.75rem, 8vw, 2.6rem); }
	.hero__title--left { margin-top: .6rem; }
	.hero__cta { margin-top: 1rem; }
	.hero__person { height: 58svh; }
	.hero__orbit { width: 88vw; translate: -50% 14%; }
}
@media (max-width: 960px) {
	.hero__role { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ==========================================================
   MOBILE polish v3 — balance, breathing room, centered orbit
   ========================================================== */
@media (max-width: 960px) {
	.hero__inner { padding-top: calc(var(--header-h) + 1.75rem); }

	/* Name with accent lines on both sides */
	.hero__eyebrow { display: flex; align-items: center; gap: .7rem; }
	.hero__eyebrow::before,
	.hero__eyebrow::after {
		content: ''; display: block; position: static;
		width: 22px; height: 2px; border-radius: 2px;
		background: var(--c-accent);
		animation: grow .8s var(--ease) calc(var(--intro) + .3s) both;
	}
	.hero__name { font-size: .72rem; letter-spacing: .24em; }

	/* Slogan: a bit bigger, tighter, with a glow line below */
	.hero__title { font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.08; }
	.hero__title--left { margin-top: .9rem; }
	.hero__right::after {
		content: ''; display: block;
		width: 64px; height: 3px; margin: 1rem auto 0;
		border-radius: 3px;
		background: var(--grad-accent);
		box-shadow: 0 0 14px rgba(255,138,31,.8);
		animation: grow .8s var(--ease) calc(var(--intro) + 1.1s) both;
	}

	/* CTA: primary pill + compact secondary, centered with clear spacing */
	.hero__cta { margin-top: 1.25rem; gap: .6rem; flex-direction: column; }
	.hero__cta .btn--primary { --_pad: .78rem 1.6rem; font-size: .9rem; }
	.hero__cta .btn--link { --_pad: .25rem 0; font-size: .85rem; color: var(--c-text-2); }
	.hero__cta .btn--link svg { width: 1em; height: 1em; }

	/* Person: shorter so the head never touches the buttons */
	.hero__person { height: 47svh; }
	.hero__person::after { bottom: -2%; }

	/* Orbit: centered behind the head/shoulders */
	.hero__orbit { width: 72vw; max-width: 420px; top: auto; bottom: 10svh; translate: -50% 0; }
	.hero__orbit span:nth-child(3) { inset: -6%; }
}

@media (max-width: 380px) {
	.hero__title { font-size: 1.8rem; }
	.hero__person { height: 44svh; }
}

/* ==========================================================
   MOBILE v4 — "Cover" layout: full-height portrait,
   text block anchored to the bottom over a dark fade.
   ========================================================== */
@media (max-width: 960px) {
	.hero__inner {
		flex: 1 1 auto;
		justify-content: flex-end;
		padding-top: 0;
		padding-bottom: max(1.75rem, env(safe-area-inset-bottom));
	}

	/* Portrait fills the screen, head just under the header */
	.hero__person { height: 84svh; }
	.hero__person::after { display: none; }

	/* Dark fade: light at top, solid behind the text */
	.hero__vignette {
		background:
			linear-gradient(180deg,
				rgba(6,11,29,.6) 0%,
				transparent 16%,
				transparent 40%,
				rgba(6,11,29,.7) 58%,
				rgba(6,11,29,.95) 75%,
				var(--c-bg) 100%);
		z-index: 1;
	}
	.hero__inner { z-index: 2; }

	/* Orbit frames the head */
	.hero__orbit { top: 11svh; bottom: auto; width: 86vw; max-width: 440px; translate: -50% 0; }

	/* Text */
	.hero__title { font-size: clamp(2.1rem, 9.6vw, 3rem); }
	.hero__title--left { margin-top: .7rem; }

	/* CTA side by side again (more room at the bottom) */
	.hero__cta { flex-direction: row; justify-content: center; gap: 1.25rem; margin-top: 1.25rem; }
}

/* v4.1 — buttons always side by side, slightly larger text */
@media (max-width: 960px) {
	.hero__cta { flex-direction: row !important; flex-wrap: nowrap; align-items: center; gap: 1rem; }
	.hero__cta .btn { white-space: nowrap; }
	.hero__cta .btn--primary { --_pad: .8rem 1.35rem; font-size: .95rem; }
	.hero__cta .btn--link { font-size: .95rem; color: #fff; }
	.hero__name { font-size: .78rem; letter-spacing: .2em; }
	.hero__title { font-size: clamp(2.1rem, 9.6vw, 3rem); }

	/* v4.2 — bring back supporting text */
	.hero__eyebrow { flex-wrap: wrap; justify-content: center; }
	.hero__role {
		display: block !important;
		position: static !important; width: auto !important; height: auto !important;
		overflow: visible !important; clip: auto !important;
		flex-basis: 100%;
		margin-top: .3rem;
		font-size: .85rem; color: var(--c-text-2);
	}
	.hero__tags {
		display: flex !important;
		justify-content: center; gap: .4rem;
		margin: 1rem auto 0; padding: 0; border: 0;
		max-width: 360px; font-size: .74rem;
	}
	.hero__tags li { padding: .3rem .7rem; border-radius: 999px; border: 1px solid rgba(255,138,31,.35); background: rgba(255,138,31,.08); }
	.hero__tags li::after { display: none; }
	.hero__right::after { display: none; }
	.hero__person { height: 78svh; }
}
@media (max-height: 700px) and (max-width: 960px) {
	.hero__tags li:nth-child(n+4) { display: none; }
}

/* v4.5 — readable text bed: covers only the lower part, face stays clear */
@media (max-width: 960px) {
	.hero__inner::before {
		content: ''; position: absolute; z-index: -1;
		left: -50vw; right: -50vw; bottom: 0;
		height: 50svh;
		background: linear-gradient(180deg, transparent 0%, rgba(6,11,29,.7) 28%, rgba(6,11,29,.9) 55%, var(--c-bg) 100%);
		pointer-events: none;
	}
	.hero__role { color: #dfe6fb !important; }
	.hero__tags li { color: #fff; }
}

/* v4.3 — mobile cleanup: no stray lines, darker text bed, one row of tags */
@media (max-width: 960px) {
	.hero__eyebrow::before,
	.hero__eyebrow::after { display: none !important; }
	.hero__name { color: var(--c-accent); }

	.hero__vignette {
		background: linear-gradient(180deg,
			rgba(6,11,29,.55) 0%, transparent 14%, transparent 34%,
			rgba(6,11,29,.8) 52%, rgba(6,11,29,.96) 66%, var(--c-bg) 100%);
	}

	.hero__role { font-size: .8rem; margin-top: .2rem; }
	.hero__title--left { margin-top: .5rem; }
	.hero__title { font-size: clamp(2rem, 9.2vw, 2.8rem); line-height: 1.05; }
	.hero__cta { margin-top: 1rem; }
	.hero__inner { padding-bottom: 1.4rem; }

	.hero__tags { flex-wrap: nowrap !important; max-width: none; margin-top: .8rem; gap: .35rem; }
	.hero__tags li { font-size: .68rem; padding: .28rem .6rem; white-space: nowrap; }
	.hero__tags li:nth-child(n+4) { display: none; }

	.hero__person { height: 74svh; }
}
@media (max-width: 380px) {
	.hero__title { font-size: 2.15rem; }
	.hero__cta { gap: .7rem; }
	.hero__cta .btn--primary { --_pad: .7rem 1.05rem; font-size: .86rem; }
	.hero__cta .btn--link { font-size: .86rem; }
	.hero__person { height: 80svh; }
}

/* Short screens (landscape phones, small laptops) */
@media (max-height: 640px) and (max-width: 960px) {
	.hero__tags { display: none; }
	.hero__person { height: 44svh; }
}
