/* #region @keyframes */
@keyframes slide-up {
	from {
		translate: 0 30px;
	}

	to {
		translate: 0;
		opacity: 1;
	}
}

/* #endregion */
/* #region :root */
:root {
	/* Colors */
	--blue: hsl(218 57% 25%);
	--blue10: hsl(218 57% 25% / .1);
	--blue20: hsl(218 57% 25% / .2);
	--blue80: hsl(218 57% 25% / .8);
	--blue90: hsl(218 57% 25% / .9);
	--bluedark: hsl(218 57% 15%);
	--bluegrey: hsl(226 28% 35%);
	--bluelight40: hsl(218 57% 50% / .4);
	--gold: hsl(43 100% 40%);
	--goldlight: hsl(43 100% 45%);
	--goldsuperlight: hsl(43 100% 65%);
	--white50: hsl(0 0% 100% / .5);
	--white70: hsl(0 0% 100% / .7);
	--white90: hsl(0 0% 100% / .9);
	/* Fonts */
	--font-sans: "Lato", sans-serif;
	--font-logo: "Cinzel", serif;
	--fz12: .75rem;
	--fz14: .875rem;
	--fz16: 1rem;
	--fz18: clamp(1rem, 3.2vw, 1.125rem);
	--fz20: clamp(1.1rem, 3.5vw, 1.25rem);
	--fz24: clamp(1.25rem, 4vw, 1.5rem);
	--fz28: clamp(1.4rem, 4.5vw, 1.75rem);
	--fz32: clamp(1.625rem, 5.2vw, 2rem);
	--fz36: clamp(1.7rem, 5.8vw, 2.25rem);
	--fz42: clamp(1.75rem, 6.3vw, 2.625rem);
	--fz48: clamp(1.875rem, 7vw, 3rem);
	--fz60: clamp(2rem, 8vw, 3.75rem);
	--fz76: clamp(2.25rem, 10vw, 4.75rem);
	/* Utilites */
	--transition: .3s;
}

/* #endregion */
/* #region Elements */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

a {
	color: var(--gold);
	text-decoration: none;
	transition: var(--transition);

	&:hover {
		color: var(--goldlight);
	}
}

body {
	background-color: var(--bluedark);
	color: var(--blue);
	font-family: var(--font-sans);
	overflow-y: scroll;
	scroll-behavior: smooth;
}

h1,
h2,
h3 {
	font-weight: 400;
	line-height: 1.1;
}

hr {
	border: 0;
	border-top: 1px solid var(--bluegrey);
	margin-block: 3rem;
}

html {
	scroll-behavior: smooth;
}

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

li {
	font-size: var(--fz18);

	+ li {
		margin-top: 1.2em;
	}
}

ul {
	margin: 1.5rem 0 0 1rem;
}

p {
	font-size: var(--fz18);
	line-height: 1.5;
	margin-bottom: 1.2rem;
}

/* #endregion */
/* #region Global */
.btn {
	background-color: transparent;
	border-radius: .1rem;
	display: inline-block;
	font-size: var(--fz14);
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 1;
	margin: 0;
	padding: 1.2rem 1.5rem 1rem;
	text-transform: uppercase;
	transition: var(--transition);

	&:hover {
		cursor: pointer;
		text-decoration: none;
	}
}

.btn-gold {
	border: 2px solid var(--goldlight);
	color: var(--goldlight);
	margin-top: 1rem;

	&:hover {
		background-color: var(--goldlight);
		border-color: var(--gold);
		color: white;
	}
}

.content {
	margin-inline: auto;
	width: min(90%, var(--content-max-width, 1200px));
}

.sub > .content {
	--content-max-width: 1000px;
}

/* #endregion */
/* #region Footer */
.footer {
	background: linear-gradient(to bottom, var(--blue80), var(--bluedark)), url("https://ripcord.sirv.com/PoblockiLaw/AdobeStock_176162883.jpeg") center/cover no-repeat;
	color: var(--white70);
	padding: 3rem 0 0;

	a {
		&:hover {
			color: var(--goldlight);
			text-decoration: underline;
		}
	}
}

.footer-address {
	text-align: left;

	@media (width < 900px) {
		text-align: center;
	}
}

.footer-address-sub {
	margin-bottom: 4rem;
	text-align: center;
}

.footer-locations {
	width: 400px;

	@media (width < 900px) {
		text-align: center;
	}

	@media (width < 500px) {
		width: 100%;
	}
}

.footer-grid {
	display: grid;
	gap: 2rem 10vw;
	grid-template-columns: auto auto;
	justify-content: center;
	margin-bottom: 2rem;

	@media (width < 900px) {
		grid-template-columns: auto;
	}

	h2 {
		font-size: var(--fz14);
		font-weight: 700;
		letter-spacing: 2px;
		margin-bottom: 1rem;
		text-transform: uppercase;
	}
}

