/*
Theme Name: Barragi Mawang
Theme URI: https://barragimawang.com/
Author: CoreConcepts Design
Author URI: https://coreconcepts.design/
Description: Custom ClientLayer theme for Barragi Mawang. Built on the official brand book: GT Walsheim Condensed, the six brand colours, the brand patterns and graphic shapes, aerial film hero, GSAP scroll motion, client-editable content.
Version: 0.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: barragi
*/

/* ------------------------------------------------------------------
   Brand fonts: GT Walsheim Condensed (supplied by the client, brand book p.14)
   ------------------------------------------------------------------ */
@font-face {
	font-family: "GT Walsheim Condensed";
	src: url("assets/fonts/gt-walsheim-condensed-light.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "GT Walsheim Condensed";
	src: url("assets/fonts/gt-walsheim-condensed-medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "GT Walsheim Condensed";
	src: url("assets/fonts/gt-walsheim-condensed-bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "GT Walsheim Condensed";
	src: url("assets/fonts/gt-walsheim-condensed-ultra-bold.woff2") format("woff2");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "GT Walsheim Condensed";
	src: url("assets/fonts/gt-walsheim-condensed-ultra-bold-oblique.woff2") format("woff2");
	font-weight: 800;
	font-style: italic;
	font-display: swap;
}

/* ------------------------------------------------------------------
   Tokens: brand colours from the brand book (p.13)
   ------------------------------------------------------------------ */
:root {
	--off-white: #f5f3ef;
	--black: #1c1c1d;
	--cool-blue: #b1dcec;
	--fun-green: #4bc18e;
	--blue-funk: #4f6bb7;
	--orange: #fd8f00;

	--off-white-2: #e9e5de;
	--black-2: #262628;
	--on-dark-soft: rgba(245, 243, 239, 0.74);
	--on-light-soft: #4a4a4d;
	--line-dark: rgba(245, 243, 239, 0.18);
	--line-light: rgba(28, 28, 29, 0.18);

	--gutter: clamp(20px, 4.4vw, 64px);
	--container: 1440px;
	--section: clamp(5.5rem, 12vw, 11rem);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--font: "GT Walsheim Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--header-h: 80px;
}

/* ------------------------------------------------------------------
   Base
   ------------------------------------------------------------------ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

body {
	margin: 0;
	background: var(--off-white);
	color: var(--black);
	font-family: var(--font);
	font-size: clamp(1.1rem, 1.04rem + 0.25vw, 1.3rem);
	font-weight: 300;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

body.menu-open {
	overflow: hidden;
}

img,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol,
dl,
dd {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

/* Brand book: headers in GT Walsheim Ultra Bold, all uppercase. */
h1,
h2 {
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: 0;
	text-transform: uppercase;
	text-wrap: balance;
}

/* Sub-headers: Ultra Bold in title case. */
h3,
h4 {
	font-weight: 800;
	line-height: 1;
	text-wrap: balance;
}

em {
	font-style: italic;
}

strong {
	font-weight: 700;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--blue-funk);
	outline-offset: 4px;
}

::selection {
	background: var(--orange);
	color: var(--black);
}

.container {
	width: min(100% - (var(--gutter) * 2), var(--container));
	margin-inline: auto;
}

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 0.7rem 1.1rem;
	border-radius: 999px;
	background: var(--fun-green);
	color: var(--black);
	font-weight: 700;
	text-transform: uppercase;
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

/* Small numbered section label. */
.label {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--on-dark-soft);
}

.label-num {
	display: inline-grid;
	place-items: center;
	min-width: 2.2em;
	height: 2.2em;
	padding-inline: 0.5em;
	border-radius: 999px;
	background: var(--orange);
	color: var(--black);
	font-feature-settings: "tnum";
	letter-spacing: 0;
}

.label-ink {
	color: var(--on-light-soft);
}

.eyebrow {
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
}

.eyebrow-note {
	display: inline-block;
	margin-left: 0.5rem;
	font-weight: 500;
	opacity: 0.72;
}

/* Text split by main.js: each word sits in a clipping mask. */
.w {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding: 0.06em 0.08em 0.1em 0;
	margin: -0.06em -0.08em -0.1em 0;
}

.wi {
	display: inline-block;
	will-change: transform;
}

/* ------------------------------------------------------------------
   Brand graphics (client brand assets, used as CSS masks so each can
   take any brand colour). Decorative only.
   ------------------------------------------------------------------ */
.pattern {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-color: currentColor;
	-webkit-mask: url("assets/pattern.webp") center top / max(2600px, 130%) auto repeat-y;
	mask: url("assets/pattern.webp") center top / max(2600px, 130%) auto repeat-y;
}

.shape {
	position: absolute;
	z-index: 0;
	display: block;
	pointer-events: none;
	background-color: currentColor;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	will-change: transform;
}

.shape-cross {
	aspect-ratio: 640 / 547;
	-webkit-mask-image: url("assets/shape-cross.webp");
	mask-image: url("assets/shape-cross.webp");
}

.shape-star {
	aspect-ratio: 640 / 635;
	-webkit-mask-image: url("assets/shape-star.webp");
	mask-image: url("assets/shape-star.webp");
}

.shape-burst {
	aspect-ratio: 640 / 587;
	-webkit-mask-image: url("assets/shape-burst.webp");
	mask-image: url("assets/shape-burst.webp");
}

.shape-squiggle {
	aspect-ratio: 640 / 490;
	-webkit-mask-image: url("assets/shape-squiggle.webp");
	mask-image: url("assets/shape-squiggle.webp");
}

/* ------------------------------------------------------------------
   Links and buttons (pill buttons, as in the brand mock-up)
   ------------------------------------------------------------------ */
.link-line {
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 100% 100%;
	background-size: 0% 2px;
	padding-bottom: 2px;
	transition: background-size 0.5s var(--ease);
}

.link-line:hover,
.link-line:focus-visible {
	background-position: 0% 100%;
	background-size: 100% 2px;
}

.icon-arrow {
	flex: none;
	transition: transform 0.5s var(--ease);
}

.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	padding: 0.95rem 1.6rem 0.9rem;
	border: 2px solid transparent;
	border-radius: 999px;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	overflow: hidden;
	isolation: isolate;
	cursor: pointer;
	transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.btn::before {
	content: "";
	position: absolute;
	inset: -2px;
	z-index: -1;
	border-radius: inherit;
	background: var(--black);
	transform: translateY(102%);
	transition: transform 0.5s var(--ease);
}

.btn:hover::before,
.btn:focus-visible::before {
	transform: none;
}

.btn:hover .icon-arrow,
.btn:focus-visible .icon-arrow,
.link-arrow:hover .icon-arrow,
.link-arrow:focus-visible .icon-arrow {
	transform: translate(3px, -3px);
}

.btn-accent {
	background: var(--fun-green);
	color: var(--black);
}

.btn-accent:hover,
.btn-accent:focus-visible {
	color: var(--off-white);
}

.btn-orange {
	background: var(--orange);
	color: var(--black);
}

.btn-orange:hover,
.btn-orange:focus-visible {
	color: var(--off-white);
}

.btn-ghost {
	border-color: rgba(245, 243, 239, 0.7);
	color: var(--off-white);
}

.btn-ghost::before {
	background: var(--off-white);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
	border-color: var(--off-white);
	color: var(--black);
}

.btn-ink {
	background: var(--black);
	color: var(--off-white);
}

.btn-ink::before {
	background: var(--off-white);
}

.btn-ink:hover,
.btn-ink:focus-visible {
	color: var(--black);
}

.btn-sm {
	padding: 0.7rem 1.2rem 0.65rem;
	font-size: 0.98rem;
}

.btn-lg {
	padding: 1.2rem 2.1rem 1.15rem;
	font-size: 1.2rem;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid currentColor;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	transition: gap 0.4s var(--ease);
}

.link-arrow:hover,
.link-arrow:focus-visible {
	gap: 1rem;
}

/* ------------------------------------------------------------------
   Header
   ------------------------------------------------------------------ */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 60;
	color: var(--off-white);
	transition: transform 0.6s var(--ease), background-color 0.4s ease, color 0.4s ease;
}

.site-header.is-scrolled {
	background: var(--off-white);
	color: var(--black);
	box-shadow: 0 1px 0 var(--line-light);
}

.site-header.is-hidden {
	transform: translateY(-101%);
}

body.menu-open .site-header {
	transform: none;
	background: transparent;
	box-shadow: none;
	color: var(--black);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	height: var(--header-h);
	padding-inline: var(--gutter);
}

.brand {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex: none;
}

.brand-logo {
	width: auto;
	height: clamp(30px, 2.6vw, 38px);
	transition: opacity 0.4s ease;
}

