@font-face {
	font-family: "Magistral-Bold";
	src: url("../fonts/Magistral-Bold.woff2") format("woff2"),
		url("../fonts/Magistral-Bold.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Magistral-BoldItalic";
	src: url("../fonts/Magistral-BoldItalic.woff2") format("woff2"),
		url("../fonts/Magistral-BoldItalic.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Magistral-Book";
	src: url("../fonts/Magistral-Book.woff2") format("woff2"),
		url("../fonts/Magistral-Book.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Magistral-BookItalic";
	src: url("../fonts/Magistral-BookItalic.woff2") format("woff2"),
		url("../fonts/Magistral-BookItalic.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Magistral-ExtraBold";
	src: url("../fonts/Magistral-ExtraBold.woff2") format("woff2"),
		url("../fonts/Magistral-ExtraBold.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Magistral-ExtraBoldItalic";
	src: url("../fonts/Magistral-ExtraBoldItalic.woff2") format("woff2"),
		url("../fonts/Magistral-ExtraBoldItalic.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Magistral-Light";
	src: url("../fonts/Magistral-Light.woff2") format("woff2"),
		url("../fonts/Magistral-Light.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Magistral-LightItalic";
	src: url("../fonts/Magistral-LightItalic.woff2") format("woff2"),
		url("../fonts/Magistral-LightItalic.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Magistral-Medium";
	src: url("../fonts/Magistral-Medium.woff2") format("woff2"),
		url("../fonts/Magistral-Medium.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Magistral-MediumItalic";
	src: url("../fonts/Magistral-MediumItalic.woff2") format("woff2"),
		url("../fonts/Magistral-MediumItalic.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* ============================ ? MOBILE-FIRST STRUCTURE AND BASE ============================ */
:root {
	--container-padding: 2rem;
	--section-padding-y: 4rem;
	--banner-padding-y: 1rem;
	--banner-padding-top-bottom: 1rem;
	--gap: 2rem;
	--gap-lg: calc(var(--gap) * 2);
	--spacer: 0.75rem;
	--rounded: 0.75rem;
	--smrounded: 0.25rem;
	--green: #00FF00;
	--lime: #6EFF00;
	--white: #ffffff;
	--lgrey: #ddddd1;
	--paper: #f6f6f6;
	--dark: #121224;
	--black: #000000;
	--dark-rgb: 18, 18, 36;
	--black-rgb: 0, 0, 0;
	--white-rgb: 255, 255, 255;
	--max-content-width: 100%;
	--opacity-strong: 0.75;
	--opacity-weak: 0.25;
	--opacity-weaker: 0.1;
	--font-display-xl: clamp(3rem, 2rem + 6vw, 8rem);
	--font-hero: clamp(2.5rem, 1.5rem + 4vw, 6.5rem);
	--hero-chevron: clamp(1rem, 0.6rem + 1.5vw, 2.5rem);
  --font-h1: clamp(2rem, 1.3rem + 2.8vw, 4rem);
  --font-h2: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  --font-h3: clamp(1.25rem, 1rem + 1vw, 2.5rem);
  --font-h4: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  --font-body-lg: clamp(1.2rem, 1rem + 0.4vw, 1.5rem);
  --font-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --font-small: clamp(0.875rem, 0.85rem + 0.15vw, 1rem);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font: inherit;
}

body {
	background-color: var(--dark);
}

body.fade-in {
	opacity: 1;
}

html,
body {
	height: 100%;
	scroll-behavior: smooth;
	line-height: 1.5;
	font-family: "Magistral-Medium", sans-serif;
	min-width: 375px;
	overflow-x: hidden;
	font-size: 1rem;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

input,
button,
textarea,
select {
	font: inherit;
}

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

.content-wrapper {
	width: 100%;
	max-width: var(--max-content-width);
	margin-inline: auto;
	padding-inline: var(--container-padding);
	padding-block: var(--section-padding-y);
}

#statement .content-wrapper {
	padding-top: calc(var(--section-padding-y) * 4);
	padding-bottom: calc(var(--section-padding-y) * 4);
}
#bttn .content-wrapper {
	padding-top: calc(var(--section-padding-y) * 2);
	padding-bottom: calc(var(--section-padding-y) * 6);
}

.darkbg {
	background-color: var(--dark);
	color: var(--lgrey);
}


.blackbg {
	background-color: var(--black);
	color: var(--lgrey);
}

.lightbg {
	background-color: var(--lgrey);
	color: var(--dark);
}

.paperbg {
	background-color: var(--paper);
	color: var(--dark);
}

.limebg {
	background-color: var(--lime);
	color: var(--white);
}

.greenbg {
	background-color: var(--green);
	color: var(--dark);
}

h1,
h2,
h3,
h5 {
	font-family: "Magistral-Bold", sans-serif;
	font-weight: normal;
	line-height: 1;
}

h1 {
	color: var(--white);
}

h2,
h3,
h4,
h5,
.services-list li {
	color: var(--green);
}

.yellowbg h2,
.yellowbg h3,
.yellowbg h4,
.lightbg h2,
.lightbg h3,
.lightbg h4 {
	color: var(--dark);
}

#services h3 {
	color: var(--white);
}

.blackbg h3 {
	color: var(--white);
}

.blackbg h3 .chevron-icon,
.lightbg h3 .chevron-icon,
#services h3 .chevron-icon {
	color: var(--green);
}


#statement h1 {
	font-family: "Magistral-ExtraBoldItalic", sans-serif;
	text-transform: uppercase;
	text-rendering: optimizeLegibility;
	font-size: var(--font-hero);
	line-height: 1;
	letter-spacing: -1px;
	color: var(--dark);
	margin-bottom: calc(var(--section-padding-y) * 2);
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	position: relative;
}

#statement h1 span {
	font-family: "Magistral-MediumItalic", sans-serif;
}

#statement h1 span:nth-of-type(2) {
	font-family: "Magistral-ExtraBoldItalic", sans-serif;
}

#statement h1 span:nth-of-type(3) {
	font-family: "Magistral-MediumItalic", sans-serif;
}

#statement h1 span:nth-of-type(4) {
	font-family: "Magistral-LightItalic", sans-serif;
}

#statement h1 span.chevron-heading {
	font-size: var(--hero-chevron);
	margin-bottom: var(--spacer);
	margin-right: -12px;

}

h3 {
	font-weight: 700;
	letter-spacing: -0.025em;
	margin-bottom: var(--gap);
	font-size: var(--font-h3);
	text-align: left;
	display: inline-flex;
	align-items: center;
	text-transform: uppercase;
}

h4 {
	font-family: "Magistral-Light", sans-serif;
	font-weight: normal;
	line-height: 1.2;
	font-size: 1.75rem;
}

h4 strong {
	font-family: "Magistral-Bold", sans-serif;
}

h1 .chevrons {
	color: var(--dark);
	position: absolute;
	right: 0;
	top: 13%;
	line-height: 1;
}

h3 .chevrons {
	color: var(--green);
	padding-right: var(--gap);
}

#team h3 {
	margin-bottom: var(--gap-lg) !important;
	color: var(--white) !important;
}

#opportunity h3 {
	margin-bottom: var(--gap-lg) !important;
	color: var(--black) !important;
}

