@import url('/assets/css/variables.css');

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--primary-font), sans-serif;
	color: var(--text);
	background: var(--white);
	line-height: 1.6;
}

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

img {
	max-width: 100%;
	display: block;
}

.container {
	position: relative;
	width: min(1280px, 90%);
	margin: 0 auto;
}

/* =========================
	 NAVIGATION
========================= */

.navbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	height: 90px;
	background: var(--navy-dark);
	color: white;
}

.nav-inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

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

.brand-name {
	font-family: var(--secondary-font), serif;
	font-size: 28px;
	letter-spacing: 2px;
	line-height: 1;
}

.brand-title {
	font-size: 11px;
	letter-spacing: 1.7px;
	margin-top: 5px;
	text-transform: uppercase;
	opacity: .9;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 34px;
	list-style: none;
}

.nav-links a {
	position: relative;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .5px;
	transition: color .2s ease;
}

.nav-links a:hover {
	color: #cdd7bd;
}

.nav-links a.active::after {
	content: "";
	position: absolute;
	height: 2px;
	left: 0;
	right: 0;
	bottom: -10px;
	background: var(--gold);
}

.nav-button {
	padding: 11px 22px;
	background: var(--olive);
	border-radius: 4px;
	font-size: 12px !important;
	font-weight: 600;
	letter-spacing: 1px !important;
}

.nav-button:hover {
	background: var(--olive-dark);
	color: white !important;
}

.menu-toggle {
	display: none;
	border: 0;
	background: transparent;
	color: white;
	font-size: 28px;
	cursor: pointer;
}

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

.hero {
	min-height: 465px;
	background: var(--cream);
}

.hero-grid {
	display: grid;
	grid-template-columns: 47% 53%;
	min-height: 465px;
}

.hero-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 60px 60px 60px 8%;
}

.hero h1 {
	font-family: var(--secondary-font), serif;
	font-size: clamp(42px, 3.5vw, 64px);
	font-weight: 500;
	line-height: 1.13;
	color: var(--navy);
	max-width: 620px;
}

.hero-line {
	width: 55px;
	height: 2px;
	background: var(--olive);
	margin: 22px 0;
}

.hero p {
	max-width: 600px;
	font-size: 17px;
	line-height: 1.7;
	color: #344155;
}

.hero-button {
	margin-top: 28px;
	width: fit-content;
	padding: 15px 25px;
	background: var(--olive);
	color: white;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 3px;
	transition: all .2s ease;
}

.hero-button:hover {
	background: var(--olive-dark);
	transform: translateY(-2px);
}

.hero-image {
	min-height: 465px;
	background:
		linear-gradient(
			90deg,
			rgba(248,246,241,.05),
			rgba(248,246,241,0)
		),
		url("images/tina-gates.jpg") center center / cover no-repeat;
}

/* =========================
	 SECTION HEADINGS
========================= */

.section-label {
	text-align: center;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #1d1d1d;
}

/* =========================
	 EXPERTISE
========================= */

.expertise {
	padding: 18px 0 25px;
	background: var(--cream);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.expertise-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 18px;
}

.expertise-card {
	text-align: center;
	padding: 15px 25px;
	border-right: 1px solid var(--border);
}

.expertise-card:last-child {
	border-right: none;
}

.icon {
	width: 42px;
	height: 42px;
	margin: 0 auto 10px;
	border: 2px solid var(--olive);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--olive);
	font-size: 18px;
}

.expertise-card h3 {
	font-family: var(--secondary-font), serif;
	font-size: 17px;
	margin-bottom: 6px;
}

.expertise-card p {
	font-size: 13px;
	line-height: 1.6;
	color: var(--muted);
}

/* =========================
	 IMPACT
========================= */

.impact {
	background: var(--white);
}

.impact-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
}

.metrics {
	padding: 35px 5%;
}

.metrics .section-label {
	margin-bottom: 25px;
}

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

.metric {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 0 16px;
	border-right: 1px solid var(--border);
}

.metric:last-child {
	border-right: none;
}

.metric-icon {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	border-radius: 50%;
	background: var(--cream);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--olive);
}

