@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Bebas+Neue&family=Cinzel:wght@600;700&display=swap');

:root {
	color-scheme: dark;
	--bg: #0f0f10;
	--bg-soft: #161618;
	--panel: rgba(255, 255, 255, 0.035);
	--panel-strong: rgba(255, 255, 255, 0.06);
	--text: #c9c9c9;
	--text-strong: #f1f1f1;
	--muted: rgba(201, 201, 201, 0.72);
	--accent: #4d1018;
	--accent-deep: #32070d;
	--accent-soft: rgba(77, 16, 24, 0.26);
	--border: rgba(201, 201, 201, 0.12);
	--shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	background:
		radial-gradient(circle at 20% 15%, rgba(50, 7, 13, 0.26), transparent 28%),
		radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 22%),
		linear-gradient(180deg, #101012 0%, #0f0f10 100%);
	color: var(--text);
	font-family: 'IBM Plex Sans', sans-serif;
	line-height: 1.5;
	overflow-x: hidden;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: radial-gradient(circle at center, black, transparent 82%);
	opacity: 0.3;
}

a {
	color: inherit;
	text-decoration: none;
}

main,
.topbar,
.footer {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 20px;
	margin-top: 16px;
	position: sticky;
	top: 16px;
	z-index: 20;
	background: rgba(12, 12, 13, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	backdrop-filter: blur(18px);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex: none;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-size: 0.72rem;
}

.brand-text {
	font-family: 'Cinzel', serif;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.brand-mark {
	/* keep the container modestly sized and consistent */
	width: 72px;
	height: 72px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,0.06);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.brand-logo {
	/* keep width flexible; increase visible height */
	/* width: 64px; */
	height: 112px;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6));
	padding-left: 15px;
}

.nav {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: flex-end;
	color: var(--muted);
	font-size: 0.76rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.nav a {
	position: relative;
	padding: 10px 14px;
	border-radius: 999px;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a::after {
	content: none;
}

.nav a:hover,
.nav a:focus-visible {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-strong);
	transform: translateY(-1px);
}

main {
	padding: 32px 0 48px;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
	gap: 48px;
	align-items: center;
	min-height: calc(100vh - 120px);
}

.hero-copy h1,
.section-heading h2,
.cta-panel h2 {
	margin: 0;
	font-family: 'Bebas Neue', sans-serif;
	font-weight: 400;
	letter-spacing: 0.06em;
	color: var(--text-strong);
	line-height: 0.9;
	text-transform: uppercase;
}

.section-heading h2,
.cta-panel h2 {
	display: grid;
	gap: 0.04em;
	max-width: max-content;
}

.hero-copy h1 {
	display: grid;
	gap: 0.02em;
	font-size: clamp(4rem, 10vw, 8rem);
	max-width: max-content;
}

.section-heading h2 span,
.cta-panel h2 span {
	display: block;
	line-height: 0.9;
}

.hero-copy h1 span {
	display: block;
	line-height: 0.85;
}

.eyebrow {
	margin: 0 0 18px;
	color: rgba(201, 201, 201, 0.78);
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-size: 0.74rem;
}

.lead,
.split-content p,
.process-step p,
.work-card p,
.cta-panel p {
	color: var(--muted);
	font-size: 1.02rem;
}

.lead {
	max-width: 60ch;
	margin: 28px 0 0;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 36px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 600;
	cursor: pointer;
	transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
	transform: translateY(-1px);
}

.button-primary {
	background: linear-gradient(180deg, rgba(77, 16, 24, 0.98), rgba(50, 7, 13, 0.98));
	color: #f4eded;
	box-shadow: 0 14px 36px rgba(77, 16, 24, 0.26), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.button-secondary {
	border-color: var(--border);
	background: rgba(255, 255, 255, 0.02);
	color: var(--text);
}

.hero-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 42px 0 0;
}

.hero-metrics div,
.work-card,
.process-step,
.cta-panel,
.visual-card {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, var(--panel), rgba(255, 255, 255, 0.02));
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	backdrop-filter: blur(18px);
}