.chevron-heading {
	display: flex;
	align-items: center;
	gap: calc(var(--gap) / 2);
	margin: 0;
	text-align: center;
	width: fit-content;
	    flex-direction: column;
	/* shrink to content */
}

#services .chevron-heading, #clients .chevron-heading {
	    flex-direction: row;
	/* shrink to content */
}
.chevron-heading span {
	transform: rotate(90deg);
}

#services .chevron-heading span, #clients .chevron-heading span, #statement .chevron-heading span {
	transform: rotate(0deg);
}


.chevron-heading span {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
	text-align: center;
	margin: 0 auto;
	/* centers the element */
	width: fit-content;
	/* shrink to content */
}

.chevron-heading {
	line-height: 1;
}

h3.chevron-heading {
	margin: 0 auto !important;
	/* centers the element */
}

#clients h3.chevron-heading {
	margin: 0 !important;
	margin-bottom: var(--gap-lg) !important;
}

#services h3.chevron-heading {
	margin: 0 !important;
}

.chevron-icon {
	height: 0.7em;
	width: auto;
	display: block;
	transform: translateY(-0.09em);
	/* optical correction */
}

.contact-band h4 {
	max-width: 21ch;
	font-family: "Magistral-Bold", sans-serif;
	letter-spacing: -0.025em;
	margin-bottom: var(--gap);
	font-size: 3rem;
	line-height: 1.2;
	color: var(--dark) !important;
}

.contact-band h5 {
	font-family: "Magistral-Light", sans-serif;
	letter-spacing: -0.025em;
	margin-bottom: var(--gap);
	font-size: 2.5rem;
	line-height: 1.2;
	color: var(--dark) !important;
}

#clients h2 {
	color: var(--dark) !important;
	font-size: 3rem;
	line-height: 3rem;
	margin: 0;
	text-transform: uppercase;
	font-family: "Magistral-ExtraBold", sans-serif;
}

#clients h2:nth-child(3) {
	font-family: "Magistral-Bold", sans-serif;
}

#clients h2:nth-child(4) {
	font-family: "Magistral-Medium", sans-serif;
}

#clients h2:nth-child(5) {
	font-family: "Magistral-Book", sans-serif;
}

#clients h2:nth-child(6) {
	font-family: "Magistral-Light", sans-serif;
}

#clients h2:nth-child(7) {
	font-family: "Magistral-Light", sans-serif;
}

h5 {
	font-size: 1.25rem;
	font-family: "Magistral-Book", sans-serif;
}

.contact-text h4 a {
	position: relative;
	/* required */
	color: var(--green);
	text-decoration: none;
	/* remove default underline */
}

.contact-text h4 a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	/* tweak if needed */
	width: 100%;
	height: 1px;
	background: currentColor;

	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-text h4 a:hover::after {
	transform: scaleX(1);
}

.member-info h5 {
	margin-bottom: 0;
}

.testimonial h5 {
	color: var(--dark);
}

p,
blockquote {
	font-size: var( --font-body-lg);
	line-height: 1.4;
	text-wrap: pretty;
	white-space: normal;
	font-family: "Magistral-Light", sans-serif;
	margin: auto;
}

#clients p {
	margin: 0;
}

#opportunity p {
	text-align: center;
}

blockquote {
	margin-bottom: calc(var(--gap) / 2);
}

.member-info p {
	color: var(--white);
}