/* Light logo over the hero, dark logo on the off-white bar and in the menu. */
.brand-logo-dark {
	position: absolute;
	left: 0;
	top: 50%;
	translate: 0 -50%;
	opacity: 0;
}

.site-header.is-scrolled .brand-logo-light,
body.menu-open .brand-logo-light {
	opacity: 0;
}

.site-header.is-scrolled .brand-logo-dark,
body.menu-open .brand-logo-dark {
	opacity: 1;
}

.nav {
	display: none;
	align-items: center;
	gap: clamp(1.3rem, 2.3vw, 2.6rem);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.nav-link {
	position: relative;
	padding: 0.4rem 0;
}

.nav-link::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 3px;
	border-radius: 3px;
	background: var(--orange);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.5s var(--ease);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
	transform: scaleX(1);
	transform-origin: left;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.header-cta {
	display: none;
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	padding: 0.6rem 0;
	border: 0;
	background: none;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	cursor: pointer;
}

.menu-toggle-icon {
	position: relative;
	width: 28px;
	height: 12px;
}

.menu-toggle-icon i {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2.5px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}

.menu-toggle-icon i:first-child {
	top: 0;
}

.menu-toggle-icon i:last-child {
	top: 9.5px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child {
	top: 5px;
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child {
	top: 5px;
	transform: rotate(-45deg);
}

@media (min-width: 560px) {
	.header-cta {
		display: inline-flex;
	}
}

@media (min-width: 1120px) {
	.nav {
		display: flex;
	}

	.menu-toggle {
		display: none;
	}
}

/* Fullscreen menu (small and medium screens). */
.menu {
	position: fixed;
	inset: 0;
	z-index: 50;
	color: var(--black);
	visibility: hidden;
	transition: visibility 0s linear 0.8s;
}

.menu[hidden] {
	display: none;
}

.menu.is-open {
	visibility: visible;
	transition-delay: 0s;
}

.menu-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: var(--fun-green);
	clip-path: circle(0% at calc(100% - var(--gutter) - 20px) 40px);
	transition: clip-path 0.8s var(--ease-in-out);
}

.menu.is-open .menu-bg {
	clip-path: circle(150% at calc(100% - var(--gutter) - 20px) 40px);
}

.pattern-menu {
	color: var(--off-white);
	opacity: 0.22;
}

.menu-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
	height: 100%;
	padding: calc(var(--header-h) + 4vh) var(--gutter) max(2rem, env(safe-area-inset-bottom));
	overflow-y: auto;
}

.menu-nav {
	display: grid;
}

.menu-link {
	display: flex;
	align-items: baseline;
	gap: 1.1rem;
	padding: 0.35rem 0;
	border-bottom: 2px solid rgba(28, 28, 29, 0.16);
	overflow: hidden;
}

.menu-num {
	font-size: 0.95rem;
	font-weight: 700;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.menu-text {
	display: block;
	font-size: clamp(2.8rem, 11vw, 5.6rem);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	transform: translateY(115%);
	transition: transform 0.5s var(--ease), color 0.3s ease;
}

.menu-link:hover .menu-text,
.menu-link:focus-visible .menu-text {
	color: var(--off-white);
}

.menu.is-open .menu-text {
	transform: none;
	transition-duration: 0.9s, 0.3s;
}

.menu.is-open .menu-num {
	opacity: 1;
	transition-delay: 0.5s;
}

.menu.is-open .menu-link:nth-child(1) .menu-text { transition-delay: 0.22s, 0s; }
.menu.is-open .menu-link:nth-child(2) .menu-text { transition-delay: 0.28s, 0s; }
.menu.is-open .menu-link:nth-child(3) .menu-text { transition-delay: 0.34s, 0s; }
.menu.is-open .menu-link:nth-child(4) .menu-text { transition-delay: 0.4s, 0s; }
.menu.is-open .menu-link:nth-child(5) .menu-text { transition-delay: 0.46s, 0s; }
.menu.is-open .menu-link:nth-child(6) .menu-text { transition-delay: 0.52s, 0s; }

.menu-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem 2rem;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.4s ease, transform 0.6s var(--ease);
}

.menu.is-open .menu-foot {
	opacity: 1;
	transform: none;
	transition-delay: 0.6s;
}

.menu-foot .btn-accent {
	background: var(--black);
	color: var(--off-white);
}

.menu-foot .btn-accent::before {
	background: var(--off-white);
}

.menu-foot .btn-accent:hover,
.menu-foot .btn-accent:focus-visible {
	color: var(--black);
}

.menu-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.6rem;
	font-size: 1.05rem;
	font-weight: 500;
}

@media (min-width: 1120px) {
	.menu {
		display: none;
	}
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 100vh;
	min-height: 100svh;
	padding: calc(var(--header-h) + 3rem) 0 clamp(2rem, 5vh, 3.5rem);
	overflow: hidden;
	background: var(--black);
	color: var(--off-white);
}

.hero-media {
	position: absolute;
	inset: 0;
	will-change: transform;
}

.hero-poster,
.hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-video {
	opacity: 0;
	transition: opacity 1.2s ease;
}

.hero-video.is-playing {
	opacity: 1;
}

.hero-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgba(28, 28, 29, 0.9) 0%, rgba(28, 28, 29, 0.55) 36%, rgba(28, 28, 29, 0.1) 64%, rgba(28, 28, 29, 0.42) 100%);
}

.hero-shape {
	top: calc(var(--header-h) + 2vh);
	right: -9vw;
	width: clamp(150px, 24vw, 400px);
	color: var(--orange);
}

@media (max-width: 899px) {
	.hero-shape {
		right: -16vw;
		width: 38vw;
	}
}

.hero-inner {
	position: relative;
	z-index: 1;
}

/* Portrait of James, framed over the film (client's "Hero Image"). */
.hero-portrait {
	position: absolute;
	top: calc(var(--header-h) + 1.5rem);
	right: var(--gutter);
	z-index: 1;
	width: clamp(104px, 26vw, 150px);
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 0 0 4px var(--off-white), 12px 12px 0 4px var(--orange);
	transform: rotate(3deg);
}

.hero-portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 900px) {
	.hero-portrait {
		top: calc(var(--header-h) + 6vh);
		right: calc(var(--gutter) + 4.5rem);
		width: clamp(220px, 21vw, 340px);
		box-shadow: 0 0 0 6px var(--off-white), 18px 18px 0 6px var(--orange);
	}
}

/* Phones: no room beside the headline, so the portrait shows from 600px up. */
@media (max-width: 599px) {
	.hero-portrait {
		display: none;
	}
}

/* Keep the headline clear of the portrait. */
@media (min-width: 600px) and (max-width: 899px) {
	.hero-title {
		padding-right: calc(clamp(104px, 26vw, 150px) + 1rem);
	}
}

@media (min-width: 900px) {
	.hero-title {
		padding-right: calc(clamp(220px, 21vw, 340px) + 4.5rem);
		font-size: clamp(3rem, 7vw, 8.4rem);
	}
}

@media (min-width: 900px) and (max-height: 760px) {
	.hero-title {
		padding-right: calc(clamp(180px, 16vw, 240px) + 4.5rem);
	}

	.hero-portrait {
		width: clamp(180px, 16vw, 240px);
	}
}

.hero-title {
	font-size: clamp(3rem, 8.4vw, 9.6rem);
	line-height: 0.88;
	text-wrap: initial;
}

.hero-line {
	display: block;
}

.hero-line-alt {
	margin-top: 0.42em;
	max-width: 22ch;
	font-size: 0.4em;
	line-height: 0.98;
	color: var(--orange);
}

.hero-foot {
	display: grid;
	gap: 1.8rem;
	margin-top: clamp(2rem, 4.5vh, 3.2rem);
	padding-top: clamp(1.4rem, 3vh, 2rem);
	border-top: 2px solid rgba(245, 243, 239, 0.3);
}

