@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:wght@600;700&display=swap");

:root {
	--blue: #075189;
	--deep-blue: #00477d;
	--text: #61666c;
	--line: #c5d4df;
	--pale-blue: #f2f7fd;
	--serif: "Playfair Display", Georgia, serif;
	--sans: "Montserrat", Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
}

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

h1,
h2,
p {
	margin-top: 0;
}

h2 {
	margin-bottom: 20px;
	color: var(--blue);
	font-family: var(--serif);
	font-size: clamp(28px, 2.15vw, 42px);
	line-height: 1.2;
	letter-spacing: .02em;
}

.skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 8px 12px;
	background: white;
	color: var(--deep-blue);
	transform: translateY(-150%);
}

.skip-link:focus {
	transform: none;
}

.content-wrap {
	width: min(100% - 40px, 960px);
	margin-inline: auto;
}

.content-wrap--wide {
	width: min(100% - 40px, 1140px);
}

.section {
	padding: 66px 0;
	text-align: center;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	height: 90px;
	background: #fff;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	margin-inline: auto;
	padding-inline: 15px;
}

.site-logo {
	flex: 0 1 420px;
	max-width: 420px;
}

.site-logo img {
	width: 100%;
	height: auto;
}

.site-nav {
	display: flex;
	align-items: stretch;
	gap: 0;
	height: 100%;
	margin-left: 28px;
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
}

