/* ==========================================================================
   CPG Immigration – main stylesheet
   Breakpoints (as on the original site): mobile < 768px, tablet 768–991px,
   desktop ≥ 992px. Layout uses a 12-column grid with 30px gutters.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
	font-family: "Work Sans";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/work-sans-variable.woff2") format("woff2");
}
@font-face {
	font-family: "Work Sans";
	font-style: italic;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/work-sans-italic-variable.woff2") format("woff2");
}
@font-face {
	font-family: "Dosis";
	font-style: normal;
	font-weight: 500 600;
	font-display: swap;
	src: url("../fonts/dosis-variable.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
	--c-white: #fff;
	--c-text: #0e0e0e;
	--c-navy: #182634;
	--c-red: #75211b;
	--c-gold: #f4b54d;
	--c-grey: #f4f4f4;
	--c-night: #161828;
	--font-body: "Work Sans", Arial, sans-serif;
	--font-heading: "Dosis", "Arial Narrow", sans-serif;
	--gutter: 30px;
	--container-pad: 24px;
	--gap-after-text: 35px;
}
@media (min-width: 768px) {
	:root { --container-pad: 32px; }
}
@media (min-width: 992px) {
	:root {
		--container-pad: 15px;
		--gap-after-text: 40px;
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--c-white);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

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

h1, h2, h3, p, ul, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }

button,
input { font: inherit; color: inherit; }

:focus-visible {
	outline: 2px solid var(--c-gold);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 20px;
	clip: auto;
	background: var(--c-white);
	color: var(--c-navy);
	font-weight: 600;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: var(--container-pad);
}

.icon { flex: none; width: 20px; height: 20px; }

/* ---------- Typography ---------- */
.heading-xl,
.hero__title {
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 56px;
	line-height: 1;
	letter-spacing: -0.02em;
}
.heading-lg {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 40px;
	line-height: 1;
	letter-spacing: -0.02em;
}
.heading-md {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 38px;
	line-height: 1;
	letter-spacing: -0.02em;
}
.lead {
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: -0.04em;
}
.text {
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.02em;
}
.text-lg {
	font-size: 18px;
	line-height: 1.3;
	letter-spacing: -0.02em;
}
@media (min-width: 768px) {
	.heading-xl, .hero__title { font-size: 64px; }
	.heading-lg { font-size: 52px; }
	.heading-md { font-size: 46px; }
	.lead { font-size: 28px; }
	.text-lg { font-size: 19px; }
}
@media (min-width: 992px) {
	.heading-xl, .hero__title { font-size: 72px; }
	.heading-lg { font-size: 64px; }
	.heading-md { font-size: 54px; }
	.lead { font-size: 32px; }
	.text-lg { font-size: 21px; }
}

/* ---------- Buttons ---------- */
.btn {
	--btn-bg: var(--c-navy);
	--btn-color: var(--c-white);
	--btn-border: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	max-width: 100%;
	min-height: 50px;
	padding: 15px 26px;
	border: 0;
	border-radius: 0;
	background-color: var(--btn-bg);
	box-shadow: inset 0 0 0 2px var(--btn-border);
	color: var(--btn-color);
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	line-height: 20px;
	text-align: center;
	cursor: pointer;
	transition: color 0.2s ease-in, background-color 0.2s ease-in, box-shadow 0.2s ease-in;
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover,
.btn:focus-visible {
	--btn-bg: var(--c-gold);
	--btn-color: var(--c-white);
	--btn-border: transparent;
}
.btn--red { --btn-bg: var(--c-red); }
.btn--navy { --btn-bg: var(--c-navy); }
.btn--white { --btn-bg: var(--c-white); --btn-color: var(--c-text); }
.btn--white-navy { --btn-bg: var(--c-white); --btn-color: var(--c-navy); }
.btn--outline-light { --btn-bg: transparent; --btn-border: var(--c-white); }
.btn--outline-dark { --btn-bg: rgba(255, 255, 255, 0); --btn-color: var(--c-text); --btn-border: var(--c-navy); }
.btn--lg {
	min-height: 58px;
	padding: 18px 30px;
	font-size: 16.5px;
	line-height: 22px;
}

.btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.btn-group--center { justify-content: center; }

/* ---------- Section scaffolding ---------- */
.section-mark {
	display: block;
	width: 58px;
	margin-bottom: 30px;
}
.section-mark img { width: 100%; height: auto; }

.section-header { text-align: center; }
.section-header .section-mark { margin-inline: auto; }

/* Image + text two-column layout (intro, strategy session). */
.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	row-gap: 50px;
}
.split__img { width: 100%; height: 100%; object-fit: cover; }
.split__body .heading-lg { margin-bottom: 25px; }
.split__body .lead,
.split__body .text { margin-bottom: 25px; }
.split__body .text:last-of-type,
.split__body .text-lg { margin-bottom: var(--gap-after-text); }
.split__body .section-mark { margin-inline: auto; }