#contact p {
	margin-bottom: var(--gap);
}

.contact-text p {
	margin-bottom: 0 !important;
}

p.services-label {
	margin: 0;
}

.testimonial .attribution span {
	font-weight: 600;
}

.testimonial .attribution {
	text-align: right;
	color: var(--dark);
	margin-bottom: 0;
}

.cta-button {
	font-family: "Magistral-Bold", sans-serif;
	background-color: var(--dark);
	color: var(--green);
	padding: calc(var(--gap) / 2) var(--gap);
	border-radius: var(--smrounded);
	transition: all 0.3s ease-in-out;
	display: inline-block;
	border: none;
	cursor: pointer;
	text-transform: uppercase;
	font-size:1.75rem;
}

.cta-button:hover {
	background-color: var(--green);
	color: var(--dark);
}


#statement h2 {
	font-family: "Magistral-Light", sans-serif;
	font-size: var(--font-h4);
	color: var(--dark) !important;
	margin-top: var(--gap) !important;
	width: fit-content !important;
	margin: 0 auto;
	line-height: 1.2
}
section {
  scroll-margin-top: var(--header-height);
}
#statement h3 {
	color: var(--dark) !important;
}

#statement h3 span {
	color: var(--green) !important;
}


input:-webkit-autofill {
	background-color: var(--green) !important;
	/* Replace with your desired colour */
	-webkit-box-shadow: 0 0 0px 1000px var(--green) inset !important;
	-webkit-text-fill-color: var(--dark) !important;
	/* Optional: change text color */
}

input:-moz-autofill {
	background-color: var(--green) !important;
	/* Replace with your desired colour */
	color: var(--dark) !important;
	/* Optional: change text color */
}

/* ============================ HEADER BAR ============================ */

#header-bar {
	font-family: "Magistral-BookItalic", sans-serif;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: var(--lime);
background: linear-gradient(90deg,rgba(0, 255, 0, 1) 0%, rgba(110, 255, 0, 1) 100%);
	color: var(--dark);
	z-index: 100;
	box-shadow: none;
	transform: translateY(-100%);
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.show-header-bar #header-bar {
	transform: translateY(0);
	box-shadow: 0 0px 16px rgba(var(--black-rgb), var(--opacity-weak));
}

#header-bar .content-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-inline: var(--container-padding);
	padding-block: var(--banner-padding-top-bottom);
}

.header-mask {
	width: 100%;
	height: 0;
	overflow: hidden;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row;
	transition: height 0.3s ease-in-out 0.3s;
}


.header-mask .badge {
	height: 30px;
	transform: translateY(100%);
	visibility: hidden;
	transition: transform 0.3s ease-in-out 0.3s, visibility 0s 0.3s;
}

.header-mask .cta-button {
	transform: translateY(100%);
	visibility: hidden;
	transition: transform 0.3s ease-in-out 0.3s, visibility 0s 0.3s;
}

.show-header-bar #header-bar .header-mask {
	height: 100%;
}

.show-header-bar #header-bar .badge,
.show-header-bar #header-bar .cta-button {
	transform: translateY(0);
	visibility: visible;
}

#header-bar li {
	margin: 0 calc(var(--gap) * 0.5);
	font-family: "Magistral-Medium", sans-serif;
	font-size: 1rem;
	line-height: 1;
	text-transform: uppercase;
}


/* Logo */

.badge {
	height: 40px;
	display: block;
}

/* =========================
   NAV (DESKTOP)
========================= */

.desktop-nav {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.desktop-nav a {
	text-decoration: none;
	color: inherit;
	font-weight: 500;
	font-size: 1rem;
}

.menu-toggle {
	position: relative;
	width: 40px;
	height: 30px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

	/* Disable collapsing behaviour */
	.header-mask {
		height: auto !important;
		overflow: visible !important;
	}

	#header-bar li {
		margin: 0 0;
	}


	#header-bar.menu-open .content-wrapper {
		background: var(--lgrey);
		background-image: url("../images/structure/menu-mask.svg");
		background-repeat: no-repeat;
		background-position: bottom left;
		background-size: cover;
		/* Full width, proportional height */
	}

	/* Show hamburger */

	.menu-toggle {
		position: absolute;
		top: 50%;
		right: var(--container-padding);
		transform: translateY(-50%);
		z-index: 100000;
	}


	/* Hide nav when closed */
	.desktop-nav {
		display: none;
	}

	/* =========================
	   OPEN MENU (FIXED PROPERLY)
	========================= */

	#header-bar.menu-open {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100dvh;
		background: var(--black);
		z-index: 99999;
	}

	/* IMPORTANT: REMOVE fixed positioning from header-mask */
	.header-mask.active {
		position: relative;
		/* 🔥 THIS FIXES YOUR BUG */
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	/* Show nav */
	.header-mask.active .desktop-nav {
		display: flex;
		flex-direction: column;
		gap: 0;
		margin-top: var(--gap-lg);
		width: 100%;
		min-height: 75dvh;
		padding-bottom: var(--gap);
	}

	/* Typography */
	.header-mask.active .desktop-nav a {
		font-size: 2rem;
		font-family: "Magistral-Bold", sans-serif;
		line-height: 1.2;
		color: var(--dark);
	}

	/* Instant open */
	.header-mask,
	.header-mask * {
		transition: none !important;
	}

	.menu-toggle {
		position: absolute;
		top: 50%;
		right: var(--container-padding);
		transform: translateY(-50%);
		z-index: 100000;
		/* stays above menu */
	}
}

