:root {
	--bg: #0d0c0b;
	--surface: #171513;
	--text: #f4f1ec;
	--text-soft: #d9d4cc;
	--muted: #a39e97;
	--faint: #6f6a64;
	--line: rgba(244, 241, 236, 0.12);
	--accent: #f47a20;
	--accent-hover: #ff9a4d;
	--display: "Archivo", system-ui, sans-serif;
	--body: "Instrument Sans", system-ui, sans-serif;
	--gutter: clamp(20px, 5.5vw, 80px);
	--radius: 16px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img,
video {
	display: block;
	max-width: 100%;
}
a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s;
}
a:hover {
	color: var(--accent-hover);
}
:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}
h1,
h2,
h3,
p {
	margin: 0;
}

/* ---------- type ---------- */
.eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--accent);
}
.display {
	font-family: var(--display);
	font-stretch: 125%;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
}
.h1 {
	font-size: clamp(42px, 6vw, 84px);
	line-height: 0.98;
}
.h2 {
	font-size: clamp(32px, 3.9vw, 56px);
}
.h2--sm {
	font-size: clamp(30px, 3vw, 44px);
}
.lead {
	font-size: clamp(16px, 1.4vw, 20px);
	color: var(--text-soft);
	max-width: 620px;
}
.muted {
	color: var(--muted);
}