@media (min-width: 768px) {
	.split {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: var(--gutter);
		align-items: center;
	}
	.split__media { grid-column: span 5; align-self: start; }
	.split__body { grid-column: span 7; }
	.split__body .section-mark { margin-inline: 0; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: relative; z-index: 50; background: var(--c-white); }

/* Contact bar (desktop only) */
.topbar { display: none; background: var(--c-navy); color: var(--c-white); }
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
	min-height: 60px;
}

.contact-list { display: flex; align-items: center; gap: 20px; }
.contact-list li { line-height: 20px; }
.contact-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 500;
	line-height: 20px;
}
.contact-link .icon--mail { width: 24px; height: 16px; margin-right: -2px; }

/* Logo + navigation row */
.masthead { background: var(--c-white); }
.masthead__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0;
	/*padding-block: 20px;*/
}
.site-branding { flex: 0 1 auto; width: calc(100% - 40px); max-width: 190px; }
.site-branding .custom-logo-link { display: block; }
.site-branding .custom-logo { width: 100%; height: auto; }

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 40px;
	height: 40px;
	padding: 12px 8px;
	border: 0;
	background: none;
	color: var(--c-text);
	cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 16px; }
.menu-toggle .icon--close { width: 20px; height: 20px; color: #6b6b6b; }
.menu-toggle__close { display: none; }
.is-menu-open .menu-toggle__open { display: none; }
.is-menu-open .menu-toggle__close { display: inline-flex; }

/* Mobile/tablet: full-screen panel */
.site-nav {
	position: fixed;
	inset: 0;
	z-index: 40;
	display: none;
	overflow-y: auto;
	padding: var(--masthead-h, 149px) var(--container-pad) 40px;
	background: var(--c-white);
	text-align: center;
}
.is-menu-open .site-nav { display: block; }
.is-menu-open { overflow: hidden; }
.is-menu-open .masthead {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 45;
}
.admin-bar.is-menu-open .masthead { top: var(--wp-admin--admin-bar--height, 0px); }

/* Logo and close button stay above the open panel. */
.site-branding,
.menu-toggle { position: relative; z-index: 41; }
.site-nav__menu li { line-height: 19px; }
.site-nav__menu > li { position: relative; }
.site-nav__menu > li + li { margin-top: 25px; }
.site-nav__menu a { display: inline-block; font-size: 16px; line-height: 19px; color: var(--c-text); }
.site-nav .menu-item-has-children > a + .submenu-toggle { margin-left: 2px; }

.submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--c-text);
	vertical-align: middle;
	cursor: pointer;
}
.submenu-toggle .icon { width: 10px; height: 6px; transition: transform 0.2s ease-in; }
.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.sub-menu { display: none; padding-top: 15px; }
.sub-menu.is-open { display: block; }
.sub-menu li + li { margin-top: 12px; }

.site-nav__contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 35px;
	margin-top: 30px;
	line-height: 20px;
}
.contact-list--stacked { flex-direction: column; gap: 20px; color: var(--c-text); }

/* Booking bar under the header (mobile only) */
.booking-bar {
	display: flex;
	justify-content: center;
	padding: 15px var(--container-pad);
	background: var(--c-navy);
}

@media (min-width: 768px) {
	.booking-bar { display: none; }
	.site-branding { width: 210px; max-width: none; }
	.masthead { --masthead-h: 160px; }
}

