:root {
	--gunmetal: #3C3C3B;
	--gold: #F5D547;
	--gold-dark: #B8960C;
	--body-grey: #6B6B69;
	--tint-bg: #F7F6F4;
	--grid-bg: #FAFAF8;
	--grid-line: #E9E7E2;
	--border: #ECEAE6;
	--border-2: #E0DED9;
	--red: #D8372A;
	--red-dark: #A82A1E;
	--font-sans: 'Geist', 'TikTok Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
	--font-mono: 'Geist Mono', monospace;
}

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

body {
	font-family: var(--font-sans);
	color: var(--gunmetal);
	background: #FFFFFF;
}

a {
	color: var(--gunmetal);
	text-decoration: none;
}

.site-footer a:hover,
.primary-nav a:hover {
	color: var(--red);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.btn {
	display: inline-block;
	background: var(--red);
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	padding: 12px 26px;
	border: none;
	border-radius: 2px;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover {
	background: var(--red-dark);
	color: #FFFFFF;
}

/* Header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #FFFFFF;
	border-bottom: 1px solid var(--border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 48px;
	gap: 24px;
	flex-wrap: wrap;
}

.site-logo {
	display: flex;
	align-items: center;
	min-width: 0;
}

.site-logo-text {
	font-weight: 800;
	font-size: 20px;
}

.site-logo img {
	height: 40px;
	max-height: 40px;
	width: auto;
	max-width: 100%;
	display: block;
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: 44px;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav li {
	list-style: none;
}

.primary-nav a {
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.01em;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 36px;
	height: 36px;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
}

.nav-toggle__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--gunmetal);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Shared: grid background used by hero + CTA */

.hero__bg {
	position: absolute;
	inset: 0;
	background-color: var(--grid-bg);
	background-image:
		repeating-linear-gradient(0deg, var(--grid-line) 0px, var(--grid-line) 1px, transparent 1px, transparent 64px),
		repeating-linear-gradient(90deg, var(--grid-line) 0px, var(--grid-line) 1px, transparent 1px, transparent 64px);
}

.hero__bg--animate {
	opacity: 0;
	transition: opacity 1.4s ease;
}

.hero__bg--animate.is-loaded {
	opacity: 1;
}

/* Hero */

.hero {
	position: relative;
	width: 100%;
	min-height: 460px;
	display: flex;
	align-items: flex-end;
	padding: 0 48px 56px;
	overflow: hidden;
}

.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.35) 100%);
}

.hero__row {
	position: relative;
	z-index: 1;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 48px;
	flex-wrap: wrap;
}

.hero__content {
	text-align: left;
	flex: 1 1 420px;
	min-width: 0;
}

.hero__heading {
	font-weight: 800;
	line-height: 0.92;
	letter-spacing: -0.03em;
	color: var(--gunmetal);
	text-transform: uppercase;
	font-size: clamp(58px, 8vw, 120px);
}

.icon {
	width: 1em;
	height: 1em;
	display: inline-block;
	flex-shrink: 0;
}

.hero__slider {
	display: grid;
}

.hero__slide {
	grid-area: 1 / 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	gap: 0.15em 0.5em;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}

.hero__slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.hero__slide--stacked {
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.05em;
}

.hero__phrase,
.hero__line {
	display: inline-flex;
	align-items: center;
	gap: 0.18em;
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	.hero__slide {
		transition: none;
	}
}

.hero__subtext {
	font-size: 20px;
	font-weight: 400;
	color: var(--gunmetal);
	max-width: 560px;
	margin: 24px 0 0;
	line-height: 1.5;
}

.hero__cta {
	flex: 0 1 380px;
	min-width: 300px;
	max-width: 400px;
}

.cta__card--compact {
	padding: 32px 28px;
	min-height: 0;
}

.cta__card--compact .cta__idea textarea {
	font-size: 19px;
	min-height: 80px;
}

/* Sections */

.section {
	padding: 120px 48px;
}

.section--tinted {
	background: var(--tint-bg);
	padding: 100px 48px;
}

.section-inner {
	max-width: 1280px;
	margin: 0 auto;
}

.section-intro {
	max-width: 640px;
	margin: 0 auto 80px;
	text-align: center;
}