/* ---------- buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 54px;
	padding: 0 28px;
	border-radius: 999px;
	font: inherit;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn--primary {
	background: var(--accent);
	color: var(--bg);
}
.btn--primary:hover {
	background: var(--accent-hover);
	color: var(--bg);
}
.btn--ghost {
	border-color: rgba(244, 241, 236, 0.4);
	color: var(--text);
	background: transparent;
}
.btn--ghost:hover {
	border-color: var(--text);
	color: var(--text);
}
.btn svg {
	width: 18px;
	height: 18px;
}

/* ---------- header ---------- */
.site-header {
	position: absolute;
	inset: 0 0 auto;
	z-index: 20;
	height: 96px;
	padding: 0 var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.site-header--solid {
	position: sticky;
	top: 0;
	background: rgba(13, 12, 11, 0.9);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.brand {
	display: flex;
	align-items: center;
	gap: 14px;
}
.brand img {
	width: 40px;
	height: 40px;
}
.brand span {
	font-family: var(--display);
	font-stretch: 125%;
	font-weight: 700;
	font-size: 22px;
	letter-spacing: 0.32em;
}
.site-nav {
	display: flex;
	align-items: center;
	gap: 40px;
	font-size: 15px;
	font-weight: 500;
}
.site-nav a[aria-current="page"] {
	color: var(--accent);
}
.site-nav .btn {
	height: 44px;
	padding: 0 22px;
	font-size: 15px;
}
.menu-toggle {
	display: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(244, 241, 236, 0.4);
	background: rgba(13, 12, 11, 0.4);
	color: var(--text);
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}
.menu-toggle svg {
	width: 20px;
	height: 20px;
}

/* ---------- hero ---------- */
.hero {
	position: relative;
	height: min(100svh, 920px);
	min-height: 640px;
	overflow: hidden;
	background: var(--bg);
}
.hero__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Shown only once the video really plays (bots, blocked autoplay, slow network keep the photo). */
.hero__video {
	opacity: 0;
	transition: opacity 0.8s;
}
.hero__video.is-ready {
	opacity: 1;
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	/* top for the nav, left for the headline, bottom for the buttons: readable over any frame */
	background:
		linear-gradient(90deg, rgba(13, 12, 11, 0.7) 0%, rgba(13, 12, 11, 0.35) 45%, rgba(13, 12, 11, 0) 75%),
		linear-gradient(180deg, rgba(13, 12, 11, 0.55) 0%, rgba(13, 12, 11, 0.1) 30%, rgba(13, 12, 11, 0.9) 100%);
	pointer-events: none;
	transition: opacity 0.4s;
}
.hero.is-playing::after,
.hero.is-playing .hero__content {
	opacity: 0;
	pointer-events: none;
}
.hero__content {
	position: absolute;
	z-index: 1;
	inset: auto var(--gutter) clamp(40px, 6vw, 88px);
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 64px;
	transition: opacity 0.4s;
}
.hero__text {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 920px;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 8px;
}
.reel-btn {
	display: flex;
	align-items: center;
	gap: 16px;
	background: none;
	border: none;
	color: var(--text);
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	padding: 0;
	flex-shrink: 0;
}
.reel-btn__icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: 1px solid rgba(244, 241, 236, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.reel-btn:hover .reel-btn__icon {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--bg);
}
.reel-controls {
	position: absolute;
	z-index: 2;
	right: var(--gutter);
	bottom: 32px;
	display: none;
	gap: 12px;
}
.hero.is-playing .reel-controls {
	display: flex;
}
.reel-controls button {
	height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid rgba(244, 241, 236, 0.4);
	background: rgba(13, 12, 11, 0.6);
	color: var(--text);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

/* ---------- sections ---------- */
.section {
	padding: clamp(80px, 9vw, 136px) var(--gutter) 0;
}
.section__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 48px;
	margin-bottom: clamp(40px, 4.5vw, 64px);
}
.section__title {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.section__head p {
	max-width: 440px;
	font-size: 17px;
	line-height: 1.6;
}
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	white-space: nowrap;
}

/* services */
.services {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}
.service {
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.service img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
	background: var(--surface);
}
.service__title {
	display: flex;
	align-items: baseline;
	gap: 14px;
	border-top: 1px solid var(--line);
	padding-top: 22px;
}
.service__title span {
	font-family: var(--display);
	font-size: 14px;
	font-weight: 600;
	color: var(--accent);
}
.service h3 {
	font-size: 24px;
	font-weight: 600;
}
.service p {
	font-size: 16px;
	line-height: 1.65;
	color: var(--muted);
}

/* studio */
.studio {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: 32px 64px;
	align-items: center;
}
.studio__media {
	position: relative;
	aspect-ratio: 4 / 3.3;
	border-radius: 20px;
	overflow: hidden;
}
.studio__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.studio__media figcaption {
	position: absolute;
	left: 24px;
	bottom: 24px;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(13, 12, 11, 0.75);
	font-size: 14px;
	font-weight: 500;
}
.studio__text {
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.studio__text .h2 {
	font-size: clamp(32px, 3.3vw, 48px);
	line-height: 1.02;
}
.specs {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}
.specs li {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}
.specs li span:first-child {
	color: var(--muted);
}
.specs li span:last-child {
	text-align: right;
}
.studio__text .link-arrow {
	color: var(--accent);
}

/* studio gallery strip */
.strip {
	grid-column: 1 / -1;
	margin-top: clamp(56px, 6vw, 88px);
}
.strip__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}
.strip__title {
	font-size: 20px;
	font-weight: 600;
}
.strip__nav {
	display: flex;
	align-items: center;
	gap: 10px;
}
.strip__count {
	min-width: 48px;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	color: var(--muted);
	text-align: right;
	margin-right: 6px;
}
.strip__btn {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(244, 241, 236, 0.3);
	background: transparent;
	color: var(--text);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s;
}
.strip__btn svg {
	width: 20px;
	height: 20px;
}
.strip__btn:hover:not(:disabled) {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--bg);
}
.strip__btn:disabled {
	opacity: 0.3;
	cursor: default;
}
.strip__track {
	margin: 0 calc(var(--gutter) * -1);
	padding: 0 var(--gutter) 8px;
	list-style: none;
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.strip__track::-webkit-scrollbar {
	display: none;
}
.strip__item {
	flex: 0 0 min(44vw, 640px);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 14px;
	color: var(--muted);
}
.strip__item button,
.gallery button {
	display: block;
	padding: 0;
	border: none;
	background: var(--surface);
	border-radius: var(--radius);
	overflow: hidden;
	cursor: zoom-in;
}
.strip__item img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.strip__item button:hover img,
.gallery button:hover img {
	transform: scale(1.03);
}
.gallery img {
	transition: transform 0.5s ease;
}

/* lightbox */
.lightbox {
	width: 100vw;
	height: 100dvh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: none;
	background: rgba(13, 12, 11, 0.96);
	color: var(--text);
}
.lightbox::backdrop {
	background: rgba(0, 0, 0, 0.6);
}
.lightbox[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}
.lightbox__figure {
	margin: 0;
	max-width: calc(100vw - 176px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}
.lightbox__img {
	max-width: 100%;
	max-height: calc(100dvh - 140px);
	border-radius: 12px;
	object-fit: contain;
}
.lightbox__caption {
	font-size: 15px;
	color: var(--muted);
	text-align: center;
}
.lightbox__btn {
	position: absolute;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 1px solid rgba(244, 241, 236, 0.3);
	background: rgba(13, 12, 11, 0.6);
	color: var(--text);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.lightbox__btn:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--bg);
}
.lightbox__btn svg {
	width: 22px;
	height: 22px;
}
.lightbox__close {
	top: 24px;
	right: 24px;
}
.lightbox__prev {
	left: 32px;
	top: 50%;
	transform: translateY(-50%);
}
.lightbox__next {
	right: 32px;
	top: 50%;
	transform: translateY(-50%);
}
.lightbox[data-single] .lightbox__prev,
.lightbox[data-single] .lightbox__next {
	display: none;
}

/* clients: square logo tiles, name revealed in a growing circle (as on the original site) */
.logos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}
.logos a {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 14px;
	overflow: hidden;
	background: var(--surface);
	outline: 1px solid var(--line);
	outline-offset: -1px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logos img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.logos a::after {
	content: attr(data-client);
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	padding: 12px;
	text-align: center;
	background: rgba(13, 12, 11, 0.8);
	color: transparent;
	font-family: var(--display);
	font-stretch: 112%;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.1;
	clip-path: circle(0% at 50% 50%);
	transition: clip-path 0.5s ease, color 0.25s 0.25s ease;
}
.logos a:hover,
.logos a:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}
.logos a:hover::after,
.logos a:focus-visible::after {
	clip-path: circle(75% at 50% 50%);
	color: var(--accent);
}

/* team */
.team {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
}
.person {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.person img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 14px;
	background: var(--surface);
	/* Same filter list in both states so the browser animates between them smoothly */
	filter: grayscale(1) drop-shadow(0 0 0 rgba(244, 122, 32, 0));
	/* At rest slightly smaller, anchored bottom-left on the name; the hovered one grows back to full size */
	transform: scale(0.8);
	transform-origin: 0% 100%;
	transition: filter 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.person {
	position: relative;
}
.person:hover,
.person:focus-visible {
	z-index: 1;
}
/* Gray at rest, full colour with an orange glow on hover */
.person:hover img,
.person:focus-visible img {
	filter: grayscale(0) drop-shadow(0 10px 32px rgba(244, 122, 32, 0.75));
	transform: scale(1);
}
.person strong {
	display: block;
	font-size: 17px;
	font-weight: 600;
}
.person span {
	font-size: 14px;
	color: var(--muted);
}

/* ---------- contact / footer ---------- */
.contact {
	margin: clamp(80px, 9vw, 120px) var(--gutter) 0;
	padding: clamp(40px, 5vw, 72px) clamp(20px, 5vw, 72px) 0;
	border-radius: 28px 28px 0 0;
	background: var(--surface);
}
.contact__grid {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: 40px 32px;
	align-items: start;
}
.contact__text {
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.contact__text .display {
	font-size: clamp(40px, 5vw, 72px);
	line-height: 0.98;
}
.contact__mail {
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 500;
	color: var(--accent);
	word-break: break-word;
}
.contact__details {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 56px;
	line-height: 1.6;
	color: var(--muted);
}
.contact__details div {
	display: flex;
	flex-direction: column;
}
.contact__details strong {
	color: var(--text);
	font-weight: 600;
}
.contact__map {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
/* Google offers no dark embed: invert + hue-rotate turns the light map dark while keeping road colours readable. */
.contact__map iframe {
	width: 100%;
	height: 320px;
	border: 0;
	border-radius: 18px;
	background: var(--bg);
	filter: invert(0.9) hue-rotate(180deg) saturate(0.6) brightness(0.95);
}
.contact__map figcaption .link-arrow {
	font-size: 15px;
	color: var(--accent);
}
.site-footer {
	margin-top: 56px;
	min-height: 88px;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	font-size: 14px;
	color: var(--muted);
}
.site-footer__brand {
	display: flex;
	align-items: center;
	gap: 12px;
}
.site-footer__brand img {
	width: 24px;
	height: 24px;
}
.site-footer__links {
	display: flex;
	gap: 32px;
}
.link-button {
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
}
.link-button:hover {
	color: var(--accent-hover);
}

/* contact form dialog */
.contact-form {
	width: min(760px, calc(100vw - 24px));
	max-height: calc(100dvh - 24px);
	padding: clamp(24px, 4vw, 44px);
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--surface);
	color: var(--text);
	overflow: auto;
}
.contact-form::backdrop {
	background: rgba(0, 0, 0, 0.72);
}
.contact-form[open] {
	animation: contact-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes contact-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
}
.contact-form h2 {
	font-family: var(--display);
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.05;
	padding-right: 48px;
}
.contact-form__intro {
	margin-top: 10px;
	color: var(--muted);
}
.contact-form__form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.contact-form__form h2 + .contact-form__intro {
	margin-bottom: 6px;
}
.contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.contact-form__close-form {
	position: absolute;
	top: 18px;
	right: 18px;
}
.contact-form__close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: transparent;
	color: var(--text);
	cursor: pointer;
}
.contact-form__close:hover {
	border-color: var(--text);
}
.contact-form__close svg {
	width: 20px;
	height: 20px;
}
.contact-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
}
.field em {
	font-style: normal;
	font-weight: 400;
	color: var(--faint);
	margin-left: 6px;
}
.field input,
.field select,
.field textarea {
	width: 100%;
	font: 16px/1.4 var(--body);
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 13px 14px;
	transition: border-color 0.15s;
}
.field textarea {
	resize: vertical;
	min-height: 130px;
}
.field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a39e97' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
	padding-right: 42px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--accent);
}
.field input::placeholder,
.field textarea::placeholder {
	color: var(--faint);
}
.field.has-error input,
.field.has-error textarea {
	border-color: #ff8a80;
}
.field__error {
	font-weight: 400;
	font-size: 14px;
	color: #ff8a80;
}
.field__error:empty {
	display: none;
}
.contact-form__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 4px;
}
.contact-form__status {
	color: var(--muted);
	font-size: 15px;
}
.contact-form__status.is-error {
	color: #ff8a80;
}
.contact-form__actions .btn:disabled {
	opacity: 0.55;
	cursor: default;
}
.contact-form__done .btn {
	margin-top: 28px;
}
@media (max-width: 640px) {
	.contact-form__row {
		grid-template-columns: 1fr;
	}
	.contact-form__actions {
		flex-direction: column-reverse;
		align-items: stretch;
	}
}
@media (prefers-reduced-motion: reduce) {
	.contact-form[open] {
		animation: none;
	}
}