/* =========================
   HERO STACKING SAFETY
========================= */

#hero,
#hero video {
	position: relative;
	z-index: 1;
}

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

}

/* =========================
   HAMBURGER / CLOSE BUTTON
========================= */

.menu-toggle {
	position: absolute;
	top: 2rem;
	right: var(--container-padding);
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	z-index: 100000;
	-webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
	position: absolute;
	right: 0;
	display: block;
	height: 4px;
	background: #000;
	border-radius: 999px;
	transform-origin: center;
	transition:
		top 0.28s ease,
		transform 0.28s ease,
		opacity 0.18s ease,
		width 0.28s ease;
}

/* Closed hamburger */
.menu-toggle span:nth-child(1) {
	top: 10px;
	width: 36px;
}

.menu-toggle span:nth-child(2) {
	top: 20px;
	width: 44px;
}

.menu-toggle span:nth-child(3) {
	top: 30px;
	width: 28px;
}

/* Open state: morph to proper X */
.menu-toggle.active span:nth-child(1) {
	top: 20px;
	width: 34px;
	transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0.2);
}

.menu-toggle.active span:nth-child(3) {
	top: 20px;
	width: 34px;
	transform: rotate(-45deg);
}


/* ============================ FOOTER ============================ */

#footer .content-wrapper {
	padding-block: var(--banner-padding-top-bottom);
}

#footer p {
	margin: 0;
}

#footer {
	flex-direction: row;
	justify-content: space-between;
}

.footer-top-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	text-align: center;
	gap: var(--gap);
	flex-direction: column-reverse;
}

.footer-top-row>div {
	flex: 1 1 33.3%;
}

.footer-social {
	display: flex;
	gap: var(--gap);
	/* or calc(var(--gap) * 0.5) */
}

/* Social section: keep everything inline */
.social-icons {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: end;
	/* Center icons + label horizontally */
	text-align: right;
	/* Just in case */
}


/* Make icons clickable */
.social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.social-icon img {
	width: 24px;
	height: 24px;
	transition: transform 0.3s ease-in-out;
}

.social-icon img:hover {
	transform: scale(1.1);
}

.back-to-top-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 1;
}

.copyright {
	padding-top: var(--banner-padding-top-bottom);
	text-align: center;
}

.copyright p {
	max-width: 75ch;
	font-size: 0.75rem;
	margin: 0 auto !important;
	font-family: "Magistral-Medium", sans-serif;
}

#contact .footer-logo-img {
	height: 64px;
	width: auto
}

/* ============================ SECTIONS ============================ */

/* ============================ HERO SECTION ============================ */

#hero {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--dark);
	min-height: 100vh;
}

#hero video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	object-fit: cover;
	z-index: 0;
}

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

.hero-audio-toggle {
	position: absolute;
	bottom: var(--gap-lg);
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-audio-toggle svg {
	pointer-events: none;
}

/* ============================ SERVICES SECTION ============================ */


.services-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: var(--gap);
}

.service-box {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background-color: var(--black);
}