@media (min-width: 992px) {
	.topbar { display: block; }
	.menu-toggle { display: none; }
	.site-branding { width: 160px; }

	.site-nav {
		position: static;
		display: block;
		overflow: visible;
		padding: 0;
		background: none;
		text-align: left;
	}
	.site-nav__contact { display: none; }

	.site-nav__menu { display: flex; align-items: center; gap: 25px; }
	.site-nav__menu > li { display: flex; align-items: center; }
	.site-nav__menu > li + li { margin-top: 0; }
	.site-nav__menu > li > a { padding-block: 8px; }
	.site-nav .menu-item-has-children > a + .submenu-toggle { width: 10px; height: 19px; margin-left: 4px; }
	.site-nav .submenu-toggle .icon { width: 8px; height: 5px; }

	/* Desktop dropdown */
	.site-nav .sub-menu {
		position: absolute;
		top: calc(100% + 5px);
		left: -4px;
		z-index: 60;
		display: none;
		min-width: 100%;
		padding: 21px 38px 21px 39px;
		border-radius: 4px;
		background: var(--c-white);
		box-shadow: 0 4px 24px rgba(14, 14, 14, 0.12);
		white-space: nowrap;
	}
	/* Hover bridge so the pointer can travel from the link to the panel. */
	.site-nav .sub-menu::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 100%;
		height: 14px;
	}
	.site-nav .sub-menu li + li { margin-top: 5px; }
	.site-nav .sub-menu a { line-height: 19px; }
	.site-nav .menu-item-has-children:hover > .sub-menu,
	.site-nav .menu-item-has-children:focus-within > .sub-menu,
	.site-nav .sub-menu.is-open { display: block; }
	.site-nav .submenu-toggle[aria-expanded="true"] .icon { transform: none; }
}
@media (min-width: 992px) and (max-width: 1439px) {
	/* Keep the wide dropdown inside narrower viewports. */
	.site-nav .sub-menu { left: auto; right: -4px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	padding-block: 130px 101px;
	color: var(--c-white);
	isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(14, 14, 14, 0.56);
}
.hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50.21% 80.5%;
	filter: contrast(1.6);
}
.hero__eyebrow {
	margin-bottom: 24px;
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: -0.04em;
}
.hero__title { margin-bottom: 35px; }

@media (min-width: 768px) {
	.hero { padding-block: 197px 143px; }
	.hero__eyebrow { margin-bottom: 25px; font-size: 28px; }
	/* Text spans 8 of 12 columns. */
	.hero__eyebrow,
	.hero__title { max-width: calc((100% + var(--gutter)) * 8 / 12 - var(--gutter)); }
}
@media (min-width: 992px) {
	.hero { padding-block: 265px 185px; }
	.hero__eyebrow { font-size: 32px; }
	.hero__title { margin-bottom: 40px; }
}

/* ==========================================================================
   Introduction
   ========================================================================== */
.section--grey { background: var(--c-grey); }
.intro { padding-block: 70px 40px; }
.intro .split__media img { aspect-ratio: 470 / 507; }
.intro .section-mark { width: 61px; }

/* ==========================================================================
   Services
   ========================================================================== */
.services {
	padding-block: 40px 50px;
	background-color: var(--c-grey);
	background-image: var(--services-bg, none);
	background-position: 50% 50%;
	background-size: cover;
}
.services .section-mark { width: 57px; }
.services .section-header { margin-bottom: 45px; }

.services__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 50px var(--gutter);
}

.service-card {
	position: relative;
	display: flex;
	flex: 0 0 100%;
	overflow: hidden;
	color: var(--c-white);
	isolation: isolate;
}
.service-card__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.service-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(14, 14, 14, 0.56);
}
.service-card__body { width: 100%; padding: 31px 27px; }
.service-card__title {
	margin-bottom: 35px;
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.02em;
	overflow-wrap: break-word;
}
.service-card__btn .icon { margin-right: -4px; }

.services__more { display: flex; justify-content: center; margin-top: 0; }
@media (max-width: 767px) {
	.service-card:nth-child(4) { margin-top: 50px; }
}

@media (min-width: 768px) {
	.services { padding-bottom: 61px; }
	.services__grid { row-gap: 50px; }
	.service-card { flex-basis: calc((100% + var(--gutter)) * 4 / 12 - var(--gutter)); }
	.service-card__body { padding: 147px 28px 34px; }
	.service-card__title { font-size: 37px; }
	.services__more { margin-top: 19px; }
}
@media (min-width: 992px) {
	.services { padding-bottom: 65px; }
	.services .section-header { margin-bottom: 50px; }
	.services__grid { row-gap: 55px; }
	.service-card__body { padding: 153px 30px 40px; }
	.service-card__title { margin-bottom: 40px; font-size: 45px; }
	.services__more { margin-top: 45px; }
}

/* ==========================================================================
   Where to Start
   ========================================================================== */