/* legal dialog */
.legal {
	width: min(720px, calc(100vw - 32px));
	max-height: 80vh;
	padding: 40px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--surface);
	color: var(--text-soft);
	line-height: 1.6;
}
.legal::backdrop {
	background: rgba(0, 0, 0, 0.7);
}
.legal h2 {
	font-size: 28px;
	margin-bottom: 8px;
	color: var(--text);
}
.legal h3 {
	margin: 28px 0 8px;
	font-size: 13px;
	letter-spacing: 0.2em;
	color: var(--accent);
}
.legal p + p {
	margin-top: 12px;
}
.legal .btn {
	margin-top: 32px;
}

/* ---------- projects ---------- */
.page-head {
	padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(40px, 4vw, 56px);
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px 48px;
	flex-wrap: wrap;
}
.page-head .display {
	font-size: clamp(44px, 5vw, 72px);
}
.search {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: min(380px, 100%);
}
.search label {
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
}
.search__field {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 52px;
	padding: 0 20px;
	border-radius: 999px;
	border: 1px solid rgba(244, 241, 236, 0.24);
	transition: border-color 0.15s;
}
.search__field:focus-within {
	border-color: var(--accent);
}
.search__field svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--muted);
}
.search input {
	flex-grow: 1;
	min-width: 0;
	background: none;
	border: none;
	outline: none;
	color: var(--text);
	font: inherit;
	font-size: 16px;
}
.projects {
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 32px;
}
.card {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.card[hidden] {
	display: none;
}
.card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
}
.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.card:hover .card__media img {
	transform: scale(1.04);
}
.badge {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--accent);
	color: var(--bg);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
}
.card__meta {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}
.card__title {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
}
.card:hover .card__title {
	color: var(--accent-hover);
}
.empty {
	padding: 48px var(--gutter) 0;
	color: var(--muted);
}