.service-box>* {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.service-box .background-image {
	top: 0;
	left: 0;
	transform: none;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	z-index: 1;
}

.service-box .service-icon {
	height: 80px;
	width: auto;
	z-index: 3;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.service-box .service-text {
	z-index: 4;
	opacity: 0;
	transform: translate(-50%, calc(-50% + 20px));
	transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
	color: var(--white);
	padding: var(--gap);
	max-width: 100%;
	width: 100%;
	text-align: left;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.service-text p {
	text-align: left;
	margin: 0;
}

.service-box:hover .service-icon {
	transform: translate(-50%, -200%);
	opacity: 0;
}

.service-box:hover .service-text {
	opacity: 1;
	transform: translate(-50%, -50%);
}

.service-box:hover .service-icon,
.service-box.touched .service-icon {
	transform: translate(-50%, -200%);
	opacity: 0;
}

.service-box:hover .service-text,
.service-box.touched .service-text {
	opacity: 1;
	transform: translate(-50%, -50%);
}

.service-box::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 50%;
	height: 50%;
	background-color: rgba(var(--dark-rgb), var(--opacity-strong));
	border-radius: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	opacity: 0;
	transition: width 0.3s ease-in-out, height 0.3s ease-in-out,
		opacity 0.3s ease-in-out;
	pointer-events: none;
	/* ensures it doesn't block interactions */
}

.service-box:hover::before,
.service-box.touched::before {
	width: 200%;
	height: 200%;
	opacity: 1;
}

/* ============================ CLIENT SECTION ============================ */

.clients-grid {
	display: flex;
	overflow: hidden;
	white-space: nowrap;
	max-width: 100%;
}

.clients-intro {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: var(--gap-lg);
	width: 100%;
}

.clients-intro>div:last-child {
	display: flex;
	flex-direction: column;
}

.clients-intro>div:last-child img {
	margin-top: var(--gap);
	align-self: center;
	width: 100px;
	height: auto;
}

.clients-track {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: var(--gap);
	animation: none;
	width: 100%;
}

.client-box {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.client-box-inner {
	width: 100%;
	height: 100%;
	padding: var(--gap);
	display: flex;
	align-items: center;
	justify-content: center;
}

.client-logo-wrapper {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.client-logo-wrapper img {
	display: block;
	width: 76%;
	height: auto;
	object-fit: contain;
	pointer-events: none;
	max-height: 180px;
}
.client-logo-wrapper a {
	display: block;
	width: 76%;
	height: auto;
	object-fit: contain;
	max-height: 180px;
}
.client-logo-wrapper a img {margin:auto}

#clients .lightbg {
	background-image:
		url("../images/clients/stripes.svg"),
		url("../images/clients/background-01.svg");


	background-position: right calc(var(--gap-lg) * 2), bottom center;
	background-size: 200px auto, cover;
	background-repeat: no-repeat, no-repeat;
}


/* ============================ CASE SECTION ============================ */

.case-grid-custom {
	display: block;
	width: 100%;
	height: auto;
}

.case-item {
	width: 100%;
	aspect-ratio: auto;
	/* Let content define height */
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	margin-bottom: var(--gap);
}

.case-grid-custom .testimonial {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease-in-out;
	background-color: var(--green);
	padding: var(--gap);
	border-radius: var(--rounded);
	z-index: 2;
	color: var(--dark);
	box-sizing: border-box;
	width: 100%;
	max-width: calc(100% - (var(--gap)*2));
	/* Prevents overflow on smaller screens */
	display: inline-block;
	text-align: left;
}

.case-grid-custom .case-item:hover .testimonial {
	opacity: 1;
	pointer-events: all;
}

.case-item::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(var(--dark-rgb), 0);
	transition: background-color 0.3s ease-in-out;
	z-index: 1;
}

.case-item:hover:before {
	background-color: rgba(var(--dark-rgb), var(--opacity-strong));
}

/* ============================ TEAM SECTION ============================ */


#team .content-wrapper {
	border-radius: var(--rounded);
}

.testimonial-section {
	text-align: center;
}

.team-intro {
	width: 100%;
	text-align: center
}

.team-top {
	background-image: url("../images/team/team-top.svg");
	background-repeat: no-repeat;
	background-size: auto;
	background-position: center top;
	height: var(--gap);
	width: 100%;
}

.team-chevrons {
	background-image: url("../images/team/team-chevrons.svg");
	background-repeat: no-repeat;
	background-size: auto;
	background-position: center top;
	height: var(--gap-lg);
	width: 100%;
	padding: var(--gap);
}

.team {
	display: flex;
	padding: var(--gap-lg) 0;
	padding-bottom: 0;
}

.team-content {
	flex: 1;
	/* makes both columns equal width */
	display: flex;
	flex-direction: column;
	gap: var(--gap);
	/* stack image, headings, text vertically */
	text-align: left !important;
	margin-bottom: var(--gap-lg);
}

.team-content .team-section {
	padding: 0;
	/* stack image, headings, text vertically */
}

.team-content img {
	height: auto;
}

@media (max-width: 768px) {
	.team {
		flex-direction: column;
	}
}


.team-decor {
	position: absolute;
	bottom: -38px;
	/* adjust to match the drop below the card */
	left: 0;
	right: 0;

	height: 40px;
	padding: 0 var(--gap-lg);
	display: flex;
	pointer-events: none;
}

.shape-left,
.shape-right {
	flex: 1;
	height: 40px;

	background-image: url("../images/team/team-decor.svg");
	background-repeat: no-repeat;
	background-size: auto 100%;
}

.shape-left {
	background-position: left bottom;
}

.shape-right {
	background-position: right bottom;
}


/* CASE STUDIES */

.left-column,
.top-row,
.bottom-row,
.right-column {
	display: block;
	width: 100%;
}

.left-column .case-item {
	aspect-ratio: 1 / 1;
	width: 100%;
}

.right-column .case-item {
	width: 100%;
	aspect-ratio: 1 / 1;
	margin-bottom: var(--gap);
}

.case-grid-custom .right-column .case-item:last-child {
	margin-bottom: 0;
}

.team-carousel {
	touch-action: pan-x;
	overscroll-behavior-x: contain;
	overscroll-behavior-y: none;
}

/* ======================================================
   TESTIMONIAL SECTION
====================================================== */


.testimonial-section .content-wrapper {
	position: relative;
}

.speech-bubble {
	position: relative;
	margin: 0 auto;
	color: var(--dark);
	/* stroke colour */
}

/* Main box */
.bubble-content {
	border: 30px solid var(--dark);
	border-bottom: 0;
	padding: var(--gap);
	background: transparent;
	position: relative;
	z-index: 2;
}

/* Bottom SVG tail */
.bubble-tail {
	display: block;
	width: 100%;
	height: 90px;
	/* controls drop depth */
	margin-top: -20px;
	/* MUST match border thickness */
}

/* Ensure crisp stroke */
.bubble-tail polyline {
	vector-effect: non-scaling-stroke;
}

.bubble {
  display: flex;
  width: 100%;
  align-items: flex-start;
	margin-top:-1px;
}

.bubble-line {
  flex: 1 1 auto;
  width: 100%;
  height: 90px;
  min-width: 0;
  display: block;
}

.bubble-corner {
  flex: 0 0 327px;
  width: 176px;
  height: 90px;
  display: block;
}

.bubble-line line,
.bubble-corner polyline {
  fill: none;
  stroke: #141426;
  stroke-width: 18.14px;
  stroke-miterlimit: 10;
}



.speech-bubble p {
	margin: 0 auto;
	text-align: center
}

.speech-bubble .quote p {
	margin: 0 auto;
	text-align: center;
	margin-bottom: var(--gap);
}

.speech-bubble .role p {
	font-family: "Magistral-Bold", sans-serif;
}

.speech-bubble .author p {
	font-family: "Magistral-Book", sans-serif;
}

.carousel-dots {
	display: flex;
	justify-content: center;
	gap: 0;
}
img.sppech-tail-line {
	height:10px
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: none;
	background: var(--white);
	cursor: pointer;
	margin: 0 var(--spacer);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.dot.active {
	opacity: 1;
	transform: scale(1.2);
	background: var(--dark);
}

.speech-bubble .quote,
.speech-bubble .role,
.speech-bubble .author {
	opacity: 1;
	transform: translateY(0);
	transition:
		opacity 0.35s ease,
		transform 0.35s ease;
}

.speech-bubble.fade-out .quote,
.speech-bubble.fade-out .role,
.speech-bubble.fade-out .author {
	opacity: 0;
	transform: translateY(-6px);
}


/* Insights */

.insight {
	background-color: #e7e7df;
	background-image: url("../images/opportunity/insights-bk.svg");
	background-repeat: repeat;
	background-size: cover;
}

.insight .colourcontainer {
	position:relative;
	background: #e7e7df;
	background: linear-gradient(0deg, rgba(231, 231, 223, 0) 0%, rgba(202, 227, 171, 1) 100%);
}

.insight-strip-1 {
	background-image: url("../images/opportunity/stripes-white.svg");
	background-repeat: no-repeat;
	background-size: 100% auto;
	height:100px;
	width:500px;
	position:absolute;
	left:-40%;
	top:0;
}
.insight-strip-2 {
	background-image: url("../images/opportunity/stripes-black.svg");
	background-repeat: no-repeat;
	background-size: auto 100%;
	background-position: bottom center;
	height:50px;
	width:100%;
	position:absolute;
	right:-100px;
	bottom:0;
	z-index:9;
}

.insight-colorblock {
	background: #c8cbb8;
	height: calc(var(--gap-lg) * 5);
	width: 100%;
	margin-top: calc(var(--gap-lg) * -2.5);
}

.insight-grid {
	margin: auto;
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	text-align: center;
}

.insight-grid> :first-child {
	order: 2;
}

.insight-grid> :last-child {
	order: 1;
}


.insight-helmet img {
	width: 130%;
	display: block;
	margin-top: calc(var(--gap-lg) * -1);
	margin-left: calc(var(--gap-lg) * -0.75);
	max-width: 175% !important;
}

.insight-circle {
	aspect-ratio: 1;
	background: var(--green);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: calc(var(--gap-lg)*1);
	text-align: center;
	margin: auto;
}

.insight-circle p {
	font-family: "Magistral-Book", sans-serif;
	max-width: 18ch;
	font-size:var(--font-h4);
}

.insight-circle strong {
	font-family: "Magistral-ExtraBold", sans-serif;
	font-weight: 700;
}

.stripe {
	right: 120px;
	bottom: -20px;

	width: 220px;
	height: 70px;

	background: repeating-linear-gradient(-45deg,
			#0a0a18,
			#0a0a18 8px,
			transparent 8px,
			transparent 16px);

	z-index: 1;
}

@media (min-width: 768px) {

	.insight-grid {
		grid-template-columns: 1fr 1fr;
	}
	
	.insight-circle {
	
	margin-left: calc(var(--gap-lg)* -2);
}
.insight-circle {
	padding: calc(var(--gap-lg)*2);
}
	.insight-strip-1 {
	height:125px;
		left:0;
	top:var(--gap-lg);
}
	.insight-colorblock {
	background: #c8cbb8;
	height: calc(var(--gap-lg) * 5);
	width: 100%;
	margin-top: calc(var(--gap-lg) * -5);
}
	.insight-grid> :first-child {
		order: 1;
		position: relative;
		z-index: 2;
	}

	.insight-grid> :last-child {
		order: 2;
		position: relative;
		z-index: 1;
	}

	.insight-strip-2 {
	height:100px;
	right:0;
}

	.insight-helmet img {
		margin-top: 0;
		width: 160%;
		max-width: 175% !important;
		margin-left: calc(var(--gap-lg) * -2);
	}

}


.folder-card {
	position: relative;
	padding: 3rem 2rem 2rem;
}

.folder-card svg {
	position: absolute;
	top: -1px;
	left: -1px;
	width: calc(100% + 2px);
	height: auto;
}

.folder-border {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}


.content {
	position: relative;
	border: black 2px solid;
	border-top: none;
}



#services {
	position: relative;
	overflow: hidden;
}

.background-layer {
	position: absolute;
	inset: 0;
	background: url('../images/services/tarmac.jpg') center/cover no-repeat;
	z-index: 0;
}

ul.services-list li {
	list-style: none;
	font-family: "Magistral-ExtraBold", sans-serif;
	font-size: var(--font-h2);
	padding: 0;
	margin: -0.5rem 0;
}

#services .content-wrapper {
	position: relative;
}

