
@font-face {
	font-family: "GT-America-Compressed-Bold";
	src:
		url("fonts/GT-America/GT-America-Compressed-Bold.woff2") format("woff2"),
		url("fonts/GT-America/GT-America-Compressed-Bold.woff") format("woff");
	font-display: block;
}


/* CSS RESET ===================================================== */

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

ol,
ul {
	list-style: none;
}

button {
	background: none;
	cursor: pointer;
	font: inherit;
	color: inherit;
}


/* SKIP TO MAIN CONTENT ===================================================== */

.skip {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.skip:focus {
	position: static;
	width: auto;
	height: auto;
	font-size: 2.1rem;
}


/* BASE ===================================================== */

:root {
	--black: rgb(0, 0, 0);
	--dark-grey: rgb(96, 96, 96);
	--grey: rgb(144, 144, 144);
	--light-grey: rgb(192, 192, 192);
	--v-light-grey: rgb(240, 240, 240);
	--white: rgb(255, 255, 255);
}

html {
	font-size: clamp(56.25%, 54.99% + 0.0536vw, 62.5%); /* starts at 2240px ends at 375px 10px to 9px */
}

body {
	font-family: acumin-pro, sans-serif;
	font-variant-ligatures: common-ligatures;
	color: var(--black);
	background-color: var(--white);
	text-size-adjust: none;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
	text-rendering: optimizeLegibility;
	padding-bottom: 8rem;
}

/* body {
	background-image: url("images/column-grid.png");
	background-size: 2112px 512px;
	background-position: center top;
	background-repeat: repeat-y;
} */

a:link, a:visited { color: var(--black); text-decoration: none; }
a:hover, a:active { color: var(--grey); text-decoration: none; }


/* STRUCTURE ===================================================== */

.wrapper {
	max-width: 224rem;
	margin: 0 auto;
	padding: 0 clamp(2.6rem, 1.836rem + 2.0375vw, 6.4rem); /* starts at 2240px ends at 375px */
}

.full-height {
	min-height: calc(100vh - 8rem);
	min-height: calc(100dvh - 8rem);
}

.grid-layout {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: clamp(2.6rem, 1.836rem + 2.0375vw, 6.4rem); /* starts at 2240px ends at 375px */
}

.image-content {
	border-top: 1px solid;
	padding: 3.1rem 0 6.4rem 0;
}


/* IMAGES ===================================================== */

img,
video,
picture {
	display: block;
	width: 100%;
	height: auto;
}

video {
	cursor: pointer;
}

.border {
	border: 1px solid var(--light-grey);
}

.portrait {
	padding: 3.2rem 0 6.4rem 0;
	max-width: 20.8rem;
}


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

header {
	background-color: var(--white);
}

header.fixed-to-top {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
}

header.fixed-to-top + main {
	padding-top: 8rem;
}

.header-content {
	height: 8rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid;
}

.logo {
	width: 12.8rem;
}

.nav-button {
	display: none;
	border-bottom: 1px solid transparent;
}

.nav-button,
nav ul li {
	font-size: 1.8rem;
}

nav ul {
	display: flex;
	column-gap: 1.6rem;
}

.nav-button:hover, .nav-button:active, nav a:hover, nav a:active { color: var(--black); border-bottom: 1px solid var(--black); }

nav a[aria-current] { border-bottom: 1px solid var(--black); }


/* TYPOGRAPHY ===================================================== */

.heading-title,
.heading-main,
h2,
.portfolio p,
.insights-list p {
	font-family: "GT-America-Compressed-Bold", sans-serif;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.heading-title {
	display: block;
	font-size: clamp(3.8rem, 3.0528rem + 1.4943vw, 6.4rem); /* starts at 2240px ends at 500px */
	letter-spacing: -0.025em;
	line-height: 1em;
	padding: 4.8rem 0 0.25em 0;
}

.heading-title-padding {
	padding-bottom: 1em;
}

.heading-main {
	display: block;
	font-size: clamp(5.2rem, 3.70576rem + 2.9885vw, 10.4rem); /* starts at 2240px ends at 500px */
	letter-spacing: -0.025em;
	line-height: 1.07692308em;
	padding-bottom: 4em;
}

h2 {
	font-size: clamp(6.4rem, 5.94016rem + 0.9195vw, 8rem); /* starts at 2240px ends at 500px */
	letter-spacing: -0.025em;
	line-height: 9.6rem;
	padding: 12.8rem 0 3.2rem 0;
}

h3 {
	font-size: 2.1rem;
	font-weight: 400;
	line-height: 3.2rem;
	padding-bottom: 3.2rem;
}

.body-text {
	grid-column: 2;
}

.text-content {
	padding-bottom: 12.7rem;
	border-bottom: 1px solid;
}

.text-content section {
	margin-top: 12.8rem;
	border-top: 1px solid;
	padding-top: 3.1rem;
}

.text-content section:first-of-type {
	margin-top: 0;
}

p {
	font-size: 2.1rem;
	line-height: 3.2rem;
	padding-bottom: 3.2rem;
}

.caption {
	font-size: 1.6rem;
	padding-bottom: 6.4rem;
}

.text-content ul,
.text-content ol {
	font-size: 2.1rem;
	line-height: 3.2rem;
	list-style-position: outside;
	margin: 0 0 3.2rem 1em;
}

.text-content ul {
	list-style-type: disc;
}

.text-content ol {
	list-style-type: decimal;
}

.services {
	display: inline-block;
	white-space: nowrap;
}

.services:not(:last-child)::after {
	content: " /";
}

.text-content a { border-bottom: 1px solid var(--light-grey); }


/* BIG NUMBER COUNTER ===================================================== */

body {
	counter-reset: bigNumber; /* Initialize the counter */
}

.big-numbers::before {
	counter-increment: bigNumber; /* Increment the counter */
	content: counter(bigNumber) "."; /* Display the counter */
}


/* HOMEPAGE ===================================================== */

.pitch .heading-main {
	padding-top: 4.8rem;
}

.hero-title {
	padding: 4vw 0 30vh 0;
}

.homepage .full-height {
	min-height: 100vh;
	min-height: 100dvh;
}

.homepage .heading-title {
	border-top: 1px solid;
	padding-top: 4.7rem;
}


/* TABLES ===================================================== */

table {
	width: 100%;
	border-collapse: collapse;
	margin: 3.2rem 0 6.4rem 0;
}

td, th {
	font-size: 2.1rem;
	font-weight: 400;
	line-height: 2.4rem;
	padding: 1.9rem 0.8rem 2rem 0.8rem;
	text-align: left;
	border: 1px solid;
}


/* FILTER ===================================================== */

.filter {
	display: flex;
	column-gap: 1.6rem;
	line-height: 3.1rem;
	padding: 1.6rem 0;
	font-size: 1.8rem;
}

.filter button:hover, .filter button:active { border-bottom: 1px solid var(--black);}

.filter button[aria-pressed="true"] { border-bottom: 1px solid var(--black); }


/* PORTFOLIO LIST ===================================================== */

.portfolio {
	border-top: 1px solid;
}

.portfolio li {
	padding: 3.2rem 0 3.1rem 0;
	border-bottom: 1px solid;
}

.portfolio li:first-of-type {
	padding-top: 3.1rem;
}

.portfolio li a {
	grid-template-columns: repeat(4, 1fr);
	align-items: center;
}

.portfolio p,
.insights-list p {
	font-size: clamp(3.6rem, 3.35872rem + 0.6434vw, 4.8rem); /* starts at 2240px ends at 375px */
	letter-spacing: -0.01em;
	line-height: 1em;
	padding-bottom: 0;
	grid-column: 2 / -1;
}

.project-title {
	color: var(--grey);
}

.portfolio a:hover, .portfolio a:active,
.portfolio-text a:hover, .portfolio-text a:active,
.insights-list a:hover, .insights-list a:active { color: var(--black); background-color: var(--v-light-grey); }


/* PORTFOLIO TEXT LIST ===================================================== */

h2.portfolio-heading {
	padding-top: 32rem;
}

.portfolio-text a {
	padding: 3.1rem 0 3.2rem 0;
	border-top: 1px solid;
}

.portfolio-text li:last-child a {
	padding-bottom: 3.1rem;
	border-bottom: 1px solid;	
}

.portfolio-text p {
	font-size: 2.4rem;
	padding-bottom: 0;
}


/* INSIGHTS LIST ===================================================== */

.insights-list a {
	padding: 4.7rem 0 4.8rem 0;
	border-top: 1px solid;
	display: block;
}

.insights-list li:last-child a {
	padding-bottom: 4.7rem;
	border-bottom: 1px solid;	
}


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

.strapline {
	padding: 12.8rem 0;
}

.footer-content {
	border-top: 1px solid;
	padding-top: 1.5rem;
}

.footer-content p {
	font-size: 1.8rem;
	line-height: 2.4rem;
	padding-bottom: 2.4rem;
}


/* RESPONSIVE ===================================================== */

@media screen and (max-width: 1023px) {

	.nav-button {
		display: block;
	}

	nav {
		display: none;
	}

	body.nav-shown nav {
		display: block;
		position: fixed;
		top: 8rem;
		left: 0;
		right: 0;
		bottom: 0;
		padding: 0 clamp(2.6rem, 1.836rem + 2.0375vw, 6.4rem); /* starts at 2240px ends at 375px */
		background-color: var(--white);
		overflow-y: auto;
	}

	nav ul {
		display: block;
		padding: 3.2rem 0 6.4rem 0;
	}

	nav ul li {
		font-family: "GT-America-Compressed-Bold", sans-serif;
		font-size: clamp(8rem, 21vw, 16rem);
		letter-spacing: -0.025em;
		line-height: 0.9em;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}

	nav a:hover, nav a:active { color: var(--dark-grey); border-bottom: none; }

	nav a[aria-current] { border-bottom: none; }
	
	.grid-layout {
		display: block;
	}

	h3 {
		font-size: 2.4rem;
	}

	.portfolio-text li p:nth-of-type(2) {
		color: var(--grey);
	}

	.portfolio p {
		padding: 1.6rem 0;
	}

	.caption {
		padding-bottom: 3.2rem;
	}
}

@media screen and (max-width: 400px) {

	.filter {
		flex-direction: column;
	}
}