/*!
Theme Name: Rainsford
Theme URI: https://medicineman.agency/
Author: Medicineman
Author URI: https://medicineman.agency/
Description: Custom theme for Rainsford Development
Version: 1.3.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
Text Domain: rainsford
Tags: custom Theme
This theme, like WordPress, is licensed under the GPL.
*/

:root {
	--brand-dark: #1D1D1B;
	--brand-teal: #009B9D;
}

html {-webkit-text-size-adjust: 100%;}
body {margin: 0;}
main {	display: block;}
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}
a {background-color: transparent;}
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}
b,strong {font-weight: 700;}
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}
small {font-size: 80%;}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {bottom: -0.25em;}

sup {top: -0.5em;}

img {
	border-style: none;
	width: 100%;
	display: block;
	max-width: 100%;
	height: auto;	
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button, input {overflow: visible;}

button,
select {
	text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

[hidden] {
	display: none;
}
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/* Typography
--------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'DM Sans';
}
h1 {
	font-size: 40px;
	line-height: 40px;
	font-weight: 400;
	letter-spacing: normal;	
}
h2 {
	font-size: 32px;
	line-height: 34px;
	letter-spacing: normal;
}
h3 {
	font-size: 22px;
	line-height: 24px;
	font-weight: 700;
	letter-spacing: normal;
}
h4 {
	font-size: 18px;
	line-height: 22px;
	letter-spacing: normal;
	font-weight: 500;
}
h5 {
	font-size: 10px;
	line-height: 12px;
	font-weight: 400;
	letter-spacing: normal;
	font-family: 'Dm Mono', monospace;
	text-transform: uppercase;
}
h6 {
	font-size: 8px;
	line-height: 12px;
	font-weight: 400;
	letter-spacing: normal;
}
p {
	font-size: 16px;
	line-height: 20px;
	font-weight: 300;
	letter-spacing: normal;
}
.about p,
.what-we-do p,
.capability p,
.team p {
	font-weight: 400;
}

@media only screen and (min-width: 600px) {
	h1 {
		font-size: 62px;
		line-height: 58px;
		font-weight: 400;
		letter-spacing: normal;	
	}
	h2 {
		font-size: 46px;
		line-height: 46px;
		letter-spacing: normal;
	}
	h3 {
		font-size: 28px;
		line-height: 32px;
		font-weight: 700;
		letter-spacing: normal;
	}
	h4 {
		font-size: 24px;
		line-height: 26px;
		font-weight: 500;
		letter-spacing: normal;	
	}
	h5 {
		font-size: 14px;
		line-height: 16px;
		font-weight: 400;
		letter-spacing: normal;
	}
	h6 {
		font-size: 12px;
		line-height: 16px;
		font-weight: 400;
		letter-spacing: normal;
	}
	p {
		font-size: 20px;
		line-height: 24px;
		font-weight: 300;
		letter-spacing: normal;
	}
}
dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
}

a:visited {
}

a:hover,
a:focus,
a:active {
}

a:focus {
	outline: 0;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

.sticky {
	display: block;
}
.page {
	margin: 0;
}
.updated:not(.published) {
	display: none;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* START CUSTOM CODE */
/* Quick wider container fix - later to adapt on SASS */

@media only screen and (min-width: 993px) {
	.container {
		width: 90%;
		max-width: 1370px;
	}
}

/*
 * --page-gutter mirrors .container's own left inset at each breakpoint
 * (100% - container width, halved), so elements that can't use a real
 * .container (full-bleed backgrounds, grid tracks narrower than the
 * viewport) can still align their content to it instead of guessing a
 * fixed px value that only matches .container at one viewport width.
 *
 * Uses vw, not %: a % stored in a custom property re-resolves against
 * whatever containing block it's consumed in (e.g. a 2fr grid track is
 * narrower than the viewport), so it stops meaning "% of the viewport"
 * the moment it's used somewhere that isn't full-bleed. vw always means
 * viewport width, regardless of where it's consumed.
 */
:root {
	--page-gutter: 5vw;
}
@media only screen and (min-width: 600px) {
	:root {
		--page-gutter: 7.5vw;
	}
}
@media only screen and (min-width: 993px) {
	:root {
		--page-gutter: max(5vw, calc((100vw - 1370px) / 2));
	}
}
.full-width img {
	display: block;
}
html {
	scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
section[id] {
	scroll-margin-top: 50px;
}
/* NAV */
nav {
	background-color: transparent;
	height: 60px;
	border-radius: 0;
	box-shadow: none;
}
nav ul a:hover {
	background-color: transparent;
}
@media only screen and (min-width: 600px) {
	nav {
		height: 80px;
	}
}
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
}
.main-navigation .nav-wrapper {
	height: 60px;
	background: #fff;
}
.main-navigation .nav-wrapper .container {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 0.75rem;
}
@media only screen and (min-width: 600px) {
	.main-navigation .nav-wrapper {
		height: 80px;
	}
}
.main-navigation .brand-logo {
	position: static;
	transform: none;
}
.main-navigation .brand-logo img {
	height: 24px;
	width: auto;
}
.main-navigation ul li a {
	line-height: 50px;
	color: var(--brand-dark);
	font-family: 'DM Mono', monospace;
	font-size: 14px;
	text-transform: initial;
}
.main-navigation .back-home {
	display: inline-flex;
	align-items: center;
	color: #fff;
	background: var(--brand-teal);
	font-family: 'DM Mono', monospace;
	font-size: 14px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 0.5rem 1.25rem;
	border-radius: 4px;
}
@media only screen and (min-width: 600px) {
	.main-navigation .brand-logo img {
		width: 200px;
	    height: auto;
	    margin-top: .25rem;
	}
}
.sidenav li>a {
	height: 60px;
	line-height: 60px;
}
.sidenav li {
	line-height: 60px;
}
.main-navigation .sidenav-trigger {
	float: none;
	margin: 0 -10px 0 0;
	height: 20px;
}
@media only screen and (min-width: 600px) {
	.main-navigation .sidenav-trigger {
	    margin: 0 -20px 0 0;
	}
}
.hamburger-icon {
	position: relative;
	width: 22px;
	height: 16px;
	padding: 14px 11px;
	box-sizing: content-box;
	display: inline-block;
	cursor: pointer;
}
.hamburger-line {
	position: absolute;
	left: 11px;
	width: 22px;
	height: 2px;
	background: #757575;
	border-radius: 1px;
	transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.hamburger-line:nth-child(1) { top: 14px; }
.hamburger-line:nth-child(2) { top: 21px; }
.hamburger-line:nth-child(3) { top: 28px; }

.hamburger-icon.is-active .hamburger-line:nth-child(1) {
	top: 21px;
	transform: rotate(45deg);
}
.hamburger-icon.is-active .hamburger-line:nth-child(2) {
	opacity: 0;
}
.hamburger-icon.is-active .hamburger-line:nth-child(3) {
	top: 21px;
	transform: rotate(-45deg);
}
.landing-rainsford {
	padding-top: 50px;
}
.site-main {
	padding: calc(60px + 2rem) 0 3rem;
}
@media only screen and (min-width: 600px) {
	.site-main {
		padding-top: calc(80px + 3rem);
	}
}
/* HERO */
.hero h1 {
	color: var(--brand-dark);
}
@media only screen and (min-width: 600px) {
	.hero h1 {
		max-width: 800px;
		margin: 5.5rem 0 1.68rem 0;
	}
}
.parallax-wrap {
	position: relative;
	overflow: hidden;
}

.parallax-wrap img {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 140%;
	object-fit: cover;
	transform: translate(-50%, -50%);
	will-change: transform;
}

.hero-parallax {
	height: 50vw;
	min-height: 300px;
	max-height: 379px;
}

@media only screen and (min-width: 993px) {
	.hero-parallax {
		height: 54.14vw;
		max-height: 758px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.parallax-wrap img {
		transform: translate(-50%, -50%) !important;
	}
}

.why-bottom-parallax {
	height: 50vw;
	max-height: 400px;
}
.why-top-parallax {
	height: 50vw;
	max-height: 400px;
}

@media only screen and (min-width: 993px) {
	.why-bottom-parallax {
		height: 42.57vw;
		max-height: 596px;
	}
	.why-top-parallax {
		height: 42.57vw;
		max-height: 596px;
	}
	.work-with_outro {
		margin-left:1.75rem; /* margin-left: 40px (80/2) - .75rem (int padding) */
	}
}
/* ABOUT */
.about {
	background: var(--brand-teal);
	color: #FFF;
}
.about-left h5 {
	padding: 1.5rem 0 .656rem 0;
	margin: 0;
}
.about-right h3 {
	margin-bottom: 2rem;
}	
@media only screen and (min-width: 600px) {
	.about-left h5 {
		padding: 4.5rem 0 1.25rem 0;
	}
	.about .about-right {
		margin-top: 7rem;
	}
	.about .about-right h3 {
		margin-bottom: 3rem;
	}	
	.about-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 80px;
		align-items: start;
	}
}
.about .container:last-child .row {
	padding-bottom: 2rem;
	margin-bottom: 0;
}
.hero-boxes {
	display: flex;
	flex-direction: column;
}
.box1, .box2 {
	position: relative;
	overflow: hidden;
}
.box1 {
	background: rgba(29, 29, 27, 1);
	min-height: 316px;
}
.box1 h4 {
	color: White;
}
.box2 {
	background: rgba(231, 233, 221, 1);
	color: #fff;
	min-height: 362px;
}
.box2 h2 {
	color:rgba(29, 29, 27, 1);
}
.box1::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url('inc/bg-boxes-01.svg') no-repeat right bottom;
	z-index: 0;
}
@media only screen and (min-width: 600px) {
	.hero-boxes {
		flex-direction: row;
	}
	.box1, .box2 {
		width: 50%;
		min-height: 445px;
	}
	.box1 .container,
	.box1 .row,
	.box1 .col,
	.box2 .container,
	.box2 .row,
	.box2 .col {
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 0;
	}
	.box1 {
		padding-top: 20px;
		padding-left: calc(var(--page-gutter) + 0.75rem);
	}
	.box2 {
		display: flex;
		align-items: flex-end;
		padding-left: calc(var(--page-gutter) + 0.75rem);
		padding-bottom: 30px;
	}
	.box2 h2 {
		margin-bottom: .5rem;
	}
	.box1 .container,
	.box2 .container {
		position: relative;
		z-index: 1;
	}
}
.sectors-container .col {
	min-height: 250px;
	margin-bottom: 1.15rem;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	background-clip: content-box;
	display: flex;
	align-items: center;  
	justify-content: center;
	text-align: center;
	min-height: 250px; 
	background-size: cover;
	background-position: center;
	position: relative;
}

.sectors-container .col p {
	margin: 0 3rem;
	position: relative;
	z-index: 1;
	width: 60%;
}
.sectors-container .col:last-child {
	margin-bottom: 0;
}
.collapsible {
	border: none;
	box-shadow: none;
	-webkit-box-shadow: none;
	font-size: 16px;
	line-height: 20px;
}
.collapsible-header {
	margin: 0;
	padding: 0;
}
.collapsible-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
}

.collapsible .collapsible-header .collapsible-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 25px;
	height: 25px;
	margin-right: 0;
	background: #fff;
	border-radius: 8px;
	transition: transform 0.3s ease;
	transform: rotate(180deg);	
}
.collapsible .collapsible-header .collapsible-icon img {
	display: block;
	width: 1rem;
	height: 1rem;
}
.collapsible li.active .collapsible-header .collapsible-icon {
	transform: rotate(0deg);
}
.collapsible-body {
	padding: .25rem 0 0 0;
}
.collapsible-body ul {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
}
.collapsible-body li {
	position: relative;
	padding-left: 1.1em;
	margin-bottom: 0.5rem;
}
@media only screen and (min-width: 600px) {
	.collapsible-body li {
		font-size: 20px;
		line-height: 24px;
	}
}
.collapsible-body li:last-child {
	margin-bottom: 0;
}
.collapsible-body li::before {
	content: '\2022';
	position: absolute;
	left: 0;
	top: 0;
	font-size: 1em;
	line-height: inherit;
	color: currentColor;
}
/* SIX REASONS */
.reasons {
	background: var(--brand-teal);
	color: #fff;
	padding-bottom: 1rem;
}
.reasons .intro-title {
	padding: 3rem 0 3.25rem 0;
}
.reason-card {
	border-top: 1px solid #fff;
	padding: 1.75rem 0 2.35rem 0;
}
.reason-number {
	font-family: "DM Mono", monospace;
	font-size: 50px;
	line-height: 50px;
	font-weight: 300;
	font-style: normal;
}
@media only screen and (min-width: 993px) {
	.reasons {
		display: grid;
		grid-template-columns: 2fr 1fr;
		padding-bottom: 0;
	}
	.reasons .container {
		grid-column: 1;
		grid-row: 1;
		width: 100%;
		max-width: none;
		margin: 0;
		padding-left: var(--page-gutter);
	}
	.reasons .full-width {
		grid-column: 2;
		grid-row: 1;
		height: 100%;
		position: relative;
		overflow: hidden;
	}
	.reasons .full-width img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.reasons .row .col.s12 {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 2.5rem;
		padding-right: 3rem;
	}
	.reasons .intro-title {
		grid-column: 1 / -1;
	}
	.reason-number {
		font-size: 70px;
		line-height: 70px;
	}
}
/* DELIVERY */
.delivery {
	background: #F3F4EE;
}
.delivery .intro-title {
	padding: 2.25rem 0 0 0;
}
.delivery-lead {
	font-size: 18px;
	line-height: 22px;
	letter-spacing: normal;
	font-weight: 500;
}
.delivery-lead p {
	font-size: 18px;
	line-height: 22px;
	letter-spacing: normal;
	font-weight: 500;
}
.delivery .closing-content {
	padding-bottom: 1.75rem;
}
.delivery .card {
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
}
.delivery .card .header {
	font-family: 'Dm Sans';
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
}
.delivery .card-content .card-title {
	padding-bottom: 1.25rem;
	margin-bottom: 1.25rem;
}
.delivery .card-title p {
	font-size: 16px;
	line-height: 20px;
}
.delivery .card .content {
	font-family: 'Dm Sans';
	font-weight: 400;
	font-size: 20px;
	line-height: 24px;
	letter-spacing: -0.01em;
}
.delivery .card ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.delivery .card ul li {
	font-size: 16px;
	line-height: 20px;
	position: relative;
	padding-left: 25px; /* 12px icon + 13px gap */
	margin-bottom: .7rem;
}
.delivery .card ul li:last-child {
	margin-bottom: 0;
}
.delivery .card ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.4em;
	width: 12px;
	height: 12px;
	background: url('inc/list.svg') no-repeat center / contain;
}
.delivery .card p {
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
	letter-spacing: normal;
	color: var(--brand-dark);
}
.card-title {
	border-bottom: 1px solid #E7E9DD;
}
@media only screen and (min-width: 600px) {
	.delivery-lead, .delivery-lead p  {
		font-size: 24px;
		line-height: 26px;
		font-weight: 500;
		letter-spacing: normal;
	}	
	.delivery .card p {
		font-size: 20px;
		line-height: 24px;
		font-weight: 400;
		letter-spacing: normal;
	}
	.delivery .card-content {
		padding: 0;
		margin: 0;
	}
	.card .card-content .card-title {
		padding: 1.5rem 1rem 1.5rem 1.5rem;
	}
	.delivery .card ul {
    	padding: 1.5rem 2rem 1.5rem 1.5rem;
	}
	.delivery .card ul li {
		font-size: 20px;
		line-height: 24px;
	}
}
/* CASE STUDIES */
.case-studies .intro-title {
	padding: 1.35rem 0 2rem 0;
}
.case-study-item {
	margin-bottom: 2.5rem;
}
.case-study-item:last-child {
	margin-bottom: 0;
}
@media only screen and (min-width: 600px) {
	.case-study-item {
		display: flex;
		align-items: flex-start;
		gap: 40px;
	}
	.case-study-image {
		flex: 0 0 50%;
	}
	.case-study-content {
		flex: 1;
	}
}
@media only screen and (min-width: 600px) {
	.delivery-cards-row {
		display: flex;
		flex-wrap: wrap;
	}
	.delivery-cards-row .card {
		height: 100%;
	}
}
/* WHY US */
.why-us {
	background: #F3F4EE;
}
.why-us .intro-title {
	padding-top: 1.5rem;
}
.why-us .collapsible-header {
	background: transparent;
	border-color: #7B7B7A;
}
.why-us .collapsible-body {
	border-color: transparent;
}