.hero-lede {
	max-width: 50ch;
	font-weight: 500;
	color: rgba(245, 243, 239, 0.92);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

/* "Watch the film": opens the brand film with sound. */
.hero-film {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: clamp(1.2rem, 3vh, 2rem);
	padding: 0.35rem 1.1rem 0.35rem 0.35rem;
	border: 0;
	border-radius: 999px;
	background: rgba(28, 28, 29, 0.45);
	color: var(--off-white);
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: background-color 0.3s ease;
}

.hero-film-icon {
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	background: var(--orange);
	color: var(--black);
	transition: transform 0.4s var(--ease);
}

.hero-film-icon svg {
	margin-left: 2px;
}

.hero-film-time {
	font-weight: 500;
	color: rgba(245, 243, 239, 0.7);
}

.hero-film:hover,
.hero-film:focus-visible {
	background: rgba(28, 28, 29, 0.7);
}

.hero-film:hover .hero-film-icon,
.hero-film:focus-visible .hero-film-icon {
	transform: scale(1.08);
}

.film-dialog {
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: clamp(3.5rem, 7vh, 5rem) var(--gutter) clamp(1rem, 4vh, 3rem);
	border: 0;
	background: transparent;
	color: var(--off-white);
}

.film-dialog::backdrop {
	background: rgba(28, 28, 29, 0.94);
}

.film-dialog[open] {
	display: grid;
	place-items: center;
}

.film-video {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	background: var(--black);
}

.film-dialog.is-tall .film-video {
	aspect-ratio: 9 / 16;
}

.film-close {
	position: absolute;
	top: clamp(0.6rem, 2vh, 1.2rem);
	right: var(--gutter);
	display: grid;
	place-items: center;
	width: 2.8rem;
	height: 2.8rem;
	border: 2px solid rgba(245, 243, 239, 0.4);
	border-radius: 50%;
	background: transparent;
	color: var(--off-white);
	cursor: pointer;
	transition: border-color 0.3s ease, color 0.3s ease;
}

.film-close:hover,
.film-close:focus-visible {
	border-color: var(--orange);
	color: var(--orange);
}

.hero-meta {
	display: none;
}

.hero-scroll {
	display: inline-flex;
	align-items: center;
	gap: 0.9rem;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	writing-mode: vertical-rl;
}

.hero-scroll i {
	position: relative;
	display: block;
	width: 2px;
	height: 64px;
	background: rgba(245, 243, 239, 0.3);
	overflow: hidden;
}

.hero-scroll i::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--orange);
	animation: scroll-cue 2.4s var(--ease-in-out) infinite;
}

@keyframes scroll-cue {
	0% { transform: translateY(-100%); }
	55% { transform: none; }
	100% { transform: translateY(100%); }
}

/* Hidden until the intro plays. The flag is only set when motion is allowed. */
html.motion [data-hero-line],
html.motion [data-hero-in] {
	opacity: 0;
}

@media (max-width: 559px) {
	.hero-actions .btn {
		width: 100%;
		justify-content: space-between;
	}
}

@media (min-width: 900px) {
	.hero-foot {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
		gap: 3rem;
	}

	.hero-meta {
		display: none;
		position: absolute;
		z-index: 1;
		top: 50%;
		right: var(--gutter);
		transform: translateY(-50%);
	}
}

/* ------------------------------------------------------------------
   Who we are
   ------------------------------------------------------------------ */
.who {
	position: relative;
	padding-block: var(--section);
	overflow: hidden;
	background: var(--off-white);
	color: var(--black);
}

.who .container {
	position: relative;
}

.who-star {
	top: -2rem;
	right: -2%;
	width: clamp(110px, 16vw, 250px);
	color: var(--fun-green);
}

.who .label,
.who .statement,
.who-grid {
	position: relative;
	z-index: 1;
}

.statement {
	margin-top: clamp(2rem, 5vw, 4rem);
	max-width: 15ch;
	font-size: clamp(3rem, 9vw, 10rem);
	line-height: 0.88;
	text-wrap: initial;
}

.statement em {
	color: var(--blue-funk);
}

.who-grid {
	display: grid;
	gap: clamp(3rem, 8vw, 5rem);
	margin-top: clamp(4rem, 10vw, 9rem);
}

.who-media {
	position: relative;
	padding-bottom: 14%;
	padding-right: 12%;
}

.who-squiggle {
	top: -9%;
	left: -10%;
	width: 58%;
	color: var(--orange);
}

.who-figure {
	position: relative;
	z-index: 1;
	overflow: hidden;
	border-radius: 6px;
	background: var(--off-white-2);
}

.who-figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.who-figure-main {
	aspect-ratio: 16 / 10;
}

.who-figure-side {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 2;
	width: 40%;
	aspect-ratio: 3 / 4;
	box-shadow: 0 0 0 clamp(6px, 0.8vw, 12px) var(--off-white);
}

.who-copy {
	display: grid;
	gap: 1.3rem;
	align-content: center;
	max-width: 36rem;
	color: var(--on-light-soft);
}

.who-lede {
	margin-bottom: 0.8rem;
	font-size: clamp(1.7rem, 2.8vw, 2.7rem);
	font-weight: 700;
	line-height: 1.04;
	color: var(--black);
}

@media (min-width: 900px) {
	.who-grid {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
		gap: clamp(4rem, 9vw, 9rem);
		align-items: center;
	}
}

/* ------------------------------------------------------------------
   Featured case study: Fun Green
   ------------------------------------------------------------------ */
.case {
	position: relative;
	padding-top: var(--section);
	background: var(--fun-green);
	color: var(--black);
	overflow: hidden;
}

.pattern-case {
	bottom: auto;
	height: clamp(420px, 60vw, 900px);
	color: var(--off-white);
	opacity: 0.28;
	-webkit-mask-image: url("assets/pattern.webp"), linear-gradient(#000 30%, transparent);
	mask-image: url("assets/pattern.webp"), linear-gradient(#000 30%, transparent);
	-webkit-mask-composite: source-in;
	-webkit-mask-position: center top, center;
	mask-position: center top, center;
	mask-composite: intersect;
	-webkit-mask-size: max(2600px, 130%) auto, 100% 100%;
	mask-size: max(2600px, 130%) auto, 100% 100%;
	-webkit-mask-repeat: repeat-y, no-repeat;
	mask-repeat: repeat-y, no-repeat;
}

.case > .container,
.case-media,
.marquee {
	position: relative;
	z-index: 1;
}

.case .label {
	color: var(--black);
}

.case .label-num {
	background: var(--black);
	color: var(--fun-green);
}

.case-title {
	margin-top: clamp(1.6rem, 4vw, 3rem);
	max-width: 11ch;
	font-size: clamp(2.6rem, 9.6vw, 11.5rem);
	line-height: 0.84;
	text-wrap: initial;
}

.case-media {
	height: clamp(340px, 86vh, 900px);
	margin-top: clamp(3rem, 7vw, 6rem);
}

.case-media-inner {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	will-change: clip-path;
}

.case-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 55% 40%;
}

.case-body {
	display: grid;
	gap: clamp(3rem, 8vw, 5rem);
	padding-block: clamp(4rem, 9vw, 8rem);
}

.case-lede {
	margin-top: 1.2rem;
	font-size: clamp(1.5rem, 2.3vw, 2.3rem);
	font-weight: 500;
	line-height: 1.12;
}

.case-mandate .link-arrow {
	margin-top: 2.4rem;
}

.case-list {
	margin-top: 1.4rem;
}

.case-item {
	display: grid;
	grid-template-columns: 3.4rem minmax(0, 1fr);
	gap: 1rem;
	padding: clamp(1.4rem, 2.6vw, 2.2rem) 0;
	border-top: 2px solid rgba(28, 28, 29, 0.22);
}

.case-item:last-child {
	border-bottom: 2px solid rgba(28, 28, 29, 0.22);
}

.case-num,
.why-num,
.service-num {
	display: inline-grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	font-size: 0.95rem;
	font-weight: 700;
	font-feature-settings: "tnum";
}

.case-num {
	background: var(--off-white);
	color: var(--black);
}

.case-item h4 {
	font-size: clamp(1.6rem, 2.6vw, 2.5rem);
	line-height: 1;
}

.case-item p {
	margin-top: 0.6rem;
	max-width: 46ch;
	color: rgba(28, 28, 29, 0.82);
}

@media (min-width: 900px) {
	.case-body {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: clamp(4rem, 9vw, 9rem);
		align-items: start;
	}

	.case-mandate {
		position: sticky;
		top: calc(var(--header-h) + 2rem);
	}
}

/* Kinetic strip: black band with orange type and brand stars. */
.marquee {
	padding-block: clamp(1.4rem, 3vw, 2.6rem);
	background: var(--black);
	color: var(--off-white);
	overflow: hidden;
}

.marquee-track {
	display: flex;
	align-items: center;
	gap: clamp(1.4rem, 2.8vw, 2.8rem);
	width: max-content;
	font-size: clamp(2.6rem, 7.4vw, 7.6rem);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	will-change: transform;
}

.marquee-track em {
	font-style: normal;
	color: var(--orange);
}

.marquee-track i {
	flex: none;
	width: 0.62em;
	aspect-ratio: 1;
	background: var(--fun-green);
	-webkit-mask: url("assets/shape-star.webp") center / contain no-repeat;
	mask: url("assets/shape-star.webp") center / contain no-repeat;
}

.marquee-track i:nth-of-type(2n) {
	background: var(--cool-blue);
}

/* ------------------------------------------------------------------
   Core services
   Stacked by default. main.js adds .is-hscroll on large screens and
   turns the track into a pinned horizontal sequence.
   ------------------------------------------------------------------ */
.services {
	background: var(--off-white);
	color: var(--black);
}

.services-track {
	display: grid;
	gap: clamp(3rem, 8vw, 5rem);
	padding: var(--section) var(--gutter);
}

.services-intro {
	position: relative;
}

.services-shape {
	top: -1.5rem;
	right: 0;
	width: clamp(90px, 12vw, 170px);
	color: var(--cool-blue);
}

.services-intro > :not(.shape) {
	position: relative;
	z-index: 1;
}

.services-title {
	margin-top: clamp(1.6rem, 4vw, 3rem);
	font-size: clamp(3.2rem, 10vw, 9rem);
	line-height: 0.86;
}

.services-hint {
	display: none;
}

.service {
	--tone: var(--orange);
	display: grid;
	gap: 2rem;
	padding-top: clamp(2rem, 5vw, 3rem);
	border-top: 2px solid var(--line-light);
}

.service:nth-of-type(2) {
	--tone: var(--blue-funk);
}

.service:nth-of-type(3) {
	--tone: var(--fun-green);
}

.service-num {
	width: 3.2rem;
	height: 3.2rem;
	background: var(--tone);
	color: var(--black);
	font-size: 1.15rem;
}

.service:nth-of-type(2) .service-num {
	color: var(--off-white);
}

.service-title {
	margin-top: 1rem;
	font-size: clamp(2.2rem, 3.8vw, 3.8rem);
	line-height: 0.92;
	text-transform: uppercase;
}

.service-intro {
	margin-top: 1.1rem;
	max-width: 44ch;
	color: var(--on-light-soft);
}

.service-figure {
	margin-top: 1.8rem;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 6px;
	background: var(--off-white-2);
	box-shadow: 10px 10px 0 var(--tone);
}

.service-figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-list li {
	padding: 1.1rem 0;
	border-top: 2px solid var(--line-light);
}

.service-list li:last-child {
	border-bottom: 2px solid var(--line-light);
}

.service-list h4 {
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.1;
}

.service-list p {
	margin-top: 0.3rem;
	font-size: 1.1rem;
	line-height: 1.42;
	color: var(--on-light-soft);
}

.services-progress {
	display: none;
}

@media (min-width: 768px) {
	.service {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: clamp(2.5rem, 6vw, 6rem);
		align-items: start;
	}
}

.services.is-hscroll .services-pin {
	position: relative;
	height: 100vh;
	overflow: hidden;
}

.services.is-hscroll .services-track {
	display: flex;
	align-items: center;
	gap: clamp(4rem, 7vw, 8rem);
	width: max-content;
	height: 100%;
	padding: calc(var(--header-h) + 1rem) clamp(4rem, 9vw, 10rem) 5.5rem var(--gutter);
	will-change: transform;
}

.services.is-hscroll .services-intro {
	flex: none;
	width: min(38vw, 560px);
}

.services.is-hscroll .services-title {
	font-size: clamp(4rem, 8.4vw, 9rem);
}

.services.is-hscroll .services-hint {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	margin-top: 2.4rem;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--on-light-soft);
}