.metric-number {
	font-family: var(--secondary-font), serif;
	color: var(--navy);
	font-size: 32px;
	line-height: 1;
}

.metric-label {
	margin-top: 5px;
	font-size: 11px;
	line-height: 1.5;
	color: var(--muted);
}

.testimonial {
	background: var(--navy);
	color: white;
	padding: 45px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.quote-mark {
	font-family: Georgia, serif;
	font-size: 55px;
	line-height: .6;
	color: var(--olive);
	margin-bottom: 20px;
}

.testimonial blockquote {
	font-family: var(--secondary-font), serif;
	font-size: 19px;
	line-height: 1.6;
}

.testimonial cite {
	margin-top: 15px;
	font-style: normal;
	color: #bdc99f;
	font-size: 12px;
}

/* =========================
	 PROJECTS
========================= */

.projects {
	padding: 32px 0 60px;
	background: var(--cream);
	border-top: 1px solid var(--border);
}

.projects-heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 22px;
}

.projects-heading .section-label {
	text-align: left;
}

.view-all {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.project {
	height: 180px;
	position: relative;
	overflow: hidden;
	background: var(--navy);
	border-radius: 2px;
}

.project-image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: .7;
	transition: transform .4s ease;
}

.project:hover .project-image {
	transform: scale(1.05);
}

.project::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(5,18,30,.9),
		rgba(5,18,30,.15)
	);
}

.project-title {
	position: absolute;
	z-index: 2;
	bottom: 20px;
	left: 20px;
	right: 20px;
	color: white;
	font-family: var(--secondary-font), serif;
	font-size: 20px;
	line-height: 1.2;
}

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

footer {
	padding: 45px 0;
	background: var(--navy-dark);
	color: white;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-name {
	font-family: var(--secondary-font), serif;
	font-size: 24px;
}

.footer-copy {
	margin-top: 5px;
	color: #aeb7c2;
	font-size: 12px;
}

.footer-links {
	display: flex;
	gap: 25px;
	font-size: 1em;
}

.footer-links i {
	display: flex;
	gap: 25px;
	font-size: 1.25em;
}

/* =========================
	 ANIMATION
========================= */

.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

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

@media (max-width: 1050px) {

	.nav-links {
		gap: 18px;
	}

	.hero-content {
		padding-left: 5%;
	}

	.expertise-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.expertise-card:nth-child(3) {
		border-right: none;
	}

	.expertise-card {
		border-bottom: 1px solid var(--border);
	}

	.metric-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 25px;
	}

	.metric:nth-child(3) {
		border-right: none;
	}

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

@media (max-width: 760px) {

	.navbar {
		height: 70px;
	}

	.nav-links {
		position: absolute;
		top: 70px;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--navy-dark);
		padding: 15px 5%;
	}

	.nav-links.open {
		display: flex;
	}

	.nav-links li {
		padding: 13px 0;
	}

	.nav-links a.active::after {
		display: none;
	}

	.nav-button {
		display: inline-block;
		width: fit-content;
	}

	.menu-toggle {
		display: block;
	}

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

	.hero-content {
		padding: 65px 7%;
	}

	.hero-image {
		min-height: 400px;
		order: -1;
	}

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

	.expertise-card:nth-child(3) {
		border-right: 1px solid var(--border);
	}

	.expertise-card:nth-child(even) {
		border-right: none;
	}

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

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

	.metric {
		border-right: none;
	}

	.testimonial {
		padding: 40px 7%;
	}

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

	.footer-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 25px;
	}
}

@media (max-width: 500px) {

	.brand-name {
		font-size: 22px;
	}

	.brand-title {
		font-size: 9px;
	}

	.hero h1 {
		font-size: 40px;
	}

	.expertise-grid,
	.metric-grid {
		grid-template-columns: 1fr;
	}

	.expertise-card,
	.expertise-card:nth-child(3) {
		border-right: none;
	}

	.metric {
		padding: 15px 0;
		border-bottom: 1px solid var(--border);
	}

	.projects-heading {
		align-items: flex-end;
	}
}