.footer-social {
	margin-bottom: 1rem;

	a {
		&:hover {
			text-decoration: none;
		}
	}

	i {
		font-size: var(--fz32);
	}
}

/* #endregion */
/* #region Header */
.header {
	background-color: var(--blue90);
	padding-block: 1rem;
	position: fixed;
	width: 100%;
	z-index: 10;

	@media (width < 1100px) {
		background-color: var(--blue90);
		text-align: center;
	}
}

.header-grid {
	align-items: center;
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr auto;

	@media (width < 1100px) {
		grid-template-columns: auto;
	}
}

/* #endregion */
/* #region Hero */
.hero {
	background: linear-gradient(to bottom, var(--blue80), transparent), url("https://ripcord.sirv.com/PoblockiLaw/AdobeStock_293250675.jpeg?cw=2450&ch=1200") center/cover no-repeat;
	color: white;
	text-align: center;

	a {
		color: var(--goldlight);

		&:hover {
			color: var(--goldsuperlight);
		}
	}

	h1 {
		color: var(--white90);
		font-size: var(--fz60);
		font-weight: 700;
		letter-spacing: -1px;
		line-height: 1.1;
		margin-bottom: 1rem;
	}

	h2 {
		font-size: var(--fz32);
	}
}

.hero-container {
	padding-block: 20vh 50vh;

	> * {
		animation: slide-up 1s ease forwards;
		opacity: 0;
	}
}

.hero-delay1 {
	animation-delay: .5s;
}

.hero-delay2 {
	animation-delay: 1s;
}

.hero-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(6, auto);
	justify-content: center;
	margin-top: 3rem;

	@media (width < 700px) {
		gap: 1rem;
		grid-template-columns: repeat(3, auto);

		a:not(:first-of-type):before {
			content: "";
		}
	}

	@media (width < 500px) {
		gap: .5rem;
		grid-template-columns: auto auto;
	}
}

.hero-grid a {
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1;
	position: relative;
	text-transform: uppercase;
}

.hero-grid a:not(:first-of-type):before {
	color: var(--white50);
	content: "\2022";
	display: inline-block;
	left: -22px;
	position: absolute;
	top: -1px;
}

/* #endregion */
/* #region Home-Intro */
.home-intro {
	background-color: white;
}

.home-intro-grid {
	display: grid;
	grid-template-columns: 1fr 300px 550px 1fr;

	@media (width < 900px) {
		grid-template-columns: auto;
		justify-content: center;
		text-align: center;
	}
}

.home-intro-grid-img {
	img {
		max-width: 300px;
	}

	@media (width < 900px) {
		padding: 2rem 0 0;

		img {
			border: 1px solid var(--blue);
			margin: 0 auto;
			padding: .2rem;
			width: 250px;
		}
	}

	@media (width < 500px) {
		img {
			width: 200px;
		}
	}
}

.home-intro-grid-left {
	background-color: var(--blue);
}

.home-intro-grid-right {
	padding: 3rem;
	text-align: left;

	@media (width < 900px) {
		padding-top: 1rem;
		text-align: center;

		li {
			font-size: var(--fz14);
			list-style: none;
		}
	}

	h2 {
		font-size: var(--fz16);
		font-weight: 700;
		letter-spacing: 2px;
		margin-bottom: 1rem;
		text-transform: uppercase;
	}

	li {
		font-size: var(--fz16);
		font-weight: 700;
		text-transform: uppercase;
	}

	p {
		font-size: var(--fz20);
		text-wrap: balance;
	}
}

/* #endregion */
/* #region Home-Practice */
.home-practice {
	background-color: whitesmoke;
	padding-block: 5rem;

	h2 {
		font-size: var(--fz32);
		font-weight: 700;
		margin-bottom: 1.5em;
		text-align: center;
		text-transform: uppercase;
	}
}

.home-practice-grid {
	display: grid;
	font-weight: 700;
	gap: 1.5rem;
	grid-template-columns: repeat(5, 1fr);
	margin-bottom: 3rem;
	text-transform: uppercase;

	@media (width < 1100px) {
		grid-template-columns: repeat(4, 1fr);
	}

	@media (width < 900px) {
		grid-template-columns: repeat(3, 1fr);
	}

	@media (width < 700px) {
		grid-template-columns: repeat(2, 1fr);
	}

	@media (width < 500px) {
		grid-template-columns: auto;
	}

	a {
		background-color: var(--blue10);
		display: block;
		font-size: var(--fz14);
		padding: 1rem;
		text-align: center;
		transition: var(--transition);

		&:hover {
			background-color: var(--goldlight);
			color: white;
		}
	}

	i {
		display: inline-block;
		font-size: var(--fz32);
		margin-top: .5rem;
	}
}