#services .column-container {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--gap-lg)
}




#services .column-container> :first-child {
	order: 2;
}

#services .column-container> :last-child {
	order: 1;
}




.track {
	position: absolute;
	height: 100%;
	padding: 0;
	max-width:none !important;
	z-index: 2;
	pointer-events: none;
	right: 0;
}

/* Stack on mobile */
@media (max-width: 768px) {
	#services .content-wrapper {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

/* CONTACT */

.contact-text {

	display: flex;
	flex-direction: column;
	/* stack vertically */
	gap: var(--gap-lg);
	/* space between rows (adjust to your 8px grid) */
	align-items: center;
	/* center horizontally */
	text-align: center;
	/* center text inside elements */
}

@media (min-width: 480px) {
	:root {
		--container-padding: 2rem;
		--banner-padding-y: 1.25rem;
		--gap: 1.25rem;
	}

	.form-row.service-options {
		flex-direction: column;
	}

	.service-checkboxes {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	:root {
		--container-padding: 3rem;
		--banner-padding-y: 1.5rem;
		--gap: 1.5rem;
	}

	#clients h2 {
		font-size: 5rem;
		line-height: 5rem;
	}
.track {
	
	padding: var(--gap-lg);
	
}
	#services .column-container {
	grid-template-columns: 1fr 1fr;
}
	#services .column-container> :first-child {
	order: 1;
}

