/**
 * Page styles for /studio/ (the about / trust page — plans/08).
 *
 * Six bands, ink -> paper -> paper-deep -> ink -> paper -> gold, so no two
 * adjacent sections share a ground or a skeleton (Direction §4). The pipeline,
 * team-grid, and client-note LAYOUTS below intentionally mirror the front-page
 * sections/{studio,team,testimonials}.css (which are front-page-only) so the
 * shared vocabulary reads identically here; the card / eyebrow / heading
 * surfaces come from the base cascade and are not repeated.
 *
 * Built by Zinuxtech (ZX · Zinux) to the ZinuxTech Development Guide.
 */

/* --- 1. Header (ink) ------------------------------------------------------- */

.stu-hero {
	position: relative;
	overflow: hidden;
	padding-block: calc(var(--inv-header-height) + var(--inv-space-xl)) var(--inv-space-2xl);
	background: var(--inv-ink) var(--inv-backdrop) center / cover no-repeat;
	color: var(--inv-text-inv);
}

.stu-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: var(--inv-space-md);
}

.stu-hero__title {
	max-width: 20ch;
	font-size: clamp(3.25rem, 2rem + 6vw, 6rem);
	line-height: 0.98;
}

.stu-hero__title::after {
	display: inline-block;
	width: 0.12em;
	height: 0.12em;
	margin-left: 0.06em;
	border-radius: 50%;
	background: var(--inv-signal);
	content: "";
}

.stu-hero__intro {
	max-width: 46rem;
	color: var(--inv-muted-inv);
	font-size: clamp(1.05rem, 1.3vw, 1.3rem);
	line-height: 1.5;
}

.stu-hero__slate {
	margin-top: var(--inv-space-sm);
	padding-top: var(--inv-space-sm);
	border-top: 1px solid var(--inv-line-inv);
	color: var(--inv-muted-inv);
	font-family: var(--inv-font-mono);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* --- 2. The story (paper, editorial two-column) --------------------------- */

.stu-story {
	padding-block: var(--inv-sect);
	background: var(--inv-paper);
}

.stu-story__inner {
	display: grid;
	gap: var(--inv-space-lg);
}

.stu-story__head h2 {
	margin-top: var(--inv-space-sm);
	max-width: 16ch;
}

.stu-story__body {
	display: grid;
	gap: var(--inv-space-md);
	max-width: 46rem;
	color: var(--inv-text);
	font-size: clamp(1.05rem, 1.4vw, 1.25rem);
	line-height: 1.6;
}

@media (min-width: 60rem) {
	.stu-story__inner {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
		gap: var(--inv-space-2xl);
		align-items: start;
	}
}

/* --- 3. The pipeline (paper-deep) ----------------------------------------- */

.stu-pipeline {
	padding-block: var(--inv-sect);
	background: var(--inv-paper-deep);
}

.stu-pipeline__inner {
	display: grid;
	gap: var(--inv-space-xl);
}

.stu-pipeline__statement {
	max-width: 48rem;
}

.stu-pipeline__statement h2 {
	margin-top: var(--inv-space-sm);
}

.stu-pipeline__detail {
	max-width: 40rem;
	margin-top: calc(var(--inv-space-xl) * -1 + var(--inv-space-md));
	color: var(--inv-muted);
	font-size: clamp(1.05rem, 1.5vw, 1.3rem);
	line-height: 1.5;
}

/* Same continuous production line as the homepage pipeline. */
.stu-pipeline .pipeline {
	display: grid;
	gap: var(--inv-space-lg);
	margin-top: var(--inv-space-md);
	padding-left: 0;
	border-top: 1px solid var(--inv-line-strong);
	list-style: none;
}

.stu-pipeline .pipeline__stage {
	position: relative;
	display: grid;
	align-content: start;
	gap: var(--inv-space-xs);
	padding-top: var(--inv-space-lg);
}

.stu-pipeline .pipeline__stage::before {
	position: absolute;
	top: -0.4rem;
	left: 0;
	width: 0.8rem;
	height: 0.8rem;
	border: 1px solid var(--inv-text);
	border-radius: 50%;
	background: var(--inv-paper-deep);
	content: "";
}

.stu-pipeline .pipeline__number {
	color: var(--inv-muted);
	font-family: var(--inv-font-mono);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.stu-pipeline .pipeline__name {
	font-size: clamp(1.3rem, 1.7vw, 1.7rem);
}

.stu-pipeline .pipeline__note {
	color: var(--inv-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.stu-pipeline__deeper {
	font-family: var(--inv-font-mono);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.stu-pipeline__deeper a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--inv-signal-deep);
	transition: gap var(--inv-duration-fast) var(--inv-ease), color var(--inv-duration-fast) var(--inv-ease);
}

.stu-pipeline__deeper a:hover {
	gap: 0.7rem;
	color: var(--inv-ink);
}

@media (min-width: 58rem) {
	.stu-pipeline .pipeline {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: var(--inv-space-lg) var(--inv-space-md);
	}
}

@media (max-width: 57.99rem) {
	.stu-pipeline .pipeline {
		padding-left: var(--inv-space-lg);
		border-top: 0;
		border-left: 1px solid var(--inv-line-strong);
	}

	.stu-pipeline .pipeline__stage {
		padding-top: 0;
	}

	.stu-pipeline .pipeline__stage::before {
		top: 0.2rem;
		left: calc(-1 * var(--inv-space-lg) - 0.4rem);
	}
}

/* --- 4. The team (ink — inverted from the homepage's paper band) ----------- */

.stu-team {
	position: relative;
	overflow: hidden;
	padding-block: var(--inv-sect);
	background: var(--inv-ink);
	color: var(--inv-text-inv);
}

.stu-team__grain {
	position: absolute;
	inset: 0;
	background-image: var(--inv-grain);
	opacity: 0.05;
	pointer-events: none;
}

.stu-team__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: var(--inv-space-xl);
}

.stu-team__head h2 {
	margin-top: var(--inv-space-sm);
}

.stu-team__line {
	max-width: 40rem;
	margin-top: var(--inv-space-sm);
	color: var(--inv-muted-inv);
	font-size: clamp(1.05rem, 1.4vw, 1.25rem);
	line-height: 1.5;
}

.stu-team .team-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--inv-space-lg) var(--inv-space-md);
}

