/* =====================================================================
   KINETIC — single project (case study), v2
   Everything sits in the 1400px column. Hero: mono strip → title → film.
   Body: sticky facts (1/3) beside the story (2/3). Ends on one big next tile.
   ===================================================================== */

.project-hero, .project-info, .next {
	max-width: calc(var(--container) + 2 * var(--gut));
	margin-inline: auto;
	padding-inline: var(--gut);
}

/* ---------- Hero ---------- */
.project-hero { padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px)); }
.project-hero__strip {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	padding-bottom: 22px; border-bottom: 1px solid var(--border);
}
.project-hero__back { color: var(--text-muted); }
.project-hero__back:hover { color: var(--text); }
.project-hero__facts { color: var(--text-muted); }
.project-hero__count { color: var(--text-faint); }
.project-hero__title {
	font-size: var(--fs-display); font-weight: 340; line-height: 0.94; letter-spacing: -0.03em;
	max-width: 14ch; margin-top: clamp(28px, 4vw, 56px);
}
.project-hero__intro {
	margin-top: clamp(18px, 2.4vw, 28px);
	max-width: 52ch;
	color: var(--text-muted);
	font-size: var(--fs-lead); line-height: 1.4;
}
.project-hero__note {
	margin-top: 14px;
	color: var(--text-faint);
	font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.project-hero__link {
	display: inline-block; margin-top: 16px;
	font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--text-muted); border-bottom: 1px solid var(--border); padding-bottom: 2px;
}
.project-hero__link:hover { color: var(--text); border-color: var(--text); }
.project-hero__media { margin-top: clamp(28px, 4vw, 56px); }
.kinetic-hero__video, .kinetic-hero__media { overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.kinetic-hero__poster { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Facts + story ---------- */
.project-info {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: clamp(32px, 5vw, 80px);
	padding-top: clamp(48px, 6vw, 88px);
	align-items: start;
}
.project-info__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.project-meta { display: grid; gap: 0; }
.project-meta + .project-meta { margin-top: 28px; }
.project-meta__row {
	display: grid; grid-template-columns: 1fr; gap: 6px;
	padding: 14px 0; border-top: 1px solid var(--border);
}
.project-meta__row:last-child { border-bottom: 1px solid var(--border); }
.project-meta__label { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); }
.project-meta__value { color: var(--text); font-size: 15px; }
.project-meta__value a { border-bottom: 1px solid var(--border-strong); }
.project-meta__value a:hover { border-color: var(--text); }

.project-info__summary {
	font-family: var(--font-display); font-optical-sizing: auto; font-variation-settings: "opsz" 60;
	font-weight: 380; letter-spacing: -0.02em;
	font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); line-height: 1.22;
	max-width: 30ch;
	margin-bottom: clamp(28px, 4vw, 48px);
}
.project-content { padding-inline: 0; }
.project-content > * { max-width: 62ch; margin-inline: 0; }
.project-content > figure, .project-content > .wp-block-video, .project-content > .wp-block-image, .project-content > .alignwide, .project-content > .alignfull { max-width: none; }
.project-content > * + * { margin-top: 1.4rem; }
.project-content h2 {
	font-family: var(--font-display); font-optical-sizing: auto; font-variation-settings: "opsz" 60;
	font-weight: 400; letter-spacing: -0.02em; font-size: var(--fs-h2);
	margin-top: clamp(40px, 5vw, 64px);
}
.project-content h3 { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-top: 2.4em; }
.project-content p { color: var(--text-muted); }
.project-content p:first-of-type { color: var(--text); }
.project-content figure { margin-block: clamp(24px, 3vw, 40px) 0; }
.project-content .wp-block-video video { width: 100%; height: auto; background: #000; }
.project-content img { border-radius: 0; }
.project-content .wp-block-quote {
	border-left: 1px solid var(--text);
	padding-left: 1.25rem;
	font-family: var(--font-display); font-variation-settings: "opsz" 60; font-weight: 380;
	font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); line-height: 1.3; color: var(--text);
}

@media (max-width: 820px) {
	.project-info { grid-template-columns: 1fr; gap: 40px; }
	.project-info__aside { position: static; }
	.project-info__summary { max-width: none; }
	.project-content > * { max-width: none; }
}

/* ---------- More work: the next three, as home-grid tiles ---------- */
.more-work {
	max-width: calc(var(--container) + 2 * var(--gut));
	margin-inline: auto;
	padding: clamp(72px, 9vw, 120px) 0 0;
	border: 0;
}
.more-work .index__head { margin: 0 var(--gut); }
.more-work__grid { margin: clamp(22px, 3vw, 40px) var(--gut) 0; }

/* ---------- Next project (single-tile alternative, unused by default) ---------- */
.next { padding-top: clamp(72px, 9vw, 120px); }
.next__head {
	display: flex; justify-content: space-between; gap: 16px;
	padding-bottom: 22px; border-bottom: 1px solid var(--border);
}
.next__head a:hover { color: var(--text); }
.next__link { display: block; position: relative; margin-top: clamp(22px, 3vw, 40px); color: inherit; }
.next__media { position: relative; overflow: hidden; aspect-ratio: 21 / 9; background: var(--bg-2); }
.next__media img, .next__media video { width: 100%; height: 100%; object-fit: cover; }
.next__poster { transition: transform 1.2s var(--ease); }
.next__link:hover .next__poster { transform: scale(1.03); }
.next__loop { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease); }
.next__media.is-live .next__loop { opacity: 1; }
.next__media::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(to top, rgba(9,9,12,0.85), rgba(9,9,12,0.2) 45%, transparent 70%);
}
.next__cap {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
	padding: clamp(20px, 3vw, 40px);
	display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.next__title {
	font-family: var(--font-display); font-optical-sizing: auto; font-variation-settings: "opsz" 144;
	font-weight: 360; letter-spacing: -0.03em; line-height: 0.95;
	font-size: clamp(2rem, 1.2rem + 3.6vw, 5rem); max-width: 16ch; color: #fff;
	transition: transform 0.5s var(--ease);
}
.next__link:hover .next__title { transform: translateX(8px); }
.next__meta { color: rgba(255,255,255,0.7); white-space: nowrap; }
@media (max-width: 720px) {
	.next__media { aspect-ratio: 4 / 5; }
	.next__cap { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- The Lab single (only for experiments set to "page") ---------- */
.project-hero--lab .project-hero__media { max-width: 760px; }
.experiment-lottie { max-width: 520px; margin-inline: auto; }
.experiment-lottie svg { max-height: 460px; }
.project-hero--lab .container { padding-inline: 0; }
.project-body { padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 7vw, 6rem); }