.wts { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--c-navy); color: var(--c-white); }
.wts__media { position: relative; aspect-ratio: 390 / 234; }
.wts__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 100% 100%;
}
.wts__body { padding: 90px 30px; }
.wts .section-mark { margin-inline: auto; }
.wts .heading-xl,
.cta .heading-xl { margin-bottom: 35px; }
.wts .text-lg { margin-bottom: var(--gap-after-text); }

@media (min-width: 768px) {
	.wts { grid-template-columns: 1fr 1fr; }
	.wts__media { aspect-ratio: auto; }
	.wts__body { padding: 95px 30px; }
	.wts .section-mark { margin-inline: 0; }
}
@media (min-width: 992px) {
	.wts__body { padding: 100px 75px; }
	.wts .heading-xl,
	.cta .heading-xl { margin-bottom: 40px; }
}

/* ==========================================================================
   Awards
   ========================================================================== */
.awards { padding-block: 70px 36px; }
.awards__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 50px var(--gutter);
}
.awards__item a { display: block; }
.awards__img {
	width: 100%;
	aspect-ratio: 270 / 256;
	object-fit: contain;
}
@media (min-width: 768px) {
	.awards { padding-bottom: 35px; }
	.awards__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews { padding-block: 35px; text-align: center; }
.reviews .container { display: flex; flex-direction: column; } /* no margin collapse through an empty widget */
.reviews .heading-md { margin-bottom: 45px; }
.reviews__widget { text-align: left; }
.reviews .btn-group { margin-top: 50px; }
@media (min-width: 992px) {
	.reviews .heading-md { margin-bottom: 50px; }
	.reviews .btn-group { margin-top: 55px; }
}

/* ==========================================================================
   Strategy Session
   ========================================================================== */
.strategy { padding-block: 35px 70px; }
.strategy .split__media img { aspect-ratio: 470 / 362; }
.strategy .section-mark { width: 56px; }

/* ==========================================================================
   Closing call to action
   ========================================================================== */
.cta {
	position: relative;
	overflow: hidden;
	padding-block: 70px;
	color: var(--c-white);
	text-align: center;
	isolation: isolate;
}
.cta__media { position: absolute; inset: 0; z-index: -1; }
.cta__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, var(--c-night) 0%, rgba(14, 14, 14, 0.25) 100%);
}
.cta__img { width: 100%; height: 100%; object-fit: cover; }
.cta .section-mark { margin-inline: auto; }
.cta .lead { margin-bottom: var(--gap-after-text); }
.cta .btn-group { flex-direction: column; align-items: center; }
@media (min-width: 768px) {
	.cta .btn-group { flex-direction: row; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background: linear-gradient(0deg, var(--c-text) 0%, var(--c-night) 100%);
	color: var(--c-white);
}
.site-footer__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	padding-block: 30px 31px;
}
.site-footer__grid::after {
	content: "";
	position: absolute;
	left: var(--container-pad);
	right: var(--container-pad);
	bottom: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.2);
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 30px;
}
.site-footer__brand .custom-logo-link { display: block; width: 100%; }
.site-footer__logo-img { width: 100%; }
.site-footer__badge { width: 305px; max-width: 100%; }

.site-footer__about {
	align-self: center;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.02em;
}

.footer-box {
	display: flex;
	flex-direction: column;
	padding: 10px;
	background: rgba(255, 255, 255, 0.1);
	text-align: center;
}
.footer-box__title {
	position: relative;
	margin-bottom: 15px;
	padding-bottom: 15px;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.02em;
}
.footer-box__title::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--c-white);
}

.footer-menu li { line-height: 19px; }
.footer-menu li + li { margin-top: 10px; }
.footer-menu a { display: inline-block; font-size: 16px; line-height: 19px; }