.services.is-hscroll .services-hint .icon-arrow {
	transform: rotate(45deg);
}

.services.is-hscroll .service {
	flex: none;
	width: min(82vw, 1180px);
	padding-top: 0;
	padding-left: clamp(2rem, 4vw, 4rem);
	border-top: 0;
	border-left: 2px solid var(--line-light);
	align-items: center;
}

.services.is-hscroll .service-title {
	font-size: clamp(2.2rem, 3.4vw, 3.8rem);
}

.services.is-hscroll .service-figure {
	aspect-ratio: auto;
	height: min(34vh, 360px);
}

.services.is-hscroll .service-list li {
	padding: clamp(0.6rem, 1.7vh, 1.1rem) 0;
}

.services.is-hscroll .services-progress {
	position: absolute;
	inset: auto var(--gutter) 2rem var(--gutter);
	display: flex;
	align-items: center;
	gap: 1.4rem;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--on-light-soft);
}

.services-count b {
	font-weight: 800;
	color: var(--black);
}

.services-bar {
	position: relative;
	flex: 1;
	height: 4px;
	border-radius: 4px;
	background: var(--line-light);
	overflow: hidden;
}

.services-bar i {
	position: absolute;
	inset: 0;
	background: var(--black);
	transform: scaleX(0);
	transform-origin: left;
}

/* ------------------------------------------------------------------
   Why choose us: Black with a Blue Funk pattern
   ------------------------------------------------------------------ */
.why {
	position: relative;
	padding-block: var(--section);
	overflow: hidden;
	background: var(--black);
	color: var(--off-white);
}

.pattern-why {
	color: var(--blue-funk);
	opacity: 0.26;
	-webkit-mask-image: url("assets/pattern.webp"), linear-gradient(transparent, #000 40%, transparent);
	mask-image: url("assets/pattern.webp"), linear-gradient(transparent, #000 40%, transparent);
	-webkit-mask-composite: source-in;
	-webkit-mask-position: center top, center;
	mask-position: center top, center;
	mask-composite: intersect;
	-webkit-mask-size: max(2600px, 130%) auto, 100% 100%;
	mask-size: max(2600px, 130%) auto, 100% 100%;
	-webkit-mask-repeat: repeat-y, no-repeat;
	mask-repeat: repeat-y, no-repeat;
}

.why > .container {
	position: relative;
	z-index: 1;
}

.why .label-num {
	background: var(--cool-blue);
}

.why-title {
	margin-top: clamp(1.6rem, 4vw, 3rem);
	max-width: 12ch;
	font-size: clamp(3rem, 8.4vw, 9rem);
	line-height: 0.88;
}

.why-list {
	margin-top: clamp(3rem, 7vw, 6rem);
}

.why-item {
	position: relative;
	display: grid;
	grid-template-columns: 3.4rem minmax(0, 1fr);
	gap: 0.6rem 1rem;
	padding: clamp(1.8rem, 3.6vw, 3rem) 0;
	border-top: 2px solid var(--line-dark);
}

.why-item:last-child {
	border-bottom: 2px solid var(--line-dark);
}

.why-num {
	margin-top: 0.3rem;
	background: var(--orange);
	color: var(--black);
}

.why-item:nth-child(2) .why-num {
	background: var(--fun-green);
}

.why-item:nth-child(3) .why-num {
	background: var(--cool-blue);
}

.why-name {
	font-size: clamp(2.2rem, 4.8vw, 4.8rem);
	line-height: 0.94;
	text-transform: uppercase;
	transition: transform 0.6s var(--ease), color 0.4s ease;
}

.why-text {
	grid-column: 2;
	max-width: 48ch;
	color: var(--on-dark-soft);
}

.why-figure {
	grid-column: 2;
	margin-top: 1rem;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 6px;
	background: var(--black-2);
}

.why-figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Pointer devices on wide screens: the image is revealed on hover and drifts with the cursor. */
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
	.why-item {
		grid-template-columns: 5rem minmax(0, 1fr) 36%;
		padding-right: 0;
	}

	.why-text {
		margin-top: 0.4rem;
	}

	.why-item > :not(.why-figure) {
		transition: opacity 0.4s ease, transform 0.6s var(--ease), color 0.4s ease;
	}

	.why-list:hover .why-item:not(:hover) > :not(.why-figure) {
		opacity: 0.36;
	}

	.why-item:hover .why-name {
		transform: translateX(1.2rem);
		color: var(--orange);
	}

	.why-item:nth-child(2):hover .why-name {
		color: var(--fun-green);
	}

	.why-item:nth-child(3):hover .why-name {
		color: var(--cool-blue);
	}

	.why-figure {
		position: absolute;
		top: 50%;
		right: 3%;
		z-index: 3;
		width: min(30%, 400px);
		margin: 0;
		aspect-ratio: 4 / 3;
		pointer-events: none;
		translate: 0 -50%;
		clip-path: inset(50% 0 50% 0 round 6px);
		transition: clip-path 0.7s var(--ease);
	}

	.why-figure img {
		transform: scale(1.25);
		transition: transform 1s var(--ease);
	}

	.why-item:hover .why-figure,
	.why-item:focus-within .why-figure {
		clip-path: inset(0 round 6px);
	}

	.why-item:hover .why-figure img,
	.why-item:focus-within .why-figure img {
		transform: none;
	}
}

/* ------------------------------------------------------------------
   Footer: call to action (Creative Orange), links, credit
   ------------------------------------------------------------------ */
.cta {
	position: relative;
	padding-block: var(--section);
	overflow: hidden;
	background: var(--orange);
	color: var(--black);
}

.pattern-cta {
	color: var(--black);
	opacity: 0.1;
}

.cta-shape {
	top: 8%;
	right: -6vw;
	width: clamp(200px, 30vw, 480px);
	color: var(--off-white);
}

.cta > .container {
	position: relative;
	z-index: 1;
}

.cta .label {
	color: var(--black);
}

.cta .label-num {
	background: var(--black);
	color: var(--orange);
}

.cta :focus-visible {
	outline-color: var(--black);
}

.cta-heading {
	margin-top: clamp(1.6rem, 4vw, 3rem);
	max-width: 12ch;
	font-size: clamp(3.2rem, 10vw, 11rem);
	line-height: 0.86;
}

.cta-grid {
	display: grid;
	gap: 2.5rem;
	margin-top: clamp(2.5rem, 6vw, 5rem);
	padding-top: clamp(1.8rem, 3vw, 2.6rem);
	border-top: 2px solid rgba(28, 28, 29, 0.3);
}

.cta-text {
	max-width: 44ch;
	font-size: clamp(1.25rem, 1.7vw, 1.6rem);
	font-weight: 500;
	line-height: 1.3;
}

.cta-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.8rem 2.5rem;
}