@media only screen and (min-width: 600px) {

	.why-us .intro-title {
		padding-top: 2rem;
	}

	.why-us h2 {
		width: 70%;
	}
}

.why-grid {
	padding-bottom: 1rem;
}

@media only screen and (min-width: 600px) {
	.why-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 80px;
		align-items: start;
		margin-top: 2rem;
		padding-bottom: 2.5rem;
	}
}
/* TEAM */
.team {
	background: var(--brand-dark);
	color: #FFF;
}
.team .intro-title {
	padding-top: 2rem;
}

@media only screen and (min-width: 600px) {
	.team {
		background-image: url(inc/team-bg.svg);
		background-position: top;
		background-size: 100%;
		background-repeat: no-repeat;
	}
	.team .intro-title {
		padding-top: 45px;
	}
}
.team-single {
	margin-bottom: 2rem;
}
@media only screen and (min-width: 600px) {
	.team-single p {
		max-width: 90%;
	}
}
.team-single img {
	max-width: 220px;
}
.team .container:last-child .row {
	margin-bottom: 0;
	padding-bottom: 20px;
}
/* FIGMA LANDING PAGE SECTIONS */
.about {
	background: #fff;
	color: var(--brand-dark);
	padding: 0;
}
.about-section-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}
.about-copy {
	padding:2rem 0 2rem 0;
}
.about-copy-inner {
	max-width: 680px;
}
.about-copy-inner ul {
	margin: 0 0 .5em .5em;
}
.about-copy h5 {
	margin: 0 0 1rem;
}
.about-copy h2 {
	margin: 0 0 1.5rem;
	font-size: 32px;
	line-height: 34px;
}
.about-copy ul {
	list-style: none;
	padding-left: 0;
}
.about-copy li {
	position: relative;
	padding-left: 1.1em;
	font-size: 16px;
	line-height: 20px;
	margin-bottom: .45rem;
}
.about-copy li::before {
	content: '\2022';
	position: absolute;
	left: 0;
	top: 0;
	font-size: 1em;
	line-height: inherit;
	color: currentColor;
}
.about-image {
	position: relative;
	min-height: 300px;
	order: -1;
}
.about-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}
.what-we-do {
	background: var(--brand-teal);
	color: #fff;
	padding: 2.5rem 0;
}
.what-we-do-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}
.what-we-do h5 {
	margin: 0 0 1.5rem;
}
.what-we-do-primary h3 {
	margin: 0 0 1.25rem;
}
.what-we-do-lead {
	font-weight: 500 !important;
}
.what-we-do-secondary h4 {
	margin: 1.5rem 0 1rem;
}
.what-we-do .sectors {
	width: 100%;
	margin-top: 1.5rem;
}
.sectors-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem .5rem;
}
.sector-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	aspect-ratio: 1 / 1;
	padding: 1rem;
	background-color: var(--brand-teal);
	background-position: center;
	background-size: cover;
	text-align: center;
}
.sector-item p {
	position: relative;
	z-index: 1;
	margin: 0;
}
.outcomes-heading {
	min-height: 350px;
	padding: 3rem 0 15rem 0;
	background: var(--brand-dark) url('inc/outcomes-focused-mob.svg') no-repeat bottom / cover;
	color: #fff;
}
.outcomes-heading h5 {
	margin: 0 0 1.5rem;
}
.outcomes-heading h2 {
	max-width: 760px;
	margin: 0 3rem 1.5rem 0;
}
.outcomes-gallery {
	display: block;
}
.outcomes-gallery img {
	display: block;
	width: 100%;
	height: auto;
}
.capability-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.capability {
	padding: 2.5rem 0;
	background: var(--brand-teal);
	color: #fff;
}
.capability-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
.capability-section-title h5 {
	margin: 0 0 1rem;
}
.capability-content {
	min-width: 0;
}
.capability-intro {
	max-width: none;
	margin: 0 0 2rem;
	font-size: 20px;
	line-height: 24px;
}
.capability-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
.capability .reason-card {
	border-top: 1px solid rgba(255, 255, 255, .8);
	padding: 1.25rem 0;
}
.capability .reason-number {
	display: block;
	margin-bottom: .75rem;
}
.capability .reason-card h4 {
	margin: 0 0 .75rem;
}
.capability-outro {
	margin: 1.5rem .5rem 2.5rem 0;
}
@media only screen and (min-width: 600px) {
	.about-section-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: stretch;
	}
	.about-copy {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		padding: 4rem 0 3rem 4rem;
	}
	.about-copy h2 {
		font-size: 40px;
		line-height: 42px;
	}
	.about-image {
		order: initial;
		min-height: 0;
	}	
	.about-image img {
		min-height: 0;
	}
	.what-we-do-grid {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
	.what-we-do {
		padding: 3.5rem 0;
	}
	.sectors-container {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: .75rem;
	}
	.sector-item {
		min-height: 190px;
	}
	.outcomes-heading {
		min-height: 390px;
		padding: 3rem 0 4rem 0;
		background: var(--brand-dark) url('inc/outcomes-focused.svg') no-repeat right center / cover;		
	}
	.outcomes-gallery {
		display: block;
	}
	.capability-image img {
		aspect-ratio: 2 / 1;
	}
	.capability {
		padding: 3rem 0;
	}
	.capability-layout {
		grid-template-columns: minmax(150px, 2fr) minmax(0, 10fr);
		gap: 2rem;
	}
	.capability-section-title {
		grid-column: 1;
	}
	.capability-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 2rem;
		row-gap: 1rem;
	}
	.capability-intro {
		font-size: 28px;
		line-height: 30px;
	}
}