#services .column-container> :last-child {
	order: 2;
}

	
	.clients-intro>div:last-child img {
		align-self: flex-end;
		margin-top: auto;
	}

	.clients-intro {
		grid-template-columns: repeat(2, 1fr);
	}

	#contact h3 {
		max-width: 25ch;
	}


	h4 {
		max-width: 58ch;
	}

	p,
	blockquote {
		max-width: 50ch;
	}

	#clients p {
		max-width: 26ch;
	}

	#header-bar ul {
		display: flex;
		justify-content: center;
		/* centers horizontally */
		align-items: center;
		/* centers vertically (if height is set) */
		list-style: none;
		/* removes bullets */
		padding: 0;
		margin: 0;
	}

	.service-box .service-text {
		text-align: center;
		align-items: center;
	}

	.service-text p {
		text-align: center;
	}

	.case-grid-custom .testimonial {
		width: auto;
	}

	.logo img {
		height: 5rem;
	}

	.content-wrapper {
		padding-inline: var(--container-padding);
		padding-block: calc(var(--container-padding)*2);
	}
	
	#clients .lightbg .content-wrapper {
		padding-inline: var(--container-padding);
		padding-block: calc(var(--container-padding)*2);
		padding-bottom:0 !important;
	}


	.footer-top-row {
		flex-wrap: nowrap;
		text-align: left;
		flex-direction: row;
	}

	.copyright {
		text-align: center;
		align-items: center;
	}

	.social-icons {
		justify-content: center;
		/* Center icons + label horizontally */
		text-align: center;
		/* Just in case */
	}

	.back-to-top-wrapper {
		justify-content: flex-end;
		align-items: center;
	}


	#contact p {
		max-width: 45ch;
	}


	.contact-form .form-row {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: var(--gap);
	}

	.contact-form .form-row.service-options {
		flex-direction: column;
		gap: unset;
	}

	.contact-form .form-actions {
		display: flex;
		flex-direction: row;
		align-items: stretch;
		gap: var(--gap);
		margin-top: var(--gap);
		justify-content: end;
	}
	
	.team-content .team-section {
	padding: 0 var(--gap);
	/* stack image, headings, text vertically */
}

	#statement h2 {
		width: 35ch !important;
	}


	#statement h3,
	#opportunity h3,
	#statement h4 {
		text-align: center !important;
		margin-inline: auto;
	}

	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	#footer {
		flex-direction: row;
		justify-content: space-between;
	}

	.clients-grid {
		display: block;
		white-space: normal;
		overflow: visible;
	}

	.clients-track {
		grid-template-columns: repeat(3, 1fr);
	}

	.client-box {
		width: 100%;
		flex: initial;
	}

	.contact-form .cta-button,
	.contact-form .mandatory {
		width: auto;
	}

	.left-arrow {
		left: var(--gap);
	}

	.right-arrow {
		right: var(--gap);
	}

	.carousel-progress-track {
		display: block;
		width: 25vw;
		height: 0.75rem;
		background: var(--white);
		border-radius: 0.5rem;
		position: relative;
		overflow: hidden;
		cursor: pointer;
	}

	.team-member .member-info {
		width: auto;
	}
	.chevron-heading {
	    flex-direction: row;
	/* shrink to content */
}
	.chevron-heading span {
	transform: rotate(0deg);
}
}

@media (min-width: 1200px) {
	:root {
		--container-padding: 4rem;
		--gap: 2rem;
	}

	.services-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	#clients h2 {
		font-size: 6rem;
		line-height: 6rem;
	}

	.clients-intro>div:last-child img {
		width: 200px;
	}