.cta-details dt {
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cta-details dd {
	margin-top: 0.5rem;
	font-size: 1.25rem;
	font-weight: 500;
	overflow-wrap: anywhere;
}

.cta .btn-lg {
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 900px) {
	.cta-grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: clamp(4rem, 9vw, 9rem);
	}
}

.footer-main {
	padding: clamp(3rem, 6vw, 5rem) 0 2rem;
	background: var(--black);
	color: var(--off-white);
	overflow: hidden;
}

.footer-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem 3rem;
}

.footer-logo {
	width: auto;
	height: clamp(64px, 6vw, 84px);
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem clamp(1.2rem, 2.4vw, 2.4rem);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.footer-wordmark {
	margin: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
	font-size: clamp(2.6rem, 10.8vw, 12.5rem);
	font-weight: 800;
	line-height: 0.86;
	text-transform: uppercase;
	white-space: nowrap;
	text-align: center;
	color: var(--orange);
}

.footer-wordmark span {
	display: inline-block;
	will-change: transform;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem 2rem;
	padding-top: 1.6rem;
	border-top: 2px solid var(--line-dark);
	font-size: 1rem;
	font-weight: 500;
	color: var(--on-dark-soft);
}

.footer-credit a {
	color: var(--off-white);
}

.to-top {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.04em;
	transition: color 0.3s ease;
}

.to-top:hover,
.to-top:focus-visible {
	color: var(--orange);
}

/* ------------------------------------------------------------------
   Inner pages: the header sits on a light page hero
   ------------------------------------------------------------------ */
body:not(.home) .site-header {
	color: var(--black);
}

body:not(.home) .brand-logo-light {
	opacity: 0;
}

body:not(.home) .brand-logo-dark {
	opacity: 1;
}

body:not(.home) .header-cta {
	background: var(--black);
	color: var(--off-white);
}

body:not(.home) .header-cta::before {
	background: var(--off-white);
}

body:not(.home) .header-cta:hover,
body:not(.home) .header-cta:focus-visible {
	color: var(--black);
}

/* Brand tones: one variable per component, set by a tone class. */
.tone-orange { --tone: var(--orange); }
.tone-green { --tone: var(--fun-green); }
.tone-sky { --tone: var(--cool-blue); }
.tone-blue { --tone: var(--blue-funk); }
.tone-off { --tone: var(--off-white); }

/* ------------------------------------------------------------------
   Page hero (all inner pages)
   ------------------------------------------------------------------ */
.page-hero {
	position: relative;
	overflow: hidden;
	padding: calc(var(--header-h) + clamp(4rem, 10vw, 9rem)) 0 clamp(4rem, 9vw, 8rem);
	background: var(--tone);
	color: var(--black);
}

.page-hero-compact {
	padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(3rem, 6vw, 5rem);
}

.pattern-hero {
	color: var(--off-white);
	opacity: 0.26;
}

.tone-orange .pattern-hero {
	color: var(--black);
	opacity: 0.08;
}

.tone-sky .pattern-hero {
	opacity: 0.45;
}

.tone-off .pattern-hero {
	color: var(--orange);
	opacity: 0.14;
}

.page-hero-shape {
	right: -6vw;
	bottom: -9vw;
	width: clamp(190px, 30vw, 520px);
	color: var(--off-white);
}

.tone-sky .page-hero-shape {
	color: var(--blue-funk);
}

.tone-off .page-hero-shape {
	color: var(--fun-green);
}

.page-hero-inner {
	position: relative;
	z-index: 1;
}

.page-hero .label {
	color: var(--black);
}

.page-title {
	margin-top: clamp(1.4rem, 3vw, 2.4rem);
	max-width: 14ch;
	font-size: clamp(3rem, 9vw, 10.5rem);
	line-height: 0.86;
	text-wrap: initial;
}

.page-hero-compact .page-title {
	font-size: clamp(2.6rem, 7vw, 7rem);
}

.page-lede {
	margin-top: clamp(1.6rem, 3vw, 2.6rem);
	max-width: 40ch;
	font-size: clamp(1.25rem, 1.8vw, 1.75rem);
	font-weight: 500;
	line-height: 1.25;
}

.page-hero .btn {
	margin-top: 2.4rem;
}

.section-title {
	margin-top: clamp(1.6rem, 4vw, 3rem);
	max-width: 14ch;
	font-size: clamp(2.8rem, 8vw, 8.4rem);
	line-height: 0.88;
}

.section-title-sm {
	margin-top: 0;
	font-size: clamp(2.1rem, 4.4vw, 4.4rem);
}

/* ------------------------------------------------------------------
   Work: featured case study
   ------------------------------------------------------------------ */
.cs {
	padding-top: var(--section);
	background: var(--off-white);
}

.cs-tag {
	margin-bottom: 1.4rem;
	color: var(--blue-funk);
}

.cs-title {
	margin-top: clamp(1.4rem, 3vw, 2.4rem);
	max-width: 16ch;
	font-size: clamp(2.6rem, 7.4vw, 8rem);
	line-height: 0.88;
	text-wrap: initial;
}

.cs-media {
	height: clamp(320px, 80vh, 860px);
	margin-top: clamp(3rem, 6vw, 5rem);
}

.cs-media-inner {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	will-change: clip-path;
}

.cs-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 55% 40%;
}

.cs-body {
	display: grid;
	gap: clamp(3rem, 7vw, 5rem);
	padding-block: clamp(4rem, 8vw, 7rem);
}

.cs-story {
	display: grid;
	gap: 2.6rem;
	align-content: start;
}

.cs .eyebrow {
	color: var(--blue-funk);
}

.cs-block p {
	margin-top: 0.9rem;
	max-width: 46ch;
	color: var(--on-light-soft);
}

.cs-block .cs-lede {
	font-size: clamp(1.5rem, 2.3vw, 2.2rem);
	font-weight: 500;
	line-height: 1.15;
	color: var(--black);
}

.cs-production .case-item {
	border-color: var(--line-light);
}

.cs-production .case-num {
	background: var(--fun-green);
}

.cs-production .case-item p {
	color: var(--on-light-soft);
}

@media (min-width: 900px) {
	.cs-body {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: clamp(4rem, 9vw, 9rem);
	}

	.cs-story {
		position: sticky;
		top: calc(var(--header-h) + 2rem);
	}
}

.cs-impact {
	position: relative;
	overflow: hidden;
	padding-block: clamp(4rem, 9vw, 8rem);
	background: var(--black);
	color: var(--off-white);
}

.cs-impact .label {
	color: var(--orange);
}

.cs-impact-inner {
	position: relative;
	z-index: 1;
}

.cs-impact-text {
	margin-top: 1.4rem;
	max-width: 22ch;
	font-size: clamp(2.1rem, 5.2vw, 5.6rem);
	font-weight: 800;
	line-height: 0.95;
	text-transform: uppercase;
}

.cs-impact-shape {
	top: 12%;
	right: -6vw;
	width: clamp(170px, 26vw, 420px);
	color: var(--orange);
}

/* Image mosaic: four photos, two rows of a large and a smaller image. */
.mosaic {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(0.7rem, 1.4vw, 1.3rem);
	padding-block: clamp(3rem, 6vw, 5rem) var(--section);
}

.mosaic-item {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 6px;
	background: var(--off-white-2);
}