.footer-contact { font-size: 14px; line-height: 19.6px; }
.footer-contact li {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.footer-contact li + li { margin-top: 20px; }
.footer-contact a { font-style: italic; }
.footer-contact .icon { width: 20px; height: 20px; }
.footer-contact .icon--mail { width: 20px; height: 13px; }

.footer-social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	margin-top: 22px;
	font-size: 14px;
	line-height: 19.6px;
}
.footer-social__list { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social__list a { display: block; color: var(--c-white); transition: opacity 0.2s ease-in; }
.footer-social__list a:hover { opacity: 0.8; }
.footer-social__list .icon { width: 30px; height: 30px; }

.mailing-form { display: flex; flex-direction: column; gap: 24px; margin-top: 12px; }
.mailing-form__input {
	width: 100%;
	height: 50px;
	padding: 15px 26px;
	border: 0;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.24);
	color: var(--c-white);
	font-size: 15px;
	line-height: 20px;
}
.mailing-form__input::placeholder { color: rgba(255, 255, 255, 0.6); opacity: 1; }
.mailing-form__submit { width: 100%; }
.mailing-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mailing-form__notice { margin-top: -12px; font-size: 14px; line-height: 1.4; }
.mailing-form__notice--error { color: #ffb4ad; }

.site-footer__bottom { background: var(--c-text); }

/* Footer "Links": items with a sub-list (Areas We Serve) */
.footer-menu .menu-item-has-children { position: relative; }
.footer-menu .submenu-toggle { width: 22px; height: 19px; margin-left: 2px; color: var(--c-white); }
.footer-menu .submenu-toggle .icon { width: 8px; height: 5px; }
.footer-menu .sub-menu { display: none; padding-top: 10px; }
.footer-menu .sub-menu.is-open { display: block; }
.footer-menu .sub-menu li + li { margin-top: 8px; }
.footer-menu .sub-menu a { font-size: 14px; opacity: 0.85; }
.footer-menu a:hover,
.footer-menu a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* Desktop with a mouse: the city list opens above the item on hover/focus */
@media (min-width: 992px) and (hover: hover) {
	.footer-menu .sub-menu {
		position: absolute;
		left: 50%;
		bottom: calc(100% + 10px);
		z-index: 20;
		display: block;
		min-width: 190px;
		padding: 14px 20px;
		border-top: 3px solid var(--c-red);
		background: var(--c-navy);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
		text-align: center;
		white-space: nowrap;
		opacity: 0;
		visibility: hidden;
		transform: translate(-50%, 6px);
		transition: opacity 0.15s ease-in, transform 0.15s ease-in, visibility 0.15s;
	}
	.footer-menu .sub-menu::after {
		content: "";
		position: absolute;
		top: 100%;
		left: 50%;
		width: 0;
		height: 0;
		margin-left: -7px;
		border: 7px solid transparent;
		border-top-color: var(--c-navy);
	}
	/* hover bridge between item and panel */
	.footer-menu .sub-menu::before {
		content: "";
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		height: 14px;
	}
	.footer-menu .sub-menu a { opacity: 1; }
	.footer-menu .menu-item-has-children:hover > .sub-menu,
	.footer-menu .menu-item-has-children:focus-within > .sub-menu,
	.footer-menu .sub-menu.is-open {
		opacity: 1;
		visibility: visible;
		transform: translate(-50%, 0);
	}
}
.site-footer__bottom-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding-block: 15px 16px;
	font-size: 12px;
	font-weight: 500;
	line-height: 16.8px;
}
.site-footer__privacy { font-style: italic; }

@media (min-width: 768px) {
	.site-footer__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		align-items: stretch;
	}
	.site-footer__brand { gap: 30px; }
	.site-footer__about { align-self: center; }
	.footer-box__title { font-size: 19px; }
	.footer-box--links { justify-content: center; }
	.footer-contact { text-align: left; }
	.footer-contact li { justify-content: flex-start; align-items: flex-start; }
	.footer-contact a,
	.footer-contact address { min-width: 0; overflow-wrap: anywhere; }
	.footer-social { justify-content: flex-start; flex-wrap: wrap; }
	.site-footer__bottom-inner { flex-direction: row; justify-content: flex-end; padding-block: 22px 23px; }
}
@media (min-width: 992px) {
	.footer-box__title { font-size: 21px; }
	.footer-menu li { line-height: 18px; }
	.footer-menu a { font-size: 15px; line-height: 18px; }
	.footer-contact li { align-items: center; }
}

/* Header: 8 menu items (incl. Where to Start, IRB Representation) fit on one line on small laptops. */
@media (min-width: 992px) and (max-width: 1099px) {
	.site-nav__menu { gap: 12px; }
	.site-nav__menu > li > a { font-size: 14px; }
}
@media (min-width: 1100px) and (max-width: 1199px) {
	.site-nav__menu { gap: 16px; }
	.site-nav__menu > li > a { font-size: 15px; }
}

/* Footer developer credit */
.site-footer__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__credit a:hover { color: var(--c-gold); }

/* Reviews: line under the heading ("200+ client reviews") */
.reviews .heading-md:has(+ .reviews__count) { margin-bottom: 12px; }
.reviews__count { margin-bottom: 40px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; color: var(--c-red); }
@media (min-width: 992px) { .reviews__count { margin-bottom: 45px; font-size: 20px; } }
