.studio-button,
.project-enquiry__form .fluentform button.ff-btn-submit {
	--cta-padding: 0.65rem 1.15rem;
	display: inline-flex;
	min-height: 3.15rem;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	padding: 0;
	border: 1px solid var(--brand-green);
	border-radius: 0.45rem;
	background: var(--brand-green);
	color: var(--brand-graphite);
	font-size: 0.93rem;
	font-weight: 700;
	text-decoration: none;
}

.studio-button--secondary {
	--cta-fill: linear-gradient(90deg, #36503b, #293c30);
	border-color: var(--brand-line);
	background: var(--brand-charcoal);
	color: var(--brand-platinum);
}

.studio-cta__content {
	display: flex;
	flex: 1;
	align-self: stretch;
	align-items: center;
	justify-content: inherit;
	gap: inherit;
	padding: var(--cta-padding, 0);
}

:is(.studio-button, .studio-drawer .drawer-cta),
.project-enquiry__form button.ff-btn-submit {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

:is(.studio-button, .studio-drawer .drawer-cta) .studio-cta__content {
	z-index: 1;
}

:is(.studio-button, .studio-drawer .drawer-cta):focus-visible {
	border-color: var(--brand-green);
}

@media (prefers-reduced-motion: no-preference) {
	:is(.studio-button, .studio-drawer .drawer-cta),
	.project-enquiry__form button.ff-btn-submit:enabled {
		--cta-timing: 450ms cubic-bezier(.22,.68,.24,1);
		transition: transform var(--cta-timing), border-color var(--cta-timing);
	}

	.studio-cta__arrow {
		transition: transform var(--cta-timing);
	}

	:is(.studio-button, .studio-drawer .drawer-cta):focus-visible .studio-cta__arrow {
		transform: translate(2px, -2px);
	}
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
	:is(.studio-button, .studio-drawer .drawer-cta)::before,
	.project-enquiry__form button.ff-btn-submit:enabled::before {
		position: absolute;
		inset: 0;
		z-index: var(--cta-sweep-layer, 0);
		pointer-events: none;
		content: '';
	}

	:is(.studio-button:not(.studio-button--secondary), .studio-drawer .drawer-cta)::before,
	.project-enquiry__form button.ff-btn-submit:enabled::before {
		transform: translateX(-100%);
		background: linear-gradient(105deg, transparent 8%, #b9f394 47%, var(--brand-lime) 58%, transparent 84%);
	}

	:is(.studio-button:not(.studio-button--secondary), .studio-drawer .drawer-cta):hover::before,
	.project-enquiry__form button.ff-btn-submit:enabled:hover::before {
		transform: translateX(100%);
		transition: transform var(--cta-timing);
	}

	.studio-button--secondary::before {
		transform: scaleX(0);
		transform-origin: left;
		background: var(--cta-fill);
		transition: transform var(--cta-timing);
	}

	.studio-button--secondary:hover::before {
		transform: scaleX(1);
	}

	:is(.studio-button, .studio-drawer .drawer-cta):hover,
	.project-enquiry__form button.ff-btn-submit:enabled:hover {
		transform: scale(1.025);
		border-color: var(--brand-green);
	}

	:is(.studio-button, .studio-drawer .drawer-cta):hover .studio-cta__arrow {
		transform: translate(2px, -2px);
	}
}

@media (max-width: 43rem) {
	.studio-back-top[data-visible] ~ .site-footer {
		padding-bottom: max(4.5rem, calc(env(safe-area-inset-bottom) + 3.75rem));
	}
}

.studio-newsletter {
	padding-bottom: clamp(2.75rem, 6vw, 5.75rem);
}

.studio-newsletter__panel {
	position: relative;
	display: grid;
	align-items: center;
	gap: clamp(1.5rem, 4vw, 4rem);
	padding: clamp(1.55rem, 5vw, 4rem);
	overflow: hidden;
	border: 1px solid var(--brand-line);
	border-radius: 0.9rem;
	background-color: var(--brand-charcoal);
	background-image: radial-gradient(ellipse at 82% 44%, rgb(126 217 87 / 10%), transparent 64%),
		linear-gradient(rgb(167 176 183 / 5%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(167 176 183 / 5%) 1px, transparent 1px);
	background-size: auto, 2.75rem 2.75rem, 2.75rem 2.75rem;
}

.studio-newsletter__panel::before {
	position: absolute;
	inset: 0 0 auto;
	height: 1px;
	background: linear-gradient(90deg, var(--brand-green), transparent 67%);
	content: '';
}

.studio-newsletter__copy h2 {
	max-width: 17ch;
	margin: 0.45rem 0 0;
	font-family: var(--brand-heading);
	font-size: clamp(2rem, 4.25vw, 3.75rem);
	line-height: 1.07;
	letter-spacing: -0.045em;
}

.studio-newsletter__intro {
	max-width: 47ch;
	margin: 1rem 0 1.4rem;
	color: var(--brand-grey);
}

.studio-newsletter__art {
	width: min(100%, 21.25rem);
	justify-self: center;
	color: var(--brand-green);
}

.studio-newsletter__art svg {
	display: block;
	width: 100%;
	height: auto;
}

@media (min-width: 46rem) {
	.studio-newsletter__panel {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	}
}

@media (max-width: 45.99rem) {
	.studio-newsletter__art {
		width: min(100%, 13.5rem);
		justify-self: start;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.studio-newsletter__panel:has(.studio-kicker[data-reveal-pending])::before {
		transform: scaleX(0);
	}

	.studio-newsletter__panel::before {
		transform-origin: left;
		transition: transform 650ms cubic-bezier(.22,.68,.24,1);
	}
}

.site-footer {
	padding-block: clamp(2.5rem, 6vw, 5rem) 1.4rem;
	background: #151719;
}

.site-footer .site-shell {
	width: min(calc(100% - 3rem), 76rem);
}

.site-footer__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 1.8rem clamp(1.1rem, 4vw, 3rem);
}

.site-footer__brand {
	grid-column: 1 / -1;
}

.site-footer__brand p {
	max-width: 34ch;
	margin: 0.85rem 0 0;
}

.site-footer__title {
	margin: 0 0 0.5rem;
	color: var(--brand-platinum);
	font: 650 0.75rem/1.5 var(--brand-heading);
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.site-footer__links {
	display: grid;
	gap: 0.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer a {
	color: var(--brand-grey);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.site-footer a:focus-visible {
	color: var(--brand-lime);
	text-decoration: underline;
	text-underline-offset: 0.24em;
}

@media (hover: hover) and (pointer: fine) {
	.site-footer a:hover {
		color: var(--brand-lime);
		text-decoration: underline;
		text-underline-offset: 0.24em;
	}
}

.site-footer__contact {
	grid-column: 1 / -1;
}

.site-footer__contact p {
	margin: 0;
}

.site-footer__contact a {
	color: var(--brand-green);
}

.site-footer__base {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-top: clamp(1.8rem, 4vw, 3.25rem);
	padding-top: 1.2rem;
	border-top: 1px solid var(--brand-line);
	font-size: 0.82rem;
}

.site-footer__base p {
	margin: 0;
}

.site-footer__base ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
}

.site-footer__base .site-footer__credit {
	flex: 0 0 100%;
	padding-block: 0.4rem 0.2rem;
	color: var(--brand-platinum);
	font: 600 0.9rem/1.55 var(--brand-heading);
	text-align: center;
}

@media (43rem < width <= 83rem) {
	.home .site-footer__base nav {
		margin-inline-end: 3rem;
	}
}

@media (min-width: 50rem) {
	.site-footer__inner {
		grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, .9fr);
	}

	.site-footer__brand,
	.site-footer__contact {
		grid-column: auto;
	}
}

@media (max-width: 43rem) {
	.site-footer .site-shell {
		width: calc(100% - 2rem);
	}
}

@media (max-width: 43rem), (max-width: 64rem) and (max-height: 31rem) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
	.site-footer__copyright {
		flex-basis: 100%;
		text-align: center;
	}

	.site-footer__base nav:not(:has(a)) {
		display: none;
	}
}

@media (max-width: 43rem), (max-width: 64rem) and (hover: none) and (pointer: coarse) {
	.site-footer__inner .site-footer__links a {
		display: block;
		touch-action: manipulation;
	}

	.site-footer__service-links {
		gap: 0;
	}

	.site-footer__service-links li + li {
		border-top: 1px solid rgb(245 247 247 / 0.1);
	}

	.site-footer__inner .site-footer__service-links a {
		display: flex;
		min-block-size: 44px;
		align-items: center;
		padding-block: 0.45rem;
	}
}