.mosaic-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 700px) {
	.mosaic {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	.mosaic-a {
		grid-column: 1 / 8;
	}

	.mosaic-b {
		grid-column: 8 / 13;
		aspect-ratio: auto;
	}

	.mosaic-c {
		grid-column: 1 / 6;
		aspect-ratio: auto;
	}

	.mosaic-d {
		grid-column: 6 / 13;
		aspect-ratio: 3 / 2;
	}

	.mosaic-b img,
	.mosaic-c img {
		position: absolute;
		inset: 0;
	}
}

/* ------------------------------------------------------------------
   Capabilities
   ------------------------------------------------------------------ */
.caps {
	padding-block: var(--section);
}

.caps-grid {
	display: grid;
	gap: clamp(3.5rem, 8vw, 5rem);
}

.cap {
	padding-top: 1.6rem;
	border-top: 6px solid var(--tone);
}

.tone-blue .cap-num {
	color: var(--off-white);
}

.cap-title {
	margin-top: 1rem;
	font-size: clamp(2.1rem, 3.4vw, 3.4rem);
	line-height: 0.92;
	text-transform: uppercase;
}

.cap-intro {
	margin-top: 1rem;
	max-width: 40ch;
	color: var(--on-light-soft);
}

.cap-fig {
	max-width: 640px;
	margin-top: 1.6rem;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 6px;
	background: var(--tone);
	box-shadow: 10px 10px 0 var(--tone);
}

.cap-fig img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cap-list {
	margin-top: 2.2rem;
}

.cap-list li {
	padding: 1.1rem 0;
	border-top: 2px solid var(--line-light);
}

.cap-list li:last-child {
	border-bottom: 2px solid var(--line-light);
}

.cap-list h3 {
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.1;
}

.cap-list p {
	margin-top: 0.3rem;
	font-size: 1.1rem;
	line-height: 1.42;
	color: var(--on-light-soft);
}

@media (min-width: 1100px) {
	.caps-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: clamp(2.5rem, 4vw, 4.5rem);
	}
}

/* Client quote: Blue Funk band between the columns and the marquee. */
.cap-quote {
	position: relative;
	padding-block: var(--section);
	background: var(--tone);
	color: var(--off-white);
	overflow: hidden;
}

.cap-quote-shape {
	top: clamp(-4rem, -6vw, -2rem);
	right: clamp(-5rem, -6vw, -2rem);
	width: clamp(10rem, 24vw, 22rem);
	color: var(--cool-blue);
	opacity: 0.9;
}

.cap-quote-inner {
	position: relative;
	z-index: 1;
	max-width: 62rem;
}

.cap-quote-mark {
	display: block;
	height: 0.5em;
	font-size: clamp(6rem, 12vw, 10rem);
	font-weight: 800;
	line-height: 0.9;
	color: var(--orange);
}

.cap-quote-text {
	margin-top: 1.4rem;
	font-size: clamp(1.6rem, 3vw, 2.6rem);
	font-weight: 500;
	line-height: 1.16;
}

.cap-quote-cite {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin-top: 2.2rem;
	padding-top: 1.2rem;
	border-top: 2px solid var(--line-dark);
}

.cap-quote-name {
	font-size: 1.45rem;
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
}

.cap-quote-role {
	font-size: 1.1rem;
	color: var(--on-dark-soft);
}

/* ------------------------------------------------------------------
   About
   ------------------------------------------------------------------ */
.story,
.leader {
	padding-block: var(--section);
	overflow: hidden;
}

.story-grid,
.leader-grid {
	display: grid;
	gap: clamp(3rem, 8vw, 5rem);
}

.story-copy,
.leader-copy {
	display: grid;
	gap: 1.3rem;
	align-content: center;
	max-width: 40rem;
	color: var(--on-light-soft);
}

.story-lede {
	margin-top: 1rem;
	font-size: clamp(1.8rem, 3vw, 2.9rem);
	font-weight: 700;
	line-height: 1.04;
	color: var(--black);
}

.story-media {
	position: relative;
	padding: 0 12% 18% 0;
}

.story-shape {
	top: -8%;
	right: -2%;
	width: 42%;
	color: var(--orange);
}

.story-fig,
.leader-fig {
	position: relative;
	z-index: 1;
	overflow: hidden;
	border-radius: 6px;
	background: var(--off-white-2);
}

.story-fig img,
.leader-fig img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.story-fig-main {
	aspect-ratio: 4 / 3;
}

.story-fig-side {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 2;
	width: 48%;
	aspect-ratio: 4 / 3;
	box-shadow: 0 0 0 clamp(6px, 0.8vw, 12px) var(--off-white);
}

@media (min-width: 900px) {
	.story-grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: clamp(4rem, 9vw, 9rem);
		align-items: center;
	}

	.leader-grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: clamp(4rem, 8vw, 8rem);
		align-items: center;
	}
}

.pillars {
	position: relative;
	overflow: hidden;
	padding-block: var(--section);
	background: var(--black);
	color: var(--off-white);
}

.pattern-pillars {
	color: var(--fun-green);
	opacity: 0.18;
}

.pillars > .container {
	position: relative;
	z-index: 1;
}

.pillar-list {
	display: grid;
	gap: 1.2rem;
	margin-top: clamp(3rem, 6vw, 5rem);
}

.pillar {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: clamp(18rem, 30vw, 24rem);
	padding: clamp(1.6rem, 3vw, 2.6rem);
	overflow: hidden;
	border-radius: 10px;
	background: var(--tone);
	color: var(--black);
}

.pillar-shape {
	top: -14%;
	right: -14%;
	width: 62%;
	color: var(--off-white);
	opacity: 0.5;
}

.pillar > :not(.shape) {
	position: relative;
	z-index: 1;
}

.pillar-num {
	margin-bottom: auto;
	background: var(--black);
	color: var(--off-white);
}

.pillar h3 {
	margin-top: 2.4rem;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 0.92;
	text-transform: uppercase;
}

.pillar p {
	margin-top: 0.8rem;
	font-weight: 500;
	line-height: 1.35;
}

@media (min-width: 900px) {
	.pillar-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.leader-media {
	position: relative;
	max-width: 560px;
}

.leader-shape {
	bottom: -8%;
	left: -10%;
	width: 70%;
	color: var(--fun-green);
}

.leader-fig {
	aspect-ratio: 3 / 4;
}

.leader-fig img {
	object-position: 50% 30%;
}

.leader-name {
	margin-top: 0.6rem;
	font-size: clamp(3rem, 7vw, 7.4rem);
	line-height: 0.86;
	color: var(--black);
}

.leader-role {
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--blue-funk);
}

.leader-lede {
	font-size: clamp(1.3rem, 1.8vw, 1.7rem);
	font-weight: 500;
	line-height: 1.25;
	color: var(--black);
}

.leader-copy .link-arrow {
	justify-self: start;
	margin-top: 1rem;
	color: var(--black);
}

/* ------------------------------------------------------------------
   Insights: filters and article cards
   ------------------------------------------------------------------ */
.posts {
	padding-block: clamp(3rem, 6vw, 5rem) var(--section);
}

.posts-related {
	padding-top: var(--section);
	background: var(--off-white-2);
}

.posts-related .section-title {
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: clamp(2.4rem, 5vw, 4rem);
}

.filter {
	padding: 0.6rem 1.1rem 0.55rem;
	border: 2px solid var(--black);
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.filter:hover {
	background: var(--off-white-2);
}

.filter.is-active {
	background: var(--black);
	color: var(--off-white);
}

.post-grid {
	display: grid;
	gap: clamp(2.4rem, 4vw, 3.4rem) clamp(1.2rem, 2.4vw, 2rem);
}

.card[hidden] {
	display: none;
}

@media (min-width: 700px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.card-featured {
		grid-column: 1 / -1;
	}

	.post-grid.is-filtered .card-featured {
		grid-column: auto;
	}
}

@media (min-width: 1100px) {
	.post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.card-link {
	display: grid;
	align-content: start;
	gap: 1.1rem;
	height: 100%;
}

.card-fig {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 6px;
	background: var(--tone);
}

.card-fig img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease);
}

.card-link:hover .card-fig img,
.card-link:focus-visible .card-fig img {
	transform: scale(1.04);
}

.card-fig-empty {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}

.card-fig-empty .shape {
	position: static;
	width: 38%;
	color: var(--off-white);
}