.home-practice-summary {
	text-align: center;

	p {
		font-size: var(--fz20);
		margin-inline: auto;
		width: min(800px, 100%);
	}
}

/* #endregion */
/* #region Home-Quote */
.home-quote {
	background-color: var(--gold);
	padding: 3rem 0;
	text-align: center;

	a {
		color: white;
	}

	h2 {
		font-size: var(--fz42);
		letter-spacing: -1px;
		line-height: 1.2;
		margin-bottom: .2em;
		text-align: center;
	}

	span {
		text-decoration: underline;
	}
}

/* #endregion */
/* #region Logo */
.logo a {
	color: white;
	font-family: var(--font-logo);
	font-size: var(--fz42);
	font-weight: 400;
	letter-spacing: -1px;
	line-height: 1.1;
}

/* #endregion */
/* #region Nav */
.home .nav a:hover {
	color: var(--goldlight);
}

.nav {
	position: relative;
	z-index: 1;

	@media (width < 1100px) {
		text-align: center;

		&.nav-open {
			max-height: 25rem;
		}
	}
}

.nav-grid {
	display: grid;
	gap: 1.5rem;
	grid-auto-flow: column;

	@media (width < 1100px) {
		grid-auto-flow: row;
		max-height: 0;
		overflow: clip;
		transition: var(--transition);
	}

	a {
		color: white;
		display: block;
		font-weight: 700;
		text-transform: uppercase;
		white-space: nowrap;

		&:hover {
			color: var(--goldlight);
		}
	}
}

.nav-toggle {
	color: white;
	cursor: pointer;
	display: none;
	font-size: var(--fz24);

	@media (width < 1100px) {
		display: block;
		font-size: var(--fz20);
		transition: var(--transition);
	}
}

/* #endregion */
/* #region Sub */
.sub {
	background: linear-gradient(to bottom, var(--bluelight40), white 200px), url("https://ripcord.sirv.com/PoblockiLaw/AdobeStock_293250675.jpeg") top/auto no-repeat;
	padding: 12rem 0 6rem;

	@media (width < 1100px) {
		padding-top: 8rem;
	}

	a {
		&:hover {
			text-decoration: underline;
		}
	}

	h1 {
		border-bottom: 3px solid var(--blue20);
		display: inline-block;
		font-size: var(--fz42);
		font-weight: 700;
		padding-bottom: .7em;
	}

	h2 {
		font-size: var(--fz20);
		font-weight: 700;
		margin-block: 2.5rem .3em;
		text-transform: uppercase;
	}

	li {
		font-size: var(--fz18);
		line-height: 1.3;
		padding-left: .5em;

		+ li {
			margin: .5rem 0 0;
		}
	}

	ul {
		margin: 0 0 2em 1.3em;
	}
}

/* #endregion */
/* #region Sub-Contact */
.sub-contact-grid {
	display: grid;
	row-gap: 2rem;
	grid-template-columns: auto auto;

	img {
		width: 400px;
	}

	@media (width < 900px) {
		grid-template-columns: auto;
	}
}

.sub-contact-map {
	border: 1px solid var(--blue20);
}

/* #endregion */
/* #region Sub-Testimonials */
.sub-testimonials-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: auto;
	margin-top: 3rem;

	@media (width < 900px) {
		grid-template-columns: auto;
	}
}

.sub-testimonials-grid-item {
	background: white;
	border: 1px solid var(--blue20);
	border-radius: .5rem;
	padding: 2rem 2rem 1rem;

	p {
		&:first-of-type {
			position: relative;

			&::after {
				content: close-quote;
			}

			&::before {
				content: open-quote;
				font-family: serif;
				font-size: var(--fz32);
				left: -.5em;
				position: absolute;
				top: -.4rem;
			}

			&::first-line {
				font-size: var(--fz24);
				font-weight: 700;
			}
		}

		&:last-of-type {
			font-size: var(--fz12);
			font-weight: 700;
			text-transform: uppercase;
		}
	}
}

/* #endregion */
/* #region Utility */
.u-anchoroffset {
	margin-top: -180px !important;
	padding-top: 200px !important;
}

.u-boldlist li {
	font-weight: 700;
}

.u-nobullets {
	list-style: none;
	margin-left: 0 !important;

	li {
		padding-left: 0;
	}
}

.u-sidepic {
	background: whitesmoke;
	border: 1px solid var(--blue);
	float: right;
	width: 230px;
	margin: 0 0 2rem 4rem;
	padding: .4rem;

	@media (width < 700px) {
		float: none;
		margin: 2rem 0 0;
	}
}

/* #endregion */