.hero-metrics div {
	padding: 18px;
	border-radius: 20px;
}

.hero-metrics dt {
	color: rgba(201, 201, 201, 0.6);
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 0.7rem;
}

.hero-metrics dd {
	margin: 10px 0 0;
	color: var(--text-strong);
	font-weight: 600;
}

.hero-visual {
	display: grid;
	gap: 18px;
}

.project-video-card {
	padding: 14px;
	min-height: 0;
}

.project-video {
	aspect-ratio: 16 / 9;
	border-radius: 18px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.35);
}

.project-video iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.project-copy {
	max-width: 78ch;
}

.visual-card {
	border-radius: 28px;
}

.visual-large {
	min-height: 500px;
	background:
		radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.12), transparent 28%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.visual-reflection {
	position: absolute;
	inset: auto -18% 10% auto;
	width: 70%;
	height: 70%;
	background: radial-gradient(circle, rgba(77, 16, 24, 0.34), transparent 60%);
	filter: blur(28px);
	opacity: 0.9;
}

.visual-frame {
	position: absolute;
	inset: 28px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 22px;
}

/* Make any image placed in a visual-frame fill and crop nicely */
.visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 8px 24px rgba(0,0,0,0.45);
}

.visual-frame span,
.card-label,
.work-meta,
.process-step span {
	color: rgba(201, 201, 201, 0.66);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-size: 0.72rem;
}

.visual-frame strong {
	align-self: flex-end;
	max-width: 8ch;
	font-family: 'Bebas Neue', sans-serif;
	font-size: clamp(3rem, 4vw, 4.6rem);
	line-height: 0.86;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-strong);
	text-align: right;
}

.visual-stack {
	display: grid;
	grid-template-columns: 0.9fr 1.25fr;
	gap: 18px;
	align-items: stretch;
}

.visual-small {
	min-height: 220px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 18px;
}

.visual-small strong {
	font-size: clamp(1.5rem, 2.2vw, 2.2rem);
	color: var(--text-strong);
	max-width: 10ch;
	line-height: 1;
}

.card-tall {
	min-height: 220px;
}

.card-wide {
	align-self: stretch;
}

.section {
	padding: 96px 0 0;
}

.section-heading {
	display: grid;
	gap: 14px;
	margin-bottom: 28px;
}

.section-heading h2,
.cta-panel h2 {
	font-size: clamp(3rem, 5vw, 5.2rem);
}

.marquee {
	display: grid;
	grid-template-columns: repeat(5, minmax(max-content, 1fr));
	gap: 20px;
	align-items: center;
	justify-items: center;
	padding: 26px 0;
	margin-top: 46px;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	color: rgba(201, 201, 201, 0.58);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}

.work-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 18px;
}

.work-tools {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: 18px 28px;
	margin: 0 0 30px;
	padding: 14px;
	border: 1px solid rgba(201, 201, 201, 0.08);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.018);
}

.tag-filters,
.sort-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.tag-filters {
	justify-content: flex-start;
}

.sort-controls {
	justify-content: flex-end;
}

.filter-chip,
.sort-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	border-radius: 999px;
	border: 1px solid rgba(201, 201, 201, 0.14);
	background: rgba(255, 255, 255, 0.025);
	color: rgba(201, 201, 201, 0.76);
	font: inherit;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter-chip {
	padding: 0 13px;
}

.sort-button {
	padding: 0 15px;
}

.filter-chip:hover,
.filter-chip:focus-visible,
.sort-button:hover,
.sort-button:focus-visible {
	border-color: rgba(201, 201, 201, 0.28);
	color: var(--text-strong);
	transform: translateY(-1px);
}