.card-cat {
	display: inline-block;
	padding: 0.3rem 0.75rem 0.25rem;
	border-radius: 999px;
	background: var(--tone);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.card-title {
	margin-top: 0.8rem;
	font-size: clamp(1.5rem, 2vw, 2rem);
	line-height: 1;
}

.card-link:hover .card-title,
.card-link:focus-visible .card-title {
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: 4px;
}

.card-excerpt {
	margin-top: 0.9rem;
	max-width: 52ch;
	color: var(--on-light-soft);
}

.card-more {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 1rem;
	padding-bottom: 0.25rem;
	border-bottom: 2px solid currentColor;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.card-link:hover .card-more .icon-arrow,
.card-link:focus-visible .card-more .icon-arrow {
	transform: translate(3px, -3px);
}

@media (min-width: 900px) {
	.post-grid:not(.is-filtered) .card-featured .card-link {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: clamp(2rem, 4vw, 4rem);
		align-items: center;
	}

	.post-grid:not(.is-filtered) .card-featured .card-fig {
		aspect-ratio: 16 / 11;
	}

	.post-grid:not(.is-filtered) .card-featured .card-title {
		font-size: clamp(2.2rem, 3.6vw, 3.8rem);
		line-height: 0.92;
		text-transform: uppercase;
	}
}

.posts-empty {
	padding-block: 2rem;
	font-weight: 500;
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 3rem;
}

.pagination .page-numbers {
	padding: 0.5rem 0.95rem;
	border: 2px solid var(--black);
	border-radius: 999px;
	font-weight: 700;
}

.pagination .current {
	background: var(--black);
	color: var(--off-white);
}

/* ------------------------------------------------------------------
   Article and plain pages: reading layout
   ------------------------------------------------------------------ */
.article-hero {
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

.article-hero .label {
	gap: 0.6rem;
}

.article-title {
	margin-top: clamp(1.4rem, 3vw, 2.4rem);
	max-width: 22ch;
	font-size: clamp(2.3rem, 5.4vw, 5.8rem);
	line-height: 0.92;
	text-wrap: balance;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1.6rem;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.article-media {
	margin-top: clamp(2rem, 4vw, 3.5rem);
}

.article-fig {
	max-width: 1100px;
	margin-inline: auto;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 8px;
	background: var(--off-white-2);
}

.article-fig img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.prose {
	max-width: 44rem;
	margin-inline: auto;
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
	font-size: clamp(1.15rem, 1.05rem + 0.3vw, 1.35rem);
	line-height: 1.6;
	color: #2e2e30;
}

.prose > * + * {
	margin-top: 1.2em;
}

.prose h2 {
	margin-top: 2em;
	font-size: clamp(1.9rem, 3vw, 2.8rem);
	line-height: 0.95;
	color: var(--black);
}

.prose h3 {
	margin-top: 1.8em;
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	line-height: 1.05;
	color: var(--black);
}

.prose h4 {
	margin-top: 1.6em;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--black);
}

.prose strong {
	font-weight: 700;
	color: var(--black);
}

.prose a {
	color: var(--blue-funk);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

.prose ul {
	list-style: disc;
}

.prose ol {
	list-style: decimal;
}

.prose li + li {
	margin-top: 0.55em;
}

.prose li::marker {
	color: var(--orange);
}

.prose blockquote {
	margin: 1.6em 0;
	padding-left: 1.2rem;
	border-left: 6px solid var(--fun-green);
	font-size: 1.2em;
	font-weight: 500;
	color: var(--black);
}

.prose img {
	height: auto;
	border-radius: 6px;
}

.prose figure {
	margin: 2em 0;
}

.prose figcaption {
	margin-top: 0.5rem;
	font-size: 0.9rem;
	color: var(--on-light-soft);
}

.prose hr {
	height: 2px;
	margin: 2.4em 0;
	border: 0;
	background: var(--line-light);
}

.article-foot {
	max-width: 44rem;
	margin: 0 auto;
	padding-bottom: clamp(4rem, 8vw, 6rem);
}

.page-plain .prose {
	padding-bottom: var(--section);
}

.site-main-builder {
	padding-top: var(--header-h);
}

/* ------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------ */
.contact {
	padding-block: var(--section);
}

.contact-grid {
	display: grid;
	gap: clamp(3rem, 7vw, 5rem);
}

@media (min-width: 960px) {
	.contact-grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
		gap: clamp(4rem, 8vw, 8rem);
		align-items: start;
	}

	.contact-aside {
		position: sticky;
		top: calc(var(--header-h) + 2rem);
	}
}

.form {
	display: grid;
	gap: 1.6rem;
	margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

.form-row-2 {
	display: grid;
	gap: 1.6rem;
}

@media (min-width: 640px) {
	.form-row-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.field {
	display: grid;
	gap: 0.5rem;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.field label,
.field legend {
	padding: 0;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.field legend {
	margin-bottom: 0.8rem;
}

.req {
	color: var(--blue-funk);
}

.field input,
.field textarea {
	width: 100%;
	padding: 0.9rem 1rem;
	border: 2px solid var(--black);
	border-radius: 8px;
	background: #fbfaf8;
	color: var(--black);
	font: inherit;
	font-size: 1.15rem;
	font-weight: 500;
}

.field textarea {
	min-height: 10rem;
	resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
	outline: 3px solid var(--blue-funk);
	outline-offset: 2px;
}

.scope-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.scope {
	position: relative;
	cursor: pointer;
}

.scope input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.scope span {
	display: inline-flex;
	align-items: center;
	padding: 0.7rem 1.1rem 0.65rem;
	border: 2px solid var(--black);
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 700;
	transition: background-color 0.25s ease;
}

.scope:hover span {
	background: var(--off-white-2);
}

.scope input:checked + span {
	background: var(--fun-green);
}

.scope input:checked + span::before {
	content: "\2713";
	margin-right: 0.5rem;
}

.scope input:focus-visible + span {
	outline: 3px solid var(--blue-funk);
	outline-offset: 2px;
}

.consent {
	display: flex;
	align-items: flex-start;
	gap: 0.8rem;
	font-size: 1.05rem;
	font-weight: 500;
	cursor: pointer;
}

.consent input {
	flex: none;
	width: 1.3rem;
	height: 1.3rem;
	margin-top: 0.15rem;
	accent-color: var(--black);
}

.form .btn {
	justify-self: start;
}

.form-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-notice {
	margin-top: 1.6rem;
	padding: 1.1rem 1.3rem;
	border-radius: 8px;
	font-weight: 500;
}

.form-notice:focus {
	outline: 3px solid var(--black);
	outline-offset: 3px;
}

.form-notice-ok {
	background: var(--fun-green);
}

.form-notice-error {
	border: 2px solid var(--orange);
	background: #ffe2c2;
}

.contact-fig {
	margin-bottom: 2rem;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 6px;
	box-shadow: 10px 10px 0 var(--fun-green);
}

.contact-fig img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.contact-aside .eyebrow {
	color: var(--blue-funk);
}

.contact-details {
	display: grid;
	gap: 1.4rem;
	margin-top: 1.2rem;
}

.contact-details dt {
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.contact-details dd {
	margin-top: 0.3rem;
	font-size: 1.3rem;
	font-weight: 500;
	overflow-wrap: anywhere;
}

.contact-email {
	font-size: clamp(1.4rem, 2vw, 1.9rem);
	font-weight: 800;
}

/* Footer additions */
.footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 1.6rem;
	margin-bottom: 1.6rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.footer-bottom p a {
	color: var(--off-white);
}

.footer-sep {
	display: inline-block;
	width: 4px;
	height: 4px;
	margin: 0 0.7rem;
	border-radius: 50%;
	background: currentColor;
	vertical-align: middle;
}

/* Numbered circles (capability columns, pillars). Pillars use black circles (below). */
.cap-num,
.pillar-num {
	display: inline-grid;
	place-items: center;
	width: 3.2rem;
	height: 3.2rem;
	border-radius: 50%;
	background: var(--tone);
	color: var(--black);
	font-size: 1.15rem;
	font-weight: 700;
	font-feature-settings: "tnum";
}

.pillar .pillar-num {
	background: var(--black);
	color: var(--off-white);
}

/* ------------------------------------------------------------------
   Work: campaign reels (vertical videos, horizontal scroll)
   ------------------------------------------------------------------ */
.reels {
	padding-block: var(--section);
	overflow: hidden;
	background: var(--black);
	color: var(--off-white);
}

.reels .label {
	color: var(--orange);
}

.reels-text,
.films-text {
	max-width: 46ch;
	margin-top: 1.2rem;
	color: var(--on-dark-soft);
}

.films-text {
	color: var(--on-light-soft);
}

.reels-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: clamp(200px, 62vw, 280px);
	gap: clamp(0.9rem, 1.6vw, 1.4rem);
	margin-top: clamp(2.4rem, 5vw, 3.6rem);
	padding: 0 var(--gutter) 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: thin;
	scrollbar-color: var(--orange) transparent;
}

@media (min-width: 1360px) {
	.reels-track {
		grid-auto-columns: minmax(0, 1fr);
		width: min(100% - (var(--gutter) * 2), var(--container));
		margin-inline: auto;
		padding-inline: 0;
		overflow: visible;
	}
}

.reel {
	scroll-snap-align: start;
}

.reel-frame {
	position: relative;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border-radius: 10px;
	background: #000;
}

.reel-frame video {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
}

.reel figcaption {
	margin-top: 0.8rem;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.2;
}

/* ------------------------------------------------------------------
   Work: projects
   ------------------------------------------------------------------ */
.project {
	padding-block: var(--section);
	overflow: hidden;
	background: var(--off-white);
	color: var(--black);
}

.project-tint {
	background: var(--off-white-2);
}

.project-dark {
	background: var(--black);
	color: var(--off-white);
}

.project .label-num {
	background: var(--tone);
}

.tone-blue .label-num {
	color: var(--off-white);
}

.project-grid {
	display: grid;
	gap: clamp(1.6rem, 4vw, 3rem);
}

.project-title {
	margin-top: clamp(1.2rem, 3vw, 2rem);
	font-size: clamp(3rem, 8.4vw, 8.4rem);
	line-height: 0.86;
}

.project-meta {
	margin-top: 1rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--blue-funk);
}

.project-dark .project-meta {
	color: var(--orange);
}

.project-text {
	max-width: 52ch;
	font-size: clamp(1.15rem, 1.5vw, 1.35rem);
	color: var(--on-light-soft);
}

.project-dark .project-text {
	color: var(--on-dark-soft);
}

.project-text .btn {
	margin-top: 1.8rem;
}

@media (min-width: 960px) {
	.project-grid {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
		gap: clamp(3rem, 7vw, 7rem);
		align-items: end;
	}
}

/* YouTube stills with a play button (the player loads on click). */
.yt-grid {
	display: grid;
	gap: clamp(1.2rem, 2.4vw, 2rem);
	margin-top: clamp(2.6rem, 5vw, 4rem);
}

@media (min-width: 700px) {
	.yt-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.yt-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.yt-link,
.yt-player {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 8px;
	background: var(--black);
}

.yt-link img,
.yt-player iframe {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}

.yt-link img {
	transition: transform 0.8s var(--ease), opacity 0.4s ease;
}

.yt-link:hover img,
.yt-link:focus-visible img {
	transform: scale(1.04);
	opacity: 0.85;
}

.yt-play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 4.6rem;
	height: 4.6rem;
	margin: -2.3rem 0 0 -2.3rem;
	border-radius: 50%;
	background: var(--orange);
	color: var(--black);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
	transition: transform 0.4s var(--ease);
}

.yt-play svg {
	margin-left: 4px;
}

.yt-link:hover .yt-play,
.yt-link:focus-visible .yt-play {
	transform: scale(1.1);
}

.yt figcaption {
	margin-top: 0.8rem;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.2;
}

/* Photo strip under a project. */
.strip {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.7rem, 1.4vw, 1.2rem);
	margin-top: clamp(1.4rem, 3vw, 2.4rem);
}

.strip-item {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 6px;
	background: var(--off-white-2);
}

.strip-wide {
	grid-column: 1 / -1;
	aspect-ratio: 16 / 10;
}

.strip-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 900px) {
	.strip {
		grid-template-columns: 2fr 1fr 1fr 1fr;
	}

	.strip-wide {
		grid-column: auto;
		aspect-ratio: 4 / 3;
	}

	.strip-item:not(.strip-wide) {
		aspect-ratio: auto;
	}
}

/* Deadly Skincare: the reel beside the photos. */
.deadly-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.7rem, 1.4vw, 1.2rem);
	margin-top: clamp(2.6rem, 5vw, 4rem);
}

.deadly-grid .reel-feature {
	grid-column: 1 / -1;
	max-width: 340px;
}

.deadly-main {
	grid-column: 1 / -1;
	aspect-ratio: 3 / 2;
}

.deadly-small {
	aspect-ratio: 3 / 2;
}

.deadly-main,
.deadly-small {
	overflow: hidden;
	border-radius: 6px;
	background: var(--off-white-2);
}

.deadly-main img,
.deadly-small img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.deadly-grid .reel figcaption {
	color: var(--on-light-soft);
}

@media (min-width: 900px) {
	.deadly-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		grid-template-rows: auto auto;
	}

	.deadly-grid .reel-feature {
		grid-column: 1 / 5;
		grid-row: 1 / 3;
		max-width: none;
	}

	.deadly-main {
		grid-column: 5 / 13;
		grid-row: 1;
	}

	.deadly-small:nth-of-type(3) {
		grid-column: 5 / 8;
	}

	.deadly-small:nth-of-type(4) {
		grid-column: 8 / 11;
	}

	.deadly-small:nth-of-type(5) {
		grid-column: 11 / 13;
		aspect-ratio: auto;
		position: relative;
	}

	.deadly-small:nth-of-type(5) img {
		position: absolute;
		inset: 0;
	}

	.deadly-grid .reel-feature .reel-frame {
		aspect-ratio: auto;
		height: calc(100% - 2.6rem);
	}
}

/* Founder interview (16:9) under the Deadly Skincare photos. */
.interview {
	margin-top: clamp(1.4rem, 3vw, 2.4rem);
}

.interview-frame {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 8px;
	background: #000;
}

.interview-frame video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.interview figcaption {
	margin-top: 0.8rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--on-light-soft);
}