.site-nav > a,
.nav-dropdown > summary {
	display: flex;
	align-items: center;
	padding: 0 20px;
	color: #52565a;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.site-nav > a:hover,
.site-nav > a:focus-visible,
.nav-dropdown > summary:hover,
.nav-dropdown > summary:focus-visible {
	color: var(--blue);
}

.nav-dropdown {
	position: relative;
	display: flex;
}

.nav-dropdown > summary {
	list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker {
	display: none;
}

.nav-dropdown > summary::after {
	content: "";
	width: 0;
	height: 0;
	margin-left: 7px;
	border: 4px solid transparent;
	border-top-color: currentColor;
	transform: translateY(3px);
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	width: 330px;
	padding: 8px 0;
	background: #fff;
	box-shadow: 0 10px 24px rgb(0 0 0 / 13%);
}

.dropdown-menu a {
	display: block;
	padding: 9px 18px;
	color: #555;
	text-decoration: none;
	text-transform: none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
	background: var(--pale-blue);
	color: var(--blue);
}

.site-nav .portal-link {
	align-self: center;
	height: 54px;
	margin-left: 8px;
	padding-inline: 32px;
	background: var(--deep-blue);
	color: #fff;
}

.site-nav .portal-link:hover,
.site-nav .portal-link:focus-visible {
	background: #063a63;
	color: #fff;
}

.nav-toggle,
.nav-toggle-label {
	display: none;
}

.hero {
	display: grid;
	min-height: 685px;
	place-items: center;
	background-color: #2c71ba;
	background-image: url("../images/banner1.jpg");
	background-position: center;
	background-size: cover;
	color: #fff;
}

.hero-content {
	/*width: min(100% - 40px, 1020px);*/
	margin: 0 auto;
	text-align: center;
}

.hero h1 {
	position: relative;
	margin: 0;
	padding-bottom: 32px;
	font-family: var(--serif);
	font-size: clamp(40px, 4.4vw, 74px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.025em;
}

.hero h1::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 15%;
	width: 70%;
	height: 3px;
	background: #fff;
}

.mission {
	padding-top: 62px;
	padding-bottom: 68px;
}

.mission h2 {
	font-size: clamp(27px, 2.3vw, 43px);
}

.mission p {
	max-width: 1120px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.8;
}

.services {
	padding-top: 78px;
	padding-bottom: 64px;
	background: var(--pale-blue);
}

.services h2 {
	margin-bottom: 12px;
}

.section-intro {
	max-width: 760px;
	margin: 0 auto 42px;
	font-size: 16px;
	line-height: 1.65;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	max-width: 950px;
	margin: 0 auto;
}

.service-card {
	position: relative;
	display: flex;
	min-height: 198px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 17px;
	padding: 20px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	color: #2071b4;
	font-size: 17px;
	line-height: 1.25;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.service-card:nth-child(3n) {
	border-right: 0;
}

.service-card:nth-child(n + 4) {
	border-bottom: 0;
}

.service-card img {
	width: 62px;
	height: 68px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .72;
	transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}

.service-card:hover,
.service-card:focus-visible {
	background: #e6f0fa;
	color: var(--deep-blue);
	outline: none;
}

.service-card:hover img,
.service-card:focus-visible img {
	filter: none;
	opacity: 1;
	transform: translateY(-3px);
}

.inquiries {
	display: grid;
	min-height: 330px;
	place-items: center;
	padding: 55px 0;
	background-color: #f5f7f8;
	background-image: linear-gradient(rgb(255 255 255 / 66%), rgb(255 255 255 / 66%)), url("../images/schedule.jpg");
	background-position: center;
	background-size: cover;
}

.inquiries h2 {
	margin-bottom: 16px;
}

.inquiries p {
	margin-bottom: 0;
	font-size: 16px;
}

.inquiries a {
	color: #1682c0;
}

.site-footer {
	background: var(--deep-blue);
	color: #fff;
	text-align: center;
}

.footer-main {
	padding-top: 50px;
	padding-bottom: 38px;
}

.site-footer h2 {
	margin-bottom: 25px;
	color: #fff;
	font-size: 30px;
	font-weight: 500;
}

.footer-nav {
	display: flex;
	justify-content: center;
	gap: 65px;
	margin-bottom: 26px;
}

.footer-nav a,
.footer-contact a {
	color: #fff;
	text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
	text-decoration: underline;
}

.footer-contact {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 5px;
	font-size: 16px;
}

.footer-contact b {
	padding: 0 5px;
	font-weight: 400;
}

.footer-bottom {
	border-top: 1px solid rgb(255 255 255 / 50%);
}

.footer-bottom-inner {
	display: flex;
	min-height: 55px;
	align-items: center;
	justify-content: space-between;
	font-size: 16px;
}

.footer-bottom p {
	margin: 0;
}

.linkedin {
	font-family: Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 1100px) {
	.site-logo {
		max-width: 330px;
	}

	.site-nav > a,
	.nav-dropdown > summary {
		padding-inline: 12px;
	}

	.site-nav .portal-link {
		padding-inline: 20px;
	}
}

/*@media (max-width: 860px) {*/
@media (max-width: 982px) {
	.site-header {
		height: 76px;
	}

	.site-logo {
		max-width: min(70vw, 340px);
	}

	.nav-toggle-label {
		display: grid;
		width: 44px;
		height: 44px;
		place-items: center;
		cursor: pointer;
	}

	.nav-toggle-label span,
	.nav-toggle-label span::before,
	.nav-toggle-label span::after {
		display: block;
		width: 27px;
		height: 2px;
		background: var(--deep-blue);
		content: "";
		transition: transform .2s ease;
	}

	.nav-toggle-label span {
		position: relative;
	}

	.nav-toggle-label span::before {
		position: absolute;
		transform: translateY(-8px);
	}

	.nav-toggle-label span::after {
		position: absolute;
		transform: translateY(8px);
	}

	.nav-toggle:checked + .nav-toggle-label span {
		background: transparent;
	}

	.nav-toggle:checked + .nav-toggle-label span::before {
		transform: rotate(45deg);
	}

	.nav-toggle:checked + .nav-toggle-label span::after {
		transform: rotate(-45deg);
	}

	.site-nav {
		position: absolute;
		top: 76px;
		left: 0;
		right: 0;
		display: none;
		height: auto;
		margin: 0;
		padding: 12px 20px 20px;
		background: #fff;
		box-shadow: 0 12px 18px rgb(0 0 0 / 12%);
	}

	.nav-toggle:checked ~ .site-nav {
		display: block;
	}

	.site-nav > a {
		display: block;
		padding: 12px 8px;
	}

	.nav-dropdown > summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 12px 8px;
	}

	.nav-dropdown > summary::after {
		flex: 0 0 auto;
		margin-left: 12px;
		transform: translateY(2px);
	}

	.nav-dropdown {
		display: block;
	}

	.dropdown-menu {
		position: static;
		width: auto;
		margin: 0 8px 8px;
		box-shadow: none;
		border-left: 2px solid var(--line);
	}

	.site-nav .portal-link {
		display: inline-flex;
		height: 44px;
		margin: 8px 0 0;
		padding-inline: 24px;
	}

	.hero {
		min-height: 500px;
	}

	.footer-nav {
		gap: 30px;
	}
}

@media (max-width: 600px) {
	body {
		font-size: 16px;
	}

	.section {
		padding: 48px 0;
	}

	.hero {
		min-height: 410px;
	}

	.hero h1 {
		font-size: clamp(36px, 10vw, 50px);
	}

	.hero h1 span {
		display: block;
	}

	.mission p,
	.section-intro {
		font-size: 12px;
	}

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

	.service-card {
		min-height: 165px;
		padding: 14px 8px;
		font-size: 14px;
	}

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

	.service-card:nth-child(2n) {
		border-right: 0;
	}

	.service-card:nth-child(n + 4) {
		border-bottom: 1px solid var(--line);
	}

	.service-card:nth-child(n + 5) {
		border-bottom: 0;
	}

	.inquiries {
		min-height: 270px;
	}

	.footer-nav {
		flex-wrap: wrap;
		gap: 10px 25px;
	}

	.footer-contact {
		flex-direction: column;
	}

	.footer-contact b {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}

/* Interior pages */
.page-hero {
	display: grid;
	min-height: 180px;
	place-items: center;
	padding: 35px 20px;
	background-color: #246bb2;
	background-image: linear-gradient(rgb(12 82 153 / 12%), rgb(12 82 153 / 12%)), url("../images/banner1.jpg");
	background-position: center 47%;
	background-size: cover;
	color: #fff;
	text-align: center;
}

.page-hero h1 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(36px, 3.4vw, 54px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: .01em;
}

.practice-areas-content {
	padding: 24px 0 60px;
}

.practice-areas-content h2 {
	margin: 38px 0 4px;
	scroll-margin-top: 110px;
	font-family: var(--sans);
	font-size: clamp(23px, 2vw, 31px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0;
}

.practice-areas-content h2:first-child {
	margin-top: 0;
}

.practice-areas-content p {
	margin-bottom: 12px;
	font-size: 16px;
	line-height: 1.62;
}

.practice-areas-content ul {
	margin: 0 0 10px;
	padding: 0 0 0 34px;
	list-style: none;
}

.practice-areas-content li {
	position: relative;
	margin: 4px 0;
	padding-left: 24px;
	font-size: 16px;
	line-height: 1.55;
}

.practice-areas-content li::before {
	content: "›";
	position: absolute;
	top: .21em;
	left: 0;
	display: grid;
	width: 16px;
	height: 16px;
	padding-bottom: 0px;
	place-items: center;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}

.basic-page-content {
	padding-top: 55px;
	padding-bottom: 65px;
}

/* Contact */
.contact-section {
	min-height: 555px;
	padding: 63px 0 78px;
}

.contact-card {
	width: min(100%, 640px);
	margin-inline: auto;
}

.contact-card h2 {
	margin-bottom: 20px;
	color: #35393d;
	font-family: var(--sans);
	font-size: clamp(27px, 2.2vw, 34px);
	font-weight: 600;
	letter-spacing: .01em;
}

.contact-list {
	display: block;
	font-style: normal;
}

.contact-item {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	padding: 16px 0;
	border-bottom: 1px solid #e1e8ed;
}

.contact-item:last-child {
	border-bottom: 0;
}

.contact-item__icon {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 50%;
	background: var(--pale-blue);
	color: #2071b4;
}

.contact-item__icon svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.65;
}

.contact-item__content {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	padding-top: 1px;
	line-height: 1.65;
}

.contact-item__content--inline {
	display: block;
	padding-top: 8px;
}

.contact-item__content strong {
	color: #35393d;
	font-weight: 600;
}

.contact-item__content--inline strong {
	margin-right: 4px;
}

.contact-item__content a {
	color: inherit;
	text-decoration-color: rgb(32 113 180 / 45%);
	text-underline-offset: 3px;
}

.contact-item__content a:hover,
.contact-item__content a:focus-visible {
	color: var(--blue);
	text-decoration-color: currentColor;
}

.contact-item__heading {
	margin-bottom: 1px;
	font-size: 17px;
}

.contact-item__directions {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 8px;
	color: #1682c0 !important;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}

.contact-item__directions svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.4;
}

/* Team */
.team-section {
	padding: 66px 0 88px;
}

.team-section h2 {
	margin-bottom: 32px;
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 54px 20px;
}

.team-card {
	display: flex;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: center;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
}

.team-card img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	margin-bottom: 19px;
	object-fit: cover;
	transition: filter .2s ease, transform .2s ease;
}

.team-card__title {
	color: var(--blue);
	font-size: clamp(18px, 1.65vw, 25px);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: .025em;
}

.team-card__position {
	margin-top: 3px;
	color: #222;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.team-card:hover img,
.team-card:focus-visible img {
	filter: brightness(.9);
	transform: translateY(-3px);
}

.team-card:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 5px;
}

.team-dialog {
	width: min(1080px, calc(100% - 40px));
	max-height: calc(100dvh - 40px);
	margin: auto;
	padding: 0;
	border: 0;
	background: #fff;
	color: var(--text);
	box-shadow: 0 20px 70px rgb(0 0 0 / 35%);
}

.team-dialog[open] {
	animation: team-dialog-fade-in .22s ease-out both;
}

.team-dialog[open].is-closing {
	animation: team-dialog-fade-out .22s ease-in both;
}

.team-dialog::backdrop {
	background: rgb(0 27 48 / 76%);
	backdrop-filter: blur(2px);
	animation: team-backdrop-fade-in .22s ease-out both;
}

.team-dialog.is-closing::backdrop {
	animation: team-backdrop-fade-out .22s ease-in both;
}

@keyframes team-dialog-fade-in {
	from {
		opacity: 0;
		transform: translateY(10px) scale(.985);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes team-dialog-fade-out {
	from {
		opacity: 1;
		transform: translateY(0) scale(1);
	}

	to {
		opacity: 0;
		transform: translateY(8px) scale(.985);
	}
}

@keyframes team-backdrop-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes team-backdrop-fade-out {
	from { opacity: 1; }
	to { opacity: 0; }
}

.team-dialog__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(280px, .82fr) minmax(360px, 1.18fr);
	min-height: 540px;
}

.team-dialog__image {
	background: #e8e8e6;
}

.team-dialog__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-dialog__content {
	padding: 55px 58px 48px;
	overflow-y: auto;
}

.team-dialog__content h2 {
	margin-bottom: 2px;
	padding-right: 28px;
	font-size: clamp(28px, 2.7vw, 41px);
}

.team-dialog__position {
	margin-bottom: 20px;
	color: #262626;
	font-size: 17px;
	font-weight: 600;
}

.team-dialog__contact {
	display: flex;
	margin-bottom: 25px;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.55;
}

.team-dialog__contact a {
	color: var(--blue);
	text-decoration: none;
}

.team-dialog__contact a:hover,
.team-dialog__contact a:focus-visible {
	text-decoration: underline;
}

.team-dialog__bio p {
	margin-bottom: 14px;
}

.team-dialog__close-form {
	position: absolute;
	top: 13px;
	right: 15px;
	z-index: 2;
	margin: 0;
}

.team-dialog__close {
	display: grid;
	width: 42px;
	height: 42px;
	padding: 0 0 4px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--blue);
	font-family: Arial, sans-serif;
	font-size: 35px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
}

.team-dialog__close:hover,
.team-dialog__close:focus-visible {
	background: var(--pale-blue);
	outline: none;
}

body.dialog-open {
	overflow: hidden;
}

@media (max-width: 800px) {
	.team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.team-dialog__inner {
		grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.2fr);
	}

	.team-dialog__content {
		padding: 48px 35px 38px;
	}
}

@media (max-width: 600px) {
	.page-hero {
		min-height: 145px;
	}

	.practice-areas-content {
		padding-top: 34px;
		padding-bottom: 48px;
	}

	.practice-areas-content h2 {
		margin-top: 32px;
		font-size: 23px;
	}

	.practice-areas-content p,
	.practice-areas-content li {
		font-size: 12px;
	}

	.practice-areas-content ul {
		padding-left: 4px;
	}

	.contact-section {
		min-height: 0;
		padding: 44px 0 52px;
	}

	.contact-card h2 {
		margin-bottom: 16px;
		font-size: 27px;
	}

	.contact-item {
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 14px;
		padding: 14px 0;
		font-size: 14px;
	}

	.contact-item__icon {
		width: 40px;
		height: 40px;
	}

	.contact-item__icon svg {
		width: 21px;
		height: 21px;
	}

	.contact-item__content--inline {
		padding-top: 7px;
	}

	.team-section {
		padding: 47px 0 60px;
	}

	.team-section h2 {
		margin-bottom: 24px;
	}

	.team-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.team-card__title {
		font-size: 22px;
	}

	.team-card__position {
		font-size: 15px;
	}

	.team-dialog {
		width: calc(100% - 24px);
		max-height: calc(100dvh - 24px);
	}

	.team-dialog__inner {
		display: block;
	}

	.team-dialog__image {
		height: min(58vh, 480px);
	}

	.team-dialog__content {
		padding: 32px 24px 28px;
		font-size: 13px;
	}

	.team-dialog__content h2 {
		font-size: 28px;
	}

	.team-dialog__close-form {
		top: 8px;
		right: 8px;
	}

	.team-dialog__close {
		background: rgb(255 255 255 / 90%);
	}
}