/* ---------- single project ---------- */
.project-hero {
	padding: 0 var(--gutter);
}
.project-hero img {
	background: var(--surface);
	width: 100%;
	max-height: 640px;
	aspect-ratio: 16 / 8;
	object-fit: cover;
	border-radius: 20px;
}
.project {
	padding: clamp(40px, 5vw, 72px) var(--gutter) 0;
	display: grid;
	grid-template-columns: 4fr 8fr;
	gap: 40px 64px;
}
.project__meta {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.project__meta dl {
	margin: 0;
	border-top: 1px solid var(--line);
}
.project__meta dl div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}
.project__meta dt {
	color: var(--muted);
}
.project__meta dd {
	margin: 0;
	text-align: right;
}
.project__body {
	font-size: 18px;
	line-height: 1.7;
	color: var(--text-soft);
	max-width: 760px;
}
.project__body p + p {
	margin-top: 1em;
}
.project__body a {
	color: var(--accent);
	text-decoration: underline;
}
.project__body img {
	border-radius: 12px;
}
.gallery {
	padding: clamp(48px, 5vw, 80px) var(--gutter) 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}
.gallery img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--radius);
}
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 32px var(--gutter) 24px;
	font-weight: 500;
	color: var(--muted);
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.services,
	.projects {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.team {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.studio,
	.contact__grid,
	.project {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 860px) {
	.menu-toggle {
		display: flex;
	}
	.site-header {
		height: 72px;
	}
	.brand img {
		width: 32px;
		height: 32px;
	}
	.brand span {
		font-size: 17px;
	}
	.site-nav {
		position: fixed;
		inset: 0;
		z-index: 30;
		flex-direction: column;
		justify-content: center;
		gap: 28px;
		background: var(--bg);
		font-family: var(--display);
		font-stretch: 112%;
		font-size: 30px;
		font-weight: 700;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.2s, visibility 0.2s;
	}
	.site-nav.is-open {
		opacity: 1;
		visibility: visible;
	}
	.site-nav .btn {
		font-family: var(--body);
		height: 54px;
		font-size: 17px;
	}
	.menu-toggle {
		position: relative;
		z-index: 31;
	}
	.hero__content {
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
	}
	.hero__actions .btn {
		flex-grow: 1;
	}
	.section__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}
	.services,
	.projects,
	.gallery {
		grid-template-columns: minmax(0, 1fr);
	}
	.team {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 14px;
	}
	.strip__item {
		flex-basis: 82vw;
	}
	.strip__count {
		display: none;
	}
	.lightbox__figure {
		max-width: calc(100vw - 32px);
	}
	.lightbox__prev,
	.lightbox__next {
		top: auto;
		bottom: 24px;
		transform: none;
	}
	.lightbox__prev {
		left: calc(50% - 64px);
	}
	.lightbox__next {
		right: calc(50% - 64px);
	}
	.logos {
		grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
		gap: 8px;
	}
	.logos a::after {
		font-size: 14px;
	}
	.eyebrow {
		font-size: 11px;
		letter-spacing: 0.22em;
	}
	.contact {
		margin-left: 0;
		margin-right: 0;
		border-radius: 24px 24px 0 0;
		padding-left: 20px;
		padding-right: 20px;
	}
	.contact__map iframe {
		height: 260px;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		transition: none !important;
	}
}

@media (max-width: 860px) {
	.brand {
		position: relative;
		z-index: 31;
	}
}