/* FOOTER */
footer {
	font-size: 1rem;
	line-height: 20px;
	letter-spacing: normal;
	background: var(--brand-dark);
	color: #fff;
	padding-bottom: 3rem;
}
footer .contact .row {
	margin-bottom: 0;
	padding-bottom: 2rem;
}
footer .footer-logo {
	width: 250px;
	margin: 1.0933333333rem 0 .656rem 0;
	padding-top: 3rem;
}
footer .contact h3 {
	margin-bottom: 3rem;
}
@media only screen and (min-width: 600px) {
	footer .footer-logo {
		padding-top: 1rem;
	}
}
.contact-detail {
	margin-bottom: 1rem;
}
.footer-content i, .footer-content i img {
	max-width: 1rem;
	height: auto;
}
.footer-content i {
    display: inline-flex;
    left: -1rem;
    position: relative;
    top: .12rem;
}
.footer-content .content {
	margin-left: 15px;
}
.footer-content a {
	color: #fff;
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
}
.footer-content .widescreen {
	display: none;
}
.footer-content .widescreen.sub-content {
	margin-top: 1.5rem;
}
.widescreen.sub-content,
.widescreen.sub-content h6 a {
	font-size: 12px;
	font-family: 'DM Mono' monospace;
}
.footer-content .no-icon {
	margin-left: 16px;
}