/* Website screenshots in simple device frames. */
.devices {
	position: relative;
	margin-top: clamp(2.6rem, 5vw, 4rem);
	padding-right: 14%;
}

.device-desktop,
.personal-shot {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.device-bar {
	display: flex;
	gap: 6px;
	padding: 10px 12px;
	background: #e9e5de;
}

.device-bar i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #c9c3b8;
}

.device-desktop img,
.personal-shot img {
	width: 100%;
	height: auto;
}

.device-phone {
	position: absolute;
	right: 0;
	bottom: -6%;
	width: 26%;
	max-width: 230px;
	overflow: hidden;
	border: 6px solid #111;
	border-radius: 26px;
	background: #111;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.device-phone img {
	width: 100%;
	height: auto;
	border-radius: 20px;
}

/* More films. */
.films {
	padding-block: var(--section);
	background: var(--off-white-2);
}

.yt-channel {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 0.8rem;
	min-height: 12rem;
	padding: 1.6rem;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	background: var(--orange);
	color: var(--black);
	font-size: clamp(1.6rem, 2.4vw, 2.2rem);
	font-weight: 800;
	line-height: 0.95;
	text-transform: uppercase;
}

.yt-channel .shape {
	top: -18%;
	right: -12%;
	width: 60%;
	color: var(--off-white);
	opacity: 0.6;
}

.yt-channel-text,
.yt-channel .icon-arrow {
	position: relative;
	z-index: 1;
}

.yt-channel:hover .icon-arrow,
.yt-channel:focus-visible .icon-arrow {
	transform: translate(3px, -3px);
}

/* ------------------------------------------------------------------
   About: personal website and Acknowledgement of Country
   ------------------------------------------------------------------ */
.personal {
	padding-block: var(--section);
	background: var(--off-white-2);
}

.personal-grid {
	display: grid;
	gap: clamp(2.6rem, 6vw, 4rem);
	align-items: center;
}

.personal-copy {
	display: grid;
	gap: 1.2rem;
	justify-items: start;
	max-width: 36rem;
	color: var(--on-light-soft);
}

.personal-copy .section-title {
	color: var(--black);
}

.personal-shot {
	transform: rotate(-1.5deg);
	transition: transform 0.6s var(--ease);
}

.personal-shot:hover {
	transform: rotate(0);
}

@media (min-width: 900px) {
	.personal-grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: clamp(4rem, 8vw, 8rem);
	}
}

.acknowledgement {
	position: relative;
	padding-block: var(--section);
	overflow: hidden;
	background: var(--black);
	color: var(--off-white);
}

.pattern-ack {
	color: var(--orange);
	opacity: 0.14;
}

.ack-inner {
	position: relative;
	z-index: 1;
	max-width: 52rem;
}

.ack-title {
	font-size: clamp(2.6rem, 6.4vw, 6.4rem);
	line-height: 0.9;
}

.ack-text {
	display: grid;
	gap: 1.3rem;
	margin-top: clamp(2rem, 4vw, 3rem);
	font-size: clamp(1.15rem, 1.5vw, 1.4rem);
	color: var(--on-dark-soft);
}

.ack-statement {
	padding-left: 1.2rem;
	border-left: 6px solid var(--orange);
	font-weight: 500;
	color: var(--off-white);
}

.ack-sign {
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--orange);
}

.footer-ack {
	max-width: 60ch;
	margin-bottom: 2rem;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--on-dark-soft);
}

/* ------------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}

	.hero-video {
		display: none;
	}
}