.insight-helmet img {
		margin-left: calc(var(--gap-lg) * -1);
	}

	#contact .content-wrapper {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: flex-start;
	}

	.case-grid-custom {
		display: grid;
		grid-template-rows: repeat(1, 1fr);
		gap: 0;
	}

	.case-grid-custom .top-row,
	.case-grid-custom .bottom-row,
	.case-grid-custom .right-column {
		display: contents;
	}

	.case-grid-custom .top-row {
		display: grid;
		grid-template-columns: 60% 40%;
		width: 100%;
	}

	.case-grid-custom .bottom-row {
		display: grid;
		grid-template-columns: 40% 60%;
		width: 100%;
	}

	.case-grid-custom .right-column {
		display: grid;
		grid-template-columns: 60% 40%;
		width: 100%;
	}

	.case-grid-custom .case-item {
		width: 100%;
		height: 100%;
		aspect-ratio: 16 / 9;
		position: relative;
		overflow: hidden;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		display: flex;
		align-items: stretch;
		margin-bottom: 0;
	}

	.left-column .case-item {
		aspect-ratio: 16 / 9;
	}
}

@media (min-width: 1440px) {
	:root {
		--container-padding: 6rem;
	}

	.service-checkboxes {
		grid-template-columns: repeat(3, 1fr);
	}

}

@media (min-width: 1600px) {
	:root {
		--max-content-width: 1600px;
	}

	.team-track {
		padding-left: calc((100vw - 1440px) / 2);
		padding-right: calc((100vw - 1440px) / 2);
	}
}

@media (hover: hover) and (pointer: fine) {
	.team-member .member-info {
		opacity: 0;
	}

	.team-member .image-wrapper {
		transform: translate(0, 0);
		transition: transform 0.3s ease-in-out;
	}

	.team-member:hover .image-wrapper {
		transform: translate(0.625rem, -1.25rem);
	}

	.team-member .normal-img {
		transform: scale(1);
		transform-origin: top center;
		filter: none;
	}

	.team-member:hover .normal-img {
		transform: scale(1.05);
		filter: grayscale(1) !important;
	}

	.team-member:hover .member-info {
		opacity: 1;
	}

	.service-option:hover {
		background: rgba(var(--white-rgb), var(--opacity-weak));
	}
}

/* ANIMATIONS / MISC INTERACTIONS */
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes scroll-logos {
	0% {
		transform: translateX(0%);
	}

	100% {
		transform: translateX(-50%);
	}
}


/* SORT */


.contact-band {
	position: relative;
	width: 100%;
	max-width: 100% !important;
}

.contact-padding {
	padding: var(--section-padding-y) 0;
}

.car-stage.contact-padding {
	padding-bottom: 0 !important;
}

.contact-band>* {
	position: relative;
	z-index: 1;
}

.contact-band::before {
	content: "";
	position: absolute;
	inset: 0;
	width: 100%;
	background-image: url("../images/contact/chevrons-tile.svg");
	background-repeat: repeat;
	background-size: auto;
	pointer-events: none;
	z-index: 0;
	max-width: 100% !important;
}

.contact-inner {
	display: flex;
	flex-direction: column;
	/* stack vertically */
	gap: var(--gap);
	/* space between rows (adjust to your 8px grid) */
	align-items: center;
	/* center horizontally */
	text-align: center;
	/* center text inside elements */
}


.car-stage {
	display: flex;
	flex-direction: column;
	/* stack vertically */
	gap: var(--gap);
	/* space between rows (adjust to your 8px grid) */
	align-items: center;
	/* center horizontally */
	text-align: center;
}

.car {
	max-height: 200px;
	width: auto;
}


.columns {
	display: flex;
	flex-direction: column;
	gap: var(--gap);
	/* adjust spacing as needed */
	height: 100%;
	position: relative;
}

div.columns:nth-of-type(1) {
	background-image:
		url("../images/services/plus.svg");

	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	height:400px
}




#statement {
	background-image:
		url("../images/statement/dash.svg"),
		url("../images/statement/statement-bg.svg");


	background-position: center bottom, center top;
	background-size: auto var(--gap), cover;
	background-repeat: repeat-x, no-repeat;
	display: flex;
	justify-content: center;
	/* horizontal */
	align-items: center;
	/* vertical (optional) */
	text-align: center;
}


/* BTTN */




#bttn {
	background-image: url('../images/bttn/linesrotate.svg'), url('../images/bttn/bttn-bg.jpg');
background-color: var(--black) !important;

	background-position: right var(--gap-lg), center center;
	background-size: 40%, cover;
	background-repeat: no-repeat, no-repeat;

}

#bttn h3 {
	font-family: "Magistral-ExtraBoldItalic", sans-serif;
	font-size: var(--font-display-xl);
	line-height: 1;
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	/* keeps text left */
	text-align: left;
}

#bttn h3 span {
	line-height: 1;
	display: block;
}

.lines {
	width: 100%
}

.line img {
	width: 100%;
	height: auto
}


/* Opportunity */

.opportunity {
	background: var(--green);
	background: linear-gradient(0deg, rgba(202, 227, 171, 1) 0%, rgba(0, 255, 0, 1) 100%);
}


#statement .chevron-heading {
	margin-left: auto !important;
}


/* GRID */

.opportunity-grid {
	margin: auto;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	padding-top: var(--gap-lg);
	gap: var(--gap);
}


.opportunity-card {
	position: relative;
}

.opportunity-card h3 {
	font-size: 1rem;
	margin-bottom: 0.4rem;
}

@media (min-width: 480px) {
	.opportunity-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}


@media (min-width: 768px) {

	.opportunity-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	div.columns:nth-of-type(1) {
	height:100%
}

}