/* Dark-band overrides for the shared team-card surface (base cascade colours it
   for paper). Image frame + grayscale-to-colour hover come from cards.css. */
.stu-team .team-card__image {
	background: var(--inv-ink-3);
}

.stu-team .team-card h3 {
	color: var(--inv-text-inv);
}

.stu-team .team-card p {
	color: var(--inv-muted-inv);
}

@media (min-width: 54rem) {
	.stu-team .team-grid {
		/* The five core-team cards sit in one gallery-wall row (inv_get_team()). */
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: var(--inv-space-lg);
	}

	.stu-team .team-grid .team-card:nth-child(even) {
		padding-top: var(--inv-space-xl);
	}
}

/* --- 5. Client notes (paper — margin notes, NOT cards) -------------------- */

.stu-notes {
	padding-block: var(--inv-sect);
	background: var(--inv-paper);
}

.stu-notes__inner {
	display: grid;
	gap: var(--inv-space-2xl);
}

.stu-notes__rail {
	display: grid;
	align-content: start;
	gap: var(--inv-space-sm);
}

.stu-notes__rail h2 {
	max-width: 14ch;
}

.stu-notes__list {
	display: grid;
	gap: var(--inv-space-xl);
}

/* Margin-note treatment reused from the proof band, re-toned for paper (the
   front-page version hangs on white hairlines against ink). */
.stu-notes .client-note {
	max-width: 34rem;
	padding-left: var(--inv-space-lg);
	border-left: 1px solid var(--inv-line);
}

.stu-notes .client-note blockquote {
	font-family: var(--inv-font-display);
	font-size: clamp(1.35rem, 2vw, 1.9rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--inv-text);
}

.stu-notes .client-note figcaption {
	display: flex;
	gap: var(--inv-space-sm);
	margin-top: var(--inv-space-sm);
	color: var(--inv-muted);
	font-family: var(--inv-font-mono);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.stu-notes .client-note figcaption strong {
	color: var(--inv-text);
}

@media (min-width: 58rem) {
	.stu-notes__inner {
		grid-template-columns: minmax(16rem, 0.6fr) minmax(0, 1fr);
		gap: var(--inv-space-2xl);
	}

	.stu-notes .client-note:nth-child(2) {
		margin-left: var(--inv-space-2xl);
	}

	.stu-notes .client-note:nth-child(3) {
		margin-left: calc(var(--inv-space-2xl) * 2);
	}
}

/* --- 6. CTA (gold signal band) -------------------------------------------- */

.stu-cta {
	position: relative;
	overflow: hidden;
	padding-block: var(--inv-sect);
	background: var(--inv-signal);
	color: var(--inv-ink);
}

.stu-cta__grain {
	position: absolute;
	inset: 0;
	background-image: var(--inv-grain);
	opacity: 0.13;
	pointer-events: none;
}

.stu-cta__inner {
	position: relative;
	z-index: 1;
	display: grid;
	justify-items: center;
	gap: var(--inv-space-md);
	text-align: center;
}

.stu-cta .eyebrow {
	color: var(--inv-ink-2);
}

.stu-cta .eyebrow::before {
	background: var(--inv-ink);
}

.stu-cta__inner h2 {
	max-width: 18ch;
	font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem);
}

.stu-cta__actions {
	margin-top: var(--inv-space-xs);
}