.footer-content .widescreen.sub-content h6 a,
.footer-bottom h6 a {
	text-decoration: none;
	color: inherit;
}
.footer-bottom {
	padding: 1.25rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.footer-bottom h6 {
	margin: 0;
}
.footer-grid  {
	padding: 3rem 0 2rem 0;
}

@media only screen and (min-width: 600px) {
	.footer-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 3rem;
		align-items: start;
		padding: 3rem 0;
	}
	/* .footer-logo moved after .footer-content in markup so mobile
	   shows it below the contact details; restore it to the left
	   column here since desktop keeps the original side-by-side look. */
	.footer-logo {
		order: -1;
		margin-left: 0;
	}
}

@media only screen and (min-width: 600px) {
	.footer-content {
		padding-bottom: .8rem;
		border-bottom: transparent;
	}
	.footer-content,.footer-content a {
		font-size: 20px;
		line-height: 24px;
		letter-spacing: normal;
	}
	.footer-content .content div {
		margin-bottom: .25rem;		
	}	
	.footer-content .content div.contact-detail {
		margin-bottom: 1.75rem;		
	}
	.footer-content .no-icon {
		margin-left: 18px;
	}
	.footer-content .widescreen {
		display: block;
	}
	.footer-content .widescreen.sub-content {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		gap: 1.5rem;
		border-top: 1px solid #E7E9DD;
		padding-top: 1.5rem;
		margin-top: 2.5rem;
	}
	.footer-content .widescreen.sub-content .site-credit {
		margin-left: auto;
	}
	.footer-divider,
	.footer-bottom {
		display: none;
	}
}

.widget-area {
	display: none!important;
}

/* ADDED UX */

#back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--brand-dark);
	color: #fff;
	border-radius: 50%;
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
	z-index: 999;
}
#back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