.filter-chip[aria-pressed="true"],
.sort-button[aria-pressed="true"] {
	border-color: rgba(77, 16, 24, 0.86);
	background: linear-gradient(180deg, rgba(77, 16, 24, 0.82), rgba(50, 7, 13, 0.82));
	color: #f4eded;
	box-shadow: 0 12px 28px rgba(77, 16, 24, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.work-card,
.process-step,
.cta-panel {
	border-radius: 28px;
}

.work-card {
	min-height: 340px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 18px;
}

.work-card.is-hidden {
	display: none;
}

.work-empty {
	margin: 26px 0 0;
	color: rgba(201, 201, 201, 0.72);
	font-size: 0.95rem;
}

.work-filter-note {
	margin: -8px 0 22px;
	color: rgba(241, 241, 241, 0.78);
	font-size: 0.92rem;
}

.work-card.featured {
	background:
		radial-gradient(circle at top right, rgba(111, 31, 44, 0.28), transparent 32%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.work-meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.work-card h3,
.process-step h3 {
	margin: 0;
	color: var(--text-strong);
	font-family: 'Bebas Neue', sans-serif;
	font-weight: 400;
	font-size: 1.95rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 0.95;
}

.work-card p,
.process-step p,
.cta-panel p {
	margin: 0;
	max-width: 34ch;
}

.project-card-link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	margin-top: auto;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-strong);
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	transition: background-color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.project-card-link:hover,
.project-card-link:focus-visible {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(201, 201, 201, 0.24);
	transform: translateY(-1px);
}

.split {
	display: grid;
	grid-template-columns: 0.82fr 1.18fr;
	gap: 28px;
	align-items: start;
}

.split-content {
	display: grid;
	gap: 18px;
	padding-top: 52px;
}

.profile-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	grid-column: 1 / -1;
	width: min(100%, 980px);
	margin: 28px auto 0;
	justify-self: center;
}

.profile-card {
	display: grid;
	gap: 0;
	padding: 0;
	border-radius: 30px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
	border: 1px solid var(--border);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.profile-photo {
	width: 100%;
	aspect-ratio: 0.92;
	min-height: 360px;
	border-radius: 0;
	display: block;
	object-fit: cover;
	object-position: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.profile-card-body {
	display: grid;
	gap: 8px;
	padding: 18px 20px 20px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.profile-card h3 {
	margin: 0;
	color: var(--text-strong);
	font-size: 1.12rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.profile-card p {
	margin: 0;
	color: rgba(201, 201, 201, 0.66);
	font-size: 0.95rem;
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.process-step {
	padding: 26px;
	min-height: 250px;
}

.process-step span {
	display: inline-flex;
	margin-bottom: 70px;
}

.cta {
	padding-bottom: 80px;
}

.cta-panel {
	padding: 42px;
	background:
		radial-gradient(circle at left top, rgba(77, 16, 24, 0.28), transparent 30%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

.cta-panel p {
	margin: 20px 0 0;
}

.contact-form {
	display: grid;
	gap: 16px;
	margin-top: 28px;
}

.form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.contact-form label {
	display: grid;
	gap: 10px;
}

.contact-form span {
	color: rgba(201, 201, 201, 0.72);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-size: 0.68rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	border-radius: 18px;
	border: 1px solid rgba(201, 201, 201, 0.14);
	background: rgba(10, 10, 11, 0.65);
	color: var(--text-strong);
	padding: 16px 18px;
	font: inherit;
	outline: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.contact-form select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 46px;
	background-image: linear-gradient(45deg, transparent 50%, rgba(201, 201, 201, 0.8) 50%), linear-gradient(135deg, rgba(201, 201, 201, 0.8) 50%, transparent 50%);
	background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.contact-form textarea {
	resize: vertical;
	min-height: 150px;
}

.form-guard {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: rgba(201, 201, 201, 0.42);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	border-color: rgba(77, 16, 24, 0.82);
	box-shadow: 0 0 0 4px rgba(77, 16, 24, 0.18);
	background: rgba(14, 14, 16, 0.88);
}

.form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 6px;
}

.form-note,
.form-status {
	margin: 0;
	font-size: 0.92rem;
}

.form-status {
	min-height: 1.4em;
	color: rgba(201, 201, 201, 0.88);
}

.form-status[data-state="success"] {
	color: #d8f5df;
}

.form-status[data-state="error"] {
	color: #ffc7c7;
}

.form-status[data-state="pending"] {
	color: rgba(241, 241, 241, 0.86);
}

.contact-form button[disabled] {
	cursor: wait;
	opacity: 0.72;
	transform: none;
}

.footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 0 0 28px;
	color: rgba(201, 201, 201, 0.54);
	font-size: 0.84rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.footer-links {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	justify-content: flex-end;
	letter-spacing: 0.14em;
}

.social-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	position: relative;
	padding-bottom: 3px;
	color: rgba(201, 201, 201, 0.78);
	transition: color 180ms ease;
}

.social-link svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	flex: none;
	opacity: 0.9;
}

.social-link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(201, 201, 201, 0.9), transparent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 180ms ease;
}

.gear-panel[hidden] {
	display: none;
}

.gear-panel {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: grid;
	place-items: center;
	padding: 24px;
}

.gear-panel-backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(5, 5, 6, 0.78);
	backdrop-filter: blur(12px);
	cursor: pointer;
}

.gear-panel-content {
	position: relative;
	z-index: 1;
	width: min(980px, 100%);
	max-height: min(86vh, 900px);
	overflow: auto;
	padding: 28px;
	border-radius: 28px;
	border: 1px solid var(--border);
	background:
		radial-gradient(circle at top left, rgba(77, 16, 24, 0.22), transparent 34%),
		linear-gradient(180deg, rgba(22, 22, 24, 0.98), rgba(12, 12, 13, 0.98));
	box-shadow: var(--shadow);
}

.gear-panel-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	padding-bottom: 18px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--border);
}

.gear-panel-header h2 {
	margin: 0;
	color: var(--text-strong);
	font-family: 'Bebas Neue', sans-serif;
	font-size: clamp(2.6rem, 5vw, 4.4rem);
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 0.9;
	text-transform: uppercase;
}

.gear-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid rgba(201, 201, 201, 0.16);
	background: rgba(255, 255, 255, 0.035);
	color: var(--text-strong);
	font: inherit;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.gear-close:hover,
.gear-close:focus-visible {
	border-color: rgba(201, 201, 201, 0.28);
	background: rgba(255, 255, 255, 0.07);
	transform: translateY(-1px);
}

.gear-groups {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 28px;
}

.gear-group {
	padding-top: 16px;
	border-top: 1px solid rgba(201, 201, 201, 0.12);
}

.gear-group h3 {
	margin: 0 0 12px;
	color: rgba(201, 201, 201, 0.7);
	font-size: 0.72rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.gear-list {
	display: grid;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gear-list li {
	display: grid;
	grid-template-columns: minmax(120px, 0.42fr) 1fr;
	gap: 14px;
	padding: 11px 0;
	border-bottom: 1px solid rgba(201, 201, 201, 0.08);
}

.gear-list span {
	color: rgba(201, 201, 201, 0.58);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.gear-list strong {
	color: var(--text-strong);
	font-size: 0.98rem;
	line-height: 1.35;
}

.social-link:hover,
.social-link:focus-visible {
	color: var(--text-strong);
}

.social-link:hover::after,
.social-link:focus-visible::after {
	transform: scaleX(1);
}

.ambient {
	position: fixed;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.34;
	pointer-events: none;
	z-index: 0;
}

.ambient-one {
	top: 8%;
	right: -10%;
	width: 28vw;
	height: 28vw;
	background: rgba(50, 7, 13, 0.32);
}

.ambient-two {
	bottom: 10%;
	left: -12%;
	width: 24vw;
	height: 24vw;
	background: rgba(255, 255, 255, 0.06);
}

.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.reveal.is-visible .work-card,
.reveal.is-visible .process-step,
.reveal.is-visible .visual-card {
	animation: floatIn 700ms ease both;
}

.hero .hero-copy,
.hero .hero-visual {
	position: relative;
	z-index: 1;
}

@keyframes floatIn {
	from {
		transform: translateY(10px);
		opacity: 0.7;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@media (max-width: 1024px) {
	.hero,
	.split {
		grid-template-columns: 1fr;
	}

	.hero {
		min-height: auto;
		padding-top: 20px;
		gap: 32px;
	}

	.hero-copy h1 {
		font-size: clamp(3.2rem, 8vw, 5.8rem);
		max-width: 11ch;
	}

	.hero-metrics {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.visual-large {
		min-height: 380px;
	}

	.visual-stack {
		grid-template-columns: 0.9fr 1.25fr;
	}

	.work-card,
	.process-step,
	.cta-panel {
		padding: 24px;
	}

	.section {
		padding-top: 80px;
	}

	.split-content {
		padding-top: 18px;
	}

	.profile-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hero-copy h1 {
		max-width: 12ch;
	}

	.work-grid,
	.process-grid {
		grid-template-columns: 1fr;
	}

	.work-tools {
		grid-template-columns: 1fr;
		padding: 14px 12px;
	}

	.tag-filters,
	.sort-controls {
		justify-content: center;
	}

	.work-filter-note {
		text-align: center;
	}

	/* Center header/footer/nav and hero on tablet widths (<=1024px) */
	.topbar,
	.footer {
		flex-direction: column;
		align-items: center;
	}

	.topbar {
		border-radius: 28px;
		padding: 18px 20px;
	}

	.nav,
	.footer-links {
		justify-content: center;
	}

	.hero-copy {
		text-align: center;
		margin-inline: auto;
	}

	.hero-actions {
		justify-content: center;
	}

	.hero-metrics div {
		text-align: center;
	}

	.hero-visual {
		justify-self: center;
	}

	/* Ensure section headings center on tablet */
	.section-heading {
		justify-items: center;
	}

	.section-heading h2,
	.section-heading p {
		text-align: center !important;
		margin-inline: auto;
		width: min(100%, 92%);
	}
}

@media (max-width: 900px) {
	main,
	.topbar,
	.footer {
		width: min(100% - 28px, 1180px);
	}

	.topbar {
		top: 12px;
		padding: 16px 18px;
	}

	.topbar,
	.footer {
		flex-direction: column;
		align-items: center;
	}

	.nav,
	.footer-links {
		justify-content: center;
	}

	.nav {
		gap: 16px;
		font-size: 0.72rem;
	}

	.hero {
		gap: 24px;
		padding-top: 18px;
	}

	.hero-copy {
		text-align: center;
		margin-inline: auto;
	}

	/* Center section headings on tablet */
	.section-heading,
	.section-heading h2,
	.section-heading p {
		text-align: center !important;
		margin-inline: auto;
		width: min(100%, 92%);
	}

	.hero-actions {
		justify-content: center;
	}

	.hero-metrics div {
		text-align: center;
	}

	.hero-visual {
		justify-self: center;
	}

	.hero-copy h1 {
		font-size: clamp(2.8rem, 8.5vw, 4.6rem);
		max-width: 9ch;
	}

	.hero-actions {
		gap: 12px;
	}

	.hero-metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.visual-stack,
	.form-row {
		grid-template-columns: 1fr;
	}

	.profile-grid {
		grid-template-columns: 1fr;
		width: 100%;
	}

	.profile-photo {
		min-height: 0;
		aspect-ratio: 1;
	}

	.profile-card-body {
		padding: 16px 18px 18px;
	}

	.visual-large {
		min-height: 300px;
	}

	.section {
		padding-top: 68px;
	}

	.cta {
		padding-bottom: 56px;
	}

	.work-card,
	.process-step,
	.cta-panel {
		padding: 20px;
	}

	.form-actions {
		align-items: stretch;
	}

	.button {
		width: 100%;
	}

	.marquee {
		display: flex;
		gap: 44px;
		justify-content: flex-start;
		overflow-x: auto;
		white-space: nowrap;
		padding: 18px 0 20px;
	}

	.marquee span {
		flex: none;
	}
}

@media (max-width: 720px) {
	main,
	.topbar,
	.footer {
		width: min(100% - 20px, 1180px);
	}

	.topbar,
	.footer,
	.nav,
	.hero-actions,
	.marquee {
		gap: 12px;
	}

	.topbar,
	.footer {
		flex-direction: column;
		align-items: center;
	}

	.footer-links {
		justify-content: center;
	}

	.nav {
		gap: 14px;
		justify-content: center;
		font-size: 0.78rem;
		row-gap: 8px;
	}

	.marquee {
		gap: 34px;
	}

	main {
		padding-top: 28px;
	}

	.hero {
		gap: 20px;
	}

	.hero-copy h1 {
		font-size: clamp(2.5rem, 9.5vw, 3.4rem);
		max-width: 10ch;
		line-height: 0.98;
	}

	.hero-copy,
	.hero-visual,
	.section-heading,
	.split-content,
	.cta-panel {
		width: 100%;
	}

	.hero-copy {
		text-align: center;
	}

	/* Reduce header logo on small screens */
	.brand-mark {
		width: 56px;
		height: 56px;
		padding: 6px;
		border-radius: 12px;
	}

	.brand-logo {
		/* width intentionally flexible */
		/* width: 200px; */
		height: 112px;
	}

	/* Ensure absolute centering on very small phones */

	.gear-panel {
		padding: 12px;
	}

	.gear-panel-content {
		max-height: 88vh;
		padding: 20px;
		border-radius: 20px;
	}

	.gear-panel-header {
		display: grid;
		gap: 14px;
	}

	.gear-close {
		width: 100%;
	}

	.gear-groups {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.gear-list li {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

@media (max-width: 480px) {
	.hero {
		grid-template-columns: 1fr;
		justify-items: center;
		padding-top: 18px;
	}

	.hero-copy {
		text-align: center;
		justify-self: center;
		margin-inline: auto;
		width: min(100%, 92%);
	}

	.hero-copy h1 {
		font-size: clamp(2.2rem, 9.5vw, 3rem);
		max-width: 12ch;
		line-height: 0.98;
	}

	.hero-visual {
		justify-self: center;
		width: min(100%, 92%);
	}

	/* Center section headings and related intro text on very small screens */
	.section-heading,
	.section-heading h2,
	.section-heading p,
	.split-content {
		text-align: center !important;
		margin-inline: auto;
		width: min(100%, 92%);
	}

	.section-heading h2 {
		max-width: 36ch;
		margin-inline: auto;
	}

	.hero-metrics {
		gap: 10px;
		margin-top: 22px;
	}

	.hero-metrics div {
		padding: 12px 14px;
	}

	.eyebrow {
		font-size: 0.66rem;
		letter-spacing: 0.22em;
		margin-bottom: 12px;
	}

	.lead,
	.split-content p,
	.process-step p,
	.work-card p,
	.cta-panel p {
		font-size: 0.95rem;
	}

	.hero-actions {
		flex-direction: column;
	}

	.button {
		width: 100%;
	}

	.hero-metrics,
	.visual-stack,
	.form-row {
		grid-template-columns: 1fr;
	}

	.hero-metrics {
		display: grid;
		gap: 8px;
	}

	.hero-metrics dt {
		font-size: 0.62rem;
	}

	.hero-metrics dd {
		margin-top: 6px;
		font-size: 0.92rem;
	}

	.hero-metrics div,
	.work-card,
	.process-step,
	.cta-panel,
	.visual-card {
		border-radius: 22px;
	}

	.visual-large {
		min-height: 260px;
	}

	.visual-frame {
		inset: 18px;
		padding: 14px;
	}

	.visual-frame strong,
	.visual-small strong {
		font-size: clamp(1.7rem, 6vw, 2.5rem);
	}

	.visual-small {
		min-height: 150px;
	}

	.ambient {
		display: none;
	}

	.marquee {
		gap: 34px;
		justify-content: flex-start;
		overflow-x: auto;
		white-space: nowrap;
		padding-bottom: 20px;
	}

	.marquee span {
		flex: none;
	}

	.section,
	.cta {
		padding-top: 60px;
	}

	.section-heading h2,
	.cta-panel h2 {
		font-size: clamp(2rem, 8vw, 3.1rem);
		max-width: 100%;
	}

	.section-heading h2,
	.cta-panel h2 {
		max-width: 10ch;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.contact-form input,
	.contact-form select,
	.contact-form textarea {
		padding: 15px 16px;
		border-radius: 16px;
	}

	.form-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.form-note {
		text-align: left;
	}

	.cta-panel {
		padding: 22px;
	}

	.work-card,
	.process-step,
	.visual-card,
	.hero-metrics div,
	.cta-panel {
		border-radius: 20px;
	}

	.social-link span {
		font-size: 0.72rem;
	}

	.footer,
	.footer-links,
	.social-link {
		letter-spacing: 0.12em;
	}
}

/* FHM Podcast project page */
.project-hero {
	align-items: start;
}

.project-eyebrow-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 18px;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	border: 1px solid rgba(201, 201, 201, 0.14);
	background: rgba(255, 255, 255, 0.03);
	color: rgba(241, 241, 241, 0.88);
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.project-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 32px;
}

.stat-card {
	padding: 18px;
	border-radius: 20px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
	border: 1px solid rgba(201, 201, 201, 0.12);
	box-shadow: var(--shadow);
}

.stat-card dt {
	color: rgba(201, 201, 201, 0.62);
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 0.7rem;
}

.stat-card dd {
	margin: 10px 0 0;
	color: var(--text-strong);
	font-weight: 600;
	font-size: 1rem;
}

.featured-video-shell {
	padding: 14px;
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
}

.featured-video {
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.35);
}

.featured-video iframe,
.video-card iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.video-collection {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	justify-items: center;
}

.video-card {
	display: flex;
	align-items: stretch;
	gap: 0;
	padding: 14px;
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
	border: 1px solid rgba(201, 201, 201, 0.12);
	box-shadow: var(--shadow);
	overflow: hidden;
	width: min(100%, 1080px);
	justify-self: center;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.video-card:nth-child(even) {
	flex-direction: row-reverse;
	transform: translateX(16px);
}

.video-card:nth-child(odd) {
	transform: translateX(-16px);
}

.video-card .video-frame {
	flex: 1;
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.35);
	min-width: 0;
}

.video-card:hover {
	transform: translateY(-2px) translateX(0);
	box-shadow: 0 32px 90px rgba(0, 0, 0, 0.5);
}

/* Simple gallery styles for project image grids */
.project-gallery .gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	align-items: start;
	justify-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 0;
}

.project-gallery .gallery-item {
	width: 100%;
	overflow: hidden;
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.04));
	box-shadow: 0 12px 40px rgba(3,8,20,0.35);
	transition: transform 420ms cubic-bezier(.2,.9,.3,1), box-shadow 420ms ease;
	position: relative;
}

.project-gallery .gallery-item::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.12));
	mix-blend-mode: overlay;
	opacity: 0.6;
	transition: opacity 420ms ease;
}

.project-gallery .gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 720ms cubic-bezier(.2,.9,.3,1);
	will-change: transform;
}

.project-gallery .gallery-item:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 40px 90px rgba(3,8,20,0.55);
}

.project-gallery .gallery-item:hover::after {
	opacity: 0.35;
}

.project-gallery .gallery-item:hover img {
	transform: scale(1.06) rotate(0.25deg);
}

/* Lightbox styles */
.lightbox {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(4,6,10,0.75);
	z-index: 9999;
	padding: 28px;
}
.lightbox.is-open { display: flex; }
.lightbox-img {
	max-width: calc(100% - 120px);
	max-height: calc(100% - 120px);
	box-shadow: 0 40px 120px rgba(2,8,20,0.75);
	border-radius: 10px;
	transform: translateY(8px) scale(0.995);
	transition: transform 360ms cubic-bezier(.2,.9,.3,1), opacity 260ms ease;
	opacity: 1;
}
.lightbox-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: rgba(255,255,255,0.06);
	border: 0;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	cursor: pointer;
	box-shadow: 0 8px 30px rgba(2,8,20,0.6);
}
.lightbox-close:focus { outline: 2px solid rgba(255,255,255,0.12); }

@media (max-width: 1024px) {
	.project-stats {
		grid-template-columns: 1fr;
	}

	.video-card,
	.video-card:nth-child(even) {
		flex-direction: column;
		transform: none;
	}

	.video-card:hover {
		transform: translateY(-2px);
	}
}
