/* ==========================================================================
   Xagor Studio — homepage: hero, convergence transition, featured project.
   GSAP/ScrollTrigger (front-page.js) drives the motion; this file owns the
   static composition and the reduced-motion fallback state.
   ========================================================================== */

.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: calc(var(--admin-bar-h) + var(--nav-h)) clamp(1.25rem, 6vw, 4rem) 4rem;
	overflow: hidden;
}

.hero__mark {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 0;
	opacity: 0.06;
	pointer-events: none;
}
.hero__mark-svg {
	width: min(70vw, 640px);
	height: auto;
}

.hero__content {
	position: relative;
	z-index: 1;
	max-width: 780px;
}

.hero__eyebrow {
	color: var(--gold-soft);
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	margin: 0 0 1.25rem;
}

.hero__title {
	font-size: clamp(2.25rem, 6.5vw, 4.5rem);
	line-height: 1.15;
	font-weight: 700;
	margin: 0 0 1.5rem;
}

.hero__line {
	display: block;
	overflow: hidden;
}
.hero__line > * { display: block; }

.hero__sub {
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	color: rgba(255, 255, 255, 0.7);
	max-width: 560px;
	margin: 0 auto;
}

.hero__scroll {
	position: absolute;
	bottom: 2.5rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
	z-index: 1;
}
.hero__scroll-line {
	width: 1px;
	height: 32px;
	background: linear-gradient(to bottom, var(--gold-core), transparent);
}
.hero__scroll-text {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.5);
	letter-spacing: 0.05em;
}

/* the convergence element is a bare transition surface GSAP scales/fades
   between the hero and the featured section — no content of its own. */
.convergence {
	position: relative;
	height: 40vh;
	background: radial-gradient(circle at center, rgba(193, 162, 98, 0.12), transparent 70%);
	pointer-events: none;
}

/* ------------------------------ featured ---------------------------------- */

.featured {
	position: relative;
	min-height: 100vh;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
	padding: 4rem clamp(1.25rem, 6vw, 4rem);
	max-width: 1400px;
	margin-inline: auto;
}

.featured__frame {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid rgba(193, 162, 98, 0.18);
	background: var(--black-deep);
}

.featured__cover {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.featured__cover-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.featured__cover-label {
	font-family: var(--font-latin);
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.35);
}
.featured__cover-tag {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.25);
}

.featured__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.1rem;
}

.featured__eyebrow {
	margin: 0;
	font-size: 0.85rem;
	color: var(--gold-soft);
	letter-spacing: 0.03em;
}

.featured__title {
	margin: 0;
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	line-height: 1.25;
}

.featured__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
}

.tag {
	font-size: 0.78rem;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	background: rgba(193, 162, 98, 0.14);
	color: var(--gold-soft);
}
.tag--ghost {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.6);
}

.featured__desc {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.75;
	max-width: 460px;
}

.featured__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--gold-soft);
	border: 1px solid rgba(193, 162, 98, 0.5);
	padding: 0.6rem 1.4rem;
	border-radius: 999px;
	transition: background-color 0.25s ease;
}
.featured__link:hover,
.featured__link:focus-visible { background: rgba(193, 162, 98, 0.1); }
.featured__link--disabled {
	opacity: 0.5;
	cursor: default;
}

@media (max-width: 860px) {
	.featured {
		grid-template-columns: 1fr;
		min-height: auto;
		padding-top: 2rem;
		padding-bottom: 4rem;
	}
	.featured__info { align-items: center; text-align: center; }
	.featured__desc { max-width: none; }
}