.section-intro h2,
.section > .section-inner > h2 {
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 20px;
}

.section-intro p {
	font-size: 18px;
	line-height: 1.6;
	color: var(--body-grey);
	margin: 0;
}

.section--tinted h2 {
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 56px;
}

/* Studio rows */

.studio-row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 64px;
	padding: 56px 0;
	flex-direction: row;
}

.studio-row::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: var(--border);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 1s ease;
}

.studio-row.is-visible::before {
	transform: scaleX(1);
}

.studio-row--reverse {
	flex-direction: row-reverse;
}

.studio-row__text,
.studio-row__media {
	flex: 1 1 0;
	min-width: 0;
}

.studio-row__text h3 {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.01em;
	margin: 0 0 14px;
}

.studio-row__copy {
	font-size: 17px;
	line-height: 1.65;
	color: var(--body-grey);
	max-width: 480px;
}

.studio-row__copy p {
	margin: 0;
}

/* Scroll-reveal */

.js-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.45s ease, transform 0.45s ease;
}

.js-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.js-reveal,
	.studio-row::before,
	.hero__bg--animate {
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

.studio-row__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.showcase__image {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.placeholder-block {
	width: 100%;
	aspect-ratio: 16 / 10;
	background: repeating-linear-gradient(135deg, #F0EFEC 0px, #F0EFEC 14px, #E5E3DF 14px, #E5E3DF 28px);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
}

.placeholder-block--4x3 {
	aspect-ratio: 4 / 3;
	background: repeating-linear-gradient(135deg, var(--border) 0px, var(--border) 14px, #E0DED9 14px, #E0DED9 28px);
	border: none;
}

.placeholder-block span {
	font-family: var(--font-mono);
	font-size: 13px;
	color: #9A9A97;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Stat strip (cost-of-inaction / loss aversion) */

.stat-strip {
	padding-top: 72px;
	padding-bottom: 72px;
}

.stat-strip__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.stat-card {
	background: var(--tint-bg);
	border-radius: 4px;
	padding: 32px 28px;
	text-align: center;
}

.stat-card__value {
	font-size: clamp(40px, 5vw, 56px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--gunmetal);
	line-height: 1;
	margin-bottom: 14px;
}

.stat-card__label {
	font-size: 15px;
	line-height: 1.5;
	color: var(--body-grey);
}

.stat-strip__source {
	margin: 24px 0 0;
	font-size: 13px;
	color: #9A9A97;
	text-align: center;
}

/* Case study teaser */

.teaser {
	padding-top: 56px;
	padding-bottom: 56px;
	text-align: center;
}

.teaser__text {
	font-size: 22px;
	line-height: 1.5;
	color: var(--gunmetal);
	max-width: 720px;
	margin: 0 auto 16px;
}

.teaser__link {
	display: inline-block;
	font-size: 15px;
	font-weight: 700;
	color: var(--gunmetal);
	border-bottom: 2px solid var(--gold);
	padding-bottom: 4px;
}

/* Tools used */

.tools-used {
	margin-top: 64px;
	padding-top: 40px;
	border-top: 1px solid var(--border);
	text-align: center;
}

.tools-used__label {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--body-grey);
	margin: 0 0 20px;
}

.tools-used__list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px 16px;
	margin: 0;
	padding: 0;
}

.tools-used__list li {
	font-size: 15px;
	font-weight: 700;
	color: var(--gunmetal);
	padding: 8px 18px;
	border: 1px solid var(--border-2);
	border-radius: 999px;
}

/* Client showcase */

.showcase {
	display: flex;
	gap: 64px;
	align-items: center;
	flex-wrap: wrap;
}

.showcase__text,
.showcase__media {
	flex: 1 1 320px;
	min-width: 0;
}

.showcase__kicker {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gold-dark);
	margin: 0 0 16px;
}

.showcase__text h3 {
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.01em;
	margin: 0 0 18px;
}

.showcase__text p {
	font-size: 17px;
	line-height: 1.7;
	color: var(--body-grey);
	margin: 0 0 16px;
}

.showcase__result p {
	font-size: 17px;
	line-height: 1.7;
	color: var(--body-grey);
	margin: 0 0 12px;
}

.showcase__result p strong {
	color: var(--gunmetal);
}

.showcase__result ul {
	margin: 0 0 16px;
	padding-left: 20px;
}

.showcase__result li {
	font-size: 16px;
	line-height: 1.6;
	color: var(--body-grey);
	margin-bottom: 8px;
}

.showcase__result strong.text-accent {
	color: var(--red);
}

.showcase__link {
	display: inline-block;
	font-size: 15px;
	font-weight: 700;
	color: var(--gunmetal);
	border-bottom: 2px solid var(--gold);
	padding-bottom: 4px;
	margin-top: 16px;
}

/* CTA / Partner with us */

.cta {
	position: relative;
	width: 100%;
	padding: 120px 48px 48px;
	overflow: hidden;
}

.cta__inner {
	position: relative;
	z-index: 1;
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	gap: 64px;
	align-items: stretch;
	flex-wrap: wrap;
}

.cta__heading {
	flex: 1 1 460px;
	min-width: 320px;
	display: flex;
	align-items: center;
	font-size: clamp(46px, 6vw, 82px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.03em;
	color: var(--gunmetal);
}

.cta__card {
	flex: 1 1 420px;
	min-width: 320px;
	background: #FFFFFF;
	padding: 48px 40px;
	min-height: 320px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-shadow: 0 20px 60px rgba(60, 60, 59, 0.12);
}

.cta__form {
	display: flex;
	flex-direction: column;
}

.cta__idea {
	position: relative;
}

.cta__idea textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 110px;
	border: none;
	outline: none;
	resize: none;
	font-family: var(--font-sans);
	font-size: 26px;
	font-weight: 600;
	color: var(--gunmetal);
	line-height: 1.4;
	padding: 0;
}

.cta__idea textarea::placeholder {
	color: var(--gunmetal);
	opacity: 1;
}

.cta__caret {
	position: absolute;
	left: 0;
	top: 0;
	width: 2px;
	height: 24px;
	background: var(--gunmetal);
	animation: blinkCaret 1.1s step-end infinite;
	pointer-events: none;
}

.cta__idea.is-started .cta__caret,
.cta__idea.is-focused .cta__caret {
	display: none;
}

@keyframes blinkCaret {
	0%, 45% { opacity: 1; }
	50%, 95% { opacity: 0; }
	100% { opacity: 1; }
}

/*
 * The fields grid always occupies its full layout space — only opacity
 * (a compositor-only property) changes on reveal, so the card, the
 * hero panel and the row around it never resize or jump.
 */
.cta__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 8px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.cta__card:hover .cta__fields,
.cta__form:focus-within .cta__fields,
.cta__form.is-revealed .cta__fields,
.cta__form--visible .cta__fields {
	opacity: 1;
	pointer-events: auto;
}

/* Touch devices have no reliable hover — show the fields by default. */
@media (hover: none) {
	.cta__fields {
		opacity: 1;
		pointer-events: auto;
	}
}

.cta__fields input {
	width: 100%;
	box-sizing: border-box;
	padding: 13px 14px;
	border: 1px solid var(--border-2);
	font-size: 15px;
	font-family: inherit;
	color: var(--gunmetal);
}

.cta__submit {
	grid-column: 1 / -1;
	margin-top: 6px;
	width: 100%;
}

.form-status {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 20px;
	padding: 12px 14px;
}

.form-status--success {
	background: #EAF3DE;
	color: #27500A;
}

.form-status--error {
	background: #FCEBEB;
	color: #791F1F;
}

/* Footer */

.site-footer {
	background: var(--gunmetal);
	color: #FFFFFF;
	padding: 72px 48px 32px;
}

.site-footer__inner {
	max-width: 1280px;
	margin: 0 auto;
}

.site-footer__row {
	display: flex;
	gap: 96px;
	flex-wrap: wrap;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col {
	flex: 1 1 160px;
}

.footer-col--brand {
	flex: 1 1 240px;
}

.footer-logo {
	margin-bottom: 20px;
}

.footer-logo img {
	height: 34px;
	width: auto;
	display: block;
	filter: invert(1);
	mix-blend-mode: screen;
}

.footer-logo--text {
	color: #FFFFFF;
	font-weight: 800;
	font-size: 20px;
}

.footer-contact-info {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-contact-info p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.75);
}

.footer-contact-info a {
	color: rgba(255, 255, 255, 0.75);
}

.footer-col__heading {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #FFFFFF;
	margin: 0 0 18px;
}

.footer-nav {
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-nav li {
	list-style: none;
}

.footer-nav a {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.75);
}

.footer-bottom-row {
	padding-top: 28px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.footer-copyright,
.footer-legal-links {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.45);
	margin: 0;
}

.footer-legal-links a {
	color: rgba(255, 255, 255, 0.45);
}

.footer-legal-links a:hover {
	color: var(--red);
}

/* Responsive */

@media (max-width: 900px) {
	.site-header__inner {
		padding: 16px 24px;
	}

	.hero,
	.section,
	.section--tinted,
	.cta {
		padding-left: 24px;
		padding-right: 24px;
	}

	.hero {
		min-height: 0;
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.hero__row {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
	}

	.hero__cta {
		flex: none;
		max-width: none;
		width: 100%;
	}

	.section {
		padding-top: 72px;
		padding-bottom: 72px;
	}

	.section--tinted {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.cta {
		padding-top: 48px;
		padding-bottom: 40px;
	}

	.section-intro {
		margin-bottom: 48px;
	}

	.studio-row,
	.studio-row--reverse {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		padding: 40px 0;
	}

	.cta__inner,
	.showcase {
		flex-direction: column;
		gap: 40px;
	}

	.stat-strip__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.teaser__text {
		font-size: 19px;
	}

	.cta__fields {
		grid-template-columns: 1fr;
	}

	.cta__card {
		padding: 32px 24px;
		min-height: 0;
	}

	.site-footer {
		padding: 56px 24px 24px;
	}

	.site-footer__row {
		gap: 40px;
	}
}

@media (max-width: 680px) {
	.site-header__inner {
		padding: 14px 20px;
		gap: 12px;
	}

	.nav-toggle {
		display: flex;
	}

	.primary-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		background: #FFFFFF;
		border-bottom: 1px solid var(--border);
		padding: 8px 20px 16px;
		box-shadow: 0 12px 24px rgba(60, 60, 59, 0.08);
	}

	.primary-nav.is-open {
		display: flex;
	}

	.primary-nav li {
		width: 100%;
	}

	.primary-nav a {
		display: block;
		padding: 10px 0;
		font-size: 16px;
	}

	.site-header__inner .btn-dark {
		padding: 10px 18px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.hero {
		min-height: 380px;
		padding-bottom: 40px;
	}

	.hero__heading {
		font-size: clamp(42px, 13vw, 58px);
	}

	.hero__subtext {
		font-size: 17px;
	}

	.cta__heading {
		font-size: clamp(32px, 9vw, 46px);
	}

	.section,
	.section--tinted,
	.cta {
		padding-left: 20px;
		padding-right: 20px;
	}

	.cta__card {
		padding: 28px 20px;
	}

	.cta__idea textarea {
		font-size: 21px;
	}

	.studio-row__text h3,
	.showcase__text h3 {
		font-size: 24px;
	}
}

/* Studio + case-study headings — red site-wide */

.studio-row__text h3,
.showcase__text h3 {
	color: var(--red);
}

/*
 * Performance Marketing page — red accent theme for content that only
 * exists on (or differs on) this page. Scoped to
 * .template-performance-marketing (the body class WP adds for pages
 * using page-templates/performance-marketing.php) so it doesn't apply
 * to the homepage's equivalent-but-different copy.
 */

.template-performance-marketing .hero__phrase .icon,
.template-performance-marketing .hero__line .icon {
	color: var(--red);
}

.template-performance-marketing .stat-card__value,
.template-performance-marketing .stat-card__label {
	color: var(--red);
}

.template-performance-marketing .teaser__text {
	color: var(--red);
}

.template-performance-marketing .teaser__link {
	border-bottom-color: var(--red);
}

.template-performance-marketing strong.text-accent {
	color: var(--red);
}

.template-performance-marketing .cta__heading {
	color: var(--red);
}
