/*
Theme Name: Pier CPA Harbour
Theme URI: https://www.piercpagroup.com/
Author: Pier CPA Group Inc.
Author URI: https://www.piercpagroup.com/
Description: A modern, accessible WordPress theme created for Pier CPA Group Inc. with Campbell River-inspired styling, CRA resource links, contact and résumé forms, and responsive navigation.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pier-cpa-harbour
Tags: custom-logo, custom-menu, featured-images, responsive-layout, accessibility-ready
*/

:root {
	--navy: #0b2e3d;
	--navy-deep: #071f2a;
	--teal: #137b7c;
	--teal-dark: #0d6062;
	--sea-glass: #dcebea;
	--ivory: #f7f2e8;
	--driftwood: #d9ccb9;
	--sand: #b69c79;
	--ink: #17313b;
	--muted: #5e6d72;
	--white: #ffffff;
	--line: rgba(11, 46, 61, 0.16);
	--shadow: 0 24px 70px rgba(7, 31, 42, 0.12);
	--radius-sm: 10px;
	--radius: 20px;
	--radius-lg: 34px;
	--shell: min(1180px, calc(100% - 40px));
	--serif: Georgia, "Times New Roman", serif;
	--sans: Inter, "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 112px;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.nav-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

a:hover {
	color: var(--teal);
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid #ffcc55;
	outline-offset: 4px;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.55em;
	color: var(--navy);
	font-family: var(--serif);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.06;
}

h1 {
	font-size: clamp(3rem, 6vw, 6rem);
}

h2 {
	font-size: clamp(2.25rem, 4vw, 4rem);
}

h3 {
	font-size: clamp(1.35rem, 2vw, 1.75rem);
}

p {
	margin: 0 0 1.2em;
}

.shell {
	width: var(--shell);
	margin-inline: auto;
}

.section {
	padding: clamp(78px, 9vw, 132px) 0;
}

.section--ivory {
	background: var(--ivory);
}

.section--navy {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.82);
}

.section--navy h2,
.section--navy h3 {
	color: var(--white);
}

.eyebrow {
	margin: 0 0 18px;
	color: var(--teal);
	font-size: 0.77rem;
	font-weight: 800;
	letter-spacing: 0.19em;
	line-height: 1.3;
	text-transform: uppercase;
}

.section--navy .eyebrow,
.page-hero .eyebrow {
	color: #80cfca;
}

.prose {
	color: var(--muted);
}

.prose > *:first-child {
	margin-top: 0;
}

.prose > *:last-child {
	margin-bottom: 0;
}

.prose ul {
	display: grid;
	gap: 10px;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.prose li {
	position: relative;
	padding-left: 26px;
}

.prose li::before {
	position: absolute;
	top: 0.72em;
	left: 0;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--teal);
	content: "";
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	white-space: nowrap;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	border-radius: 8px;
	background: var(--white);
	color: var(--navy);
	font-weight: 700;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 13px 24px;
	border: 1px solid var(--teal);
	border-radius: 999px;
	background: var(--teal);
	color: var(--white);
	font-size: 0.88rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
	transform: translateY(-2px);
	border-color: var(--teal-dark);
	background: var(--teal-dark);
	color: var(--white);
}

.button--small {
	min-height: 42px;
	padding: 10px 17px;
	font-size: 0.77rem;
}

.button--ghost {
	border-color: rgba(255, 255, 255, 0.46);
	background: transparent;
}

.button--ghost:hover {
	border-color: var(--white);
	background: rgba(255, 255, 255, 0.1);
}

.button--dark {
	border-color: var(--navy);
	background: var(--navy);
}

.button--dark:hover {
	border-color: var(--navy-deep);
	background: var(--navy-deep);
}

.button--light {
	border-color: var(--white);
	background: var(--white);
	color: var(--navy);
}

.button--light:hover {
	border-color: var(--ivory);
	background: var(--ivory);
	color: var(--navy);
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.text-link {
	color: var(--teal);
	font-size: 0.93rem;
	font-weight: 800;
	text-decoration: none;
}

.text-link span {
	display: inline-block;
	margin-left: 4px;
	transition: transform 180ms ease;
}

.text-link:hover span {
	transform: translateX(4px);
}

/* Header */
.site-header {
	position: sticky;
	z-index: 1000;
	top: 0;
	border-bottom: 1px solid rgba(11, 46, 61, 0.08);
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 5px 24px rgba(7, 31, 42, 0.04);
	backdrop-filter: blur(16px);
}

.site-header__utility {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.73rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.utility-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 34px;
	gap: 20px;
}

.utility-contact {
	display: flex;
	gap: 22px;
}

.utility-contact a {
	text-decoration: none;
}

.utility-contact a:hover {
	color: var(--white);
}

.site-header__main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 82px;
	gap: 34px;
}

.brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 14px;
	color: var(--navy);
	text-decoration: none;
}

.brand:hover {
	color: var(--navy);
}

.brand .custom-logo-link {
	display: block;
}

.brand .custom-logo {
	width: auto;
	max-width: 300px;
	max-height: 58px;
}

.brand__mark {
	position: relative;
	display: inline-flex;
	align-items: flex-end;
	justify-content: center;
	width: 48px;
	height: 42px;
	border-top: 4px solid var(--teal);
}

.brand__mark::before {
	position: absolute;
	top: -8px;
	left: 2px;
	width: 44px;
	height: 4px;
	border-radius: 999px;
	background: var(--navy);
	content: "";
}

.brand__mark span {
	width: 4px;
	height: 34px;
	margin: 0 5px;
	background: var(--navy);
	transform: skew(-5deg);
}

.brand__mark span:nth-child(2) {
	height: 27px;
}

.brand__text {
	display: grid;
	gap: 2px;
}

.brand__text strong {
	font-family: var(--serif);
	font-size: clamp(1rem, 1.5vw, 1.28rem);
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1;
}

.brand__text small {
	color: var(--muted);
	font-size: 0.57rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 24px;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(14px, 1.7vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	position: relative;
	display: block;
	padding: 12px 0;
	color: var(--ink);
	font-size: 0.82rem;
	font-weight: 750;
	text-decoration: none;
}

.site-nav__list a::after {
	position: absolute;
	right: 0;
	bottom: 5px;
	left: 0;
	height: 2px;
	background: var(--teal);
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 180ms ease;
}

.site-nav__list a:hover::after,
.site-nav__list .current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 10px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.nav-toggle > span:not(.screen-reader-text) {
	display: block;
	width: 25px;
	height: 2px;
	margin: 5px auto;
	background: var(--navy);
	transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] > span:nth-of-type(2) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:nth-of-type(3) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] > span:nth-of-type(4) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Home */
.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(58px, 8vw, 112px) 0 0;
	background:
		radial-gradient(circle at 20% 10%, rgba(19, 123, 124, 0.36), transparent 34%),
		linear-gradient(135deg, var(--navy-deep), var(--navy));
	color: rgba(255, 255, 255, 0.84);
}

.hero::before {
	position: absolute;
	top: 0;
	right: -120px;
	width: 620px;
	height: 620px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	content: "";
}

.hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
	align-items: center;
	gap: clamp(44px, 7vw, 100px);
}

.hero h1 {
	max-width: 720px;
	color: var(--white);
}

.hero__lead {
	max-width: 650px;
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	line-height: 1.65;
}

.hero__media {
	position: relative;
	margin: 0;
}

.hero__media::before {
	position: absolute;
	z-index: 0;
	top: -18px;
	right: -18px;
	bottom: 18px;
	left: 18px;
	border: 1px solid rgba(255, 255, 255, 0.26);
	border-radius: var(--radius-lg);
	content: "";
}

.hero__media img {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-lg);
	object-fit: cover;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.hero__media figcaption {
	position: absolute;
	z-index: 2;
	right: 22px;
	bottom: 22px;
	max-width: 270px;
	padding: 13px 17px;
	border-radius: 999px;
	background: rgba(7, 31, 42, 0.8);
	color: var(--white);
	font-size: 0.75rem;
	font-weight: 700;
	backdrop-filter: blur(10px);
}

.trust-strip {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: clamp(58px, 8vw, 100px);
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-strip > div {
	display: grid;
	min-height: 108px;
	padding: 28px clamp(18px, 3vw, 42px);
	border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-strip > div:first-child {
	padding-left: 0;
}

.trust-strip > div:last-child {
	border-right: 0;
}

.trust-strip strong {
	color: var(--white);
	font-family: var(--serif);
	font-size: 1.55rem;
	font-weight: 500;
}

.trust-strip span {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.split-layout,
.community-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(48px, 9vw, 130px);
}

.section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 48px;
}

.section-heading h2 {
	max-width: 780px;
	margin-bottom: 0;
}

.section-heading--light .eyebrow {
	color: #80cfca;
}

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

.service-card {
	position: relative;
	min-height: 330px;
	padding: 34px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-card::after {
	position: absolute;
	right: -40px;
	bottom: -50px;
	width: 160px;
	height: 160px;
	border: 22px solid var(--sea-glass);
	border-radius: 50%;
	content: "";
}

.service-card:hover {
	transform: translateY(-7px);
	border-color: rgba(19, 123, 124, 0.44);
	box-shadow: var(--shadow);
}

.service-card__number {
	display: inline-block;
	margin-bottom: 70px;
	color: var(--teal);
	font-size: 0.73rem;
	font-weight: 900;
	letter-spacing: 0.18em;
}

.service-card p {
	position: relative;
	z-index: 1;
	margin-bottom: 0;
	color: var(--muted);
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 26px;
}

.team-card {
	display: grid;
	grid-template-columns: 42% 58%;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.06);
}

.team-card img {
	width: 100%;
	height: 100%;
	min-height: 430px;
	object-fit: cover;
	object-position: center top;
}

.team-card__content {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 32px;
}

.team-card__content h3 {
	font-size: 1.7rem;
}

.team-card__content p {
	margin-bottom: 0;
	font-size: 0.94rem;
}

.resource-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
}

.resource-band > div {
	max-width: 760px;
}

.resource-band h2 {
	font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.resource-band p:last-child {
	margin-bottom: 0;
	color: var(--muted);
}

/* Interior pages */
.page-hero {
	padding: clamp(72px, 9vw, 126px) 0;
	background:
		radial-gradient(circle at 85% 15%, rgba(19, 123, 124, 0.36), transparent 32%),
		linear-gradient(125deg, var(--navy-deep), var(--navy));
	color: rgba(255, 255, 255, 0.82);
}

.page-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	align-items: end;
	gap: clamp(50px, 10vw, 150px);
}

.page-hero h1 {
	max-width: 780px;
	margin: 0;
	color: var(--white);
}

.page-hero__grid > p {
	margin: 0 0 10px;
	font-size: 1.1rem;
	line-height: 1.7;
}

.page-hero--simple {
	padding-block: 80px;
}

.page-hero--simple .shell {
	max-width: 900px;
}

.service-detail-list {
	display: grid;
}

.service-detail {
	display: grid;
	grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(50px, 10vw, 150px);
	padding: 64px 0;
	border-top: 1px solid var(--line);
}

.service-detail:first-child {
	padding-top: 0;
	border-top: 0;
}

.service-detail:last-child {
	padding-bottom: 0;
}

.service-detail__label span {
	display: block;
	margin-bottom: 34px;
	color: var(--teal);
	font-size: 0.73rem;
	font-weight: 900;
	letter-spacing: 0.18em;
}

.audience-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: clamp(50px, 9vw, 130px);
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.tag-list span {
	padding: 13px 18px;
	border: 1px solid rgba(11, 46, 61, 0.2);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.45);
	font-size: 0.86rem;
	font-weight: 750;
}

.cta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
}

.cta-row h2 {
	max-width: 780px;
	margin-bottom: 0;
}

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

.resource-card {
	display: flex;
	flex-direction: column;
	min-height: 330px;
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: 0 12px 40px rgba(7, 31, 42, 0.04);
}

.resource-card__source {
	margin-bottom: 42px;
	color: var(--teal);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.resource-card h2 {
	font-size: 1.75rem;
}

.resource-card > p:not(.resource-card__source) {
	color: var(--muted);
	font-size: 0.94rem;
}

.resource-card .text-link {
	margin-top: auto;
	padding-top: 24px;
}

.resource-note {
	display: grid;
	grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.15fr) auto;
	align-items: center;
	gap: 32px;
	margin-top: 28px;
	padding: 30px 34px;
	border-radius: var(--radius);
	background: var(--ivory);
}

.resource-note strong {
	color: var(--navy);
	font-family: var(--serif);
	font-size: 1.2rem;
	line-height: 1.35;
}

.resource-note p {
	margin: 0;
	color: var(--muted);
	font-size: 0.9rem;
}

/* Contact and careers */
.contact-layout {
	display: grid;
	grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
	gap: clamp(50px, 9vw, 120px);
}

.contact-details {
	display: grid;
	align-content: start;
	gap: 44px;
}

.contact-list {
	display: grid;
	gap: 0;
	margin: 0;
}

.contact-list > div {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 18px;
	padding: 18px 0;
	border-top: 1px solid var(--line);
}

.contact-list dt {
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.contact-list dd {
	margin: 0;
}

.contact-list a {
	color: var(--navy);
	font-weight: 700;
	text-decoration: none;
}

.hours-card {
	padding: 28px;
	border-radius: var(--radius);
	background: var(--ivory);
}

.hours-card h3 {
	font-size: 1.4rem;
}

.hours-card p {
	margin-bottom: 1rem;
	color: var(--muted);
	font-size: 0.88rem;
}

.hours-card p:last-child {
	margin-bottom: 0;
}

.form-card {
	padding: clamp(28px, 5vw, 52px);
	border-radius: var(--radius-lg);
	background: var(--ivory);
	box-shadow: var(--shadow);
}

.form-card h2 {
	font-size: clamp(2rem, 3vw, 3rem);
}

.form-card--light {
	background: var(--white);
}

.site-form {
	display: grid;
	gap: 22px;
	margin-top: 30px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.field {
	display: grid;
	gap: 8px;
}

.field label {
	color: var(--navy);
	font-size: 0.79rem;
	font-weight: 850;
	letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	border: 1px solid rgba(11, 46, 61, 0.26);
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--ink);
}

.field input,
.field select {
	min-height: 50px;
	padding: 11px 14px;
}

.field textarea {
	min-height: 150px;
	padding: 13px 14px;
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--teal);
	box-shadow: 0 0 0 4px rgba(19, 123, 124, 0.12);
	outline: 0;
}

.field input[type="file"] {
	padding: 9px;
	background: rgba(255, 255, 255, 0.7);
}

.field small {
	color: var(--muted);
	font-size: 0.75rem;
}

.check-field {
	display: grid;
	grid-template-columns: 18px 1fr;
	align-items: start;
	gap: 10px;
	color: var(--muted);
	font-size: 0.78rem;
	line-height: 1.5;
}

.check-field input {
	width: 17px;
	height: 17px;
	margin-top: 2px;
	accent-color: var(--teal);
}

.honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-notice {
	margin: 20px 0;
	padding: 15px 18px;
	border-radius: var(--radius-sm);
	font-size: 0.88rem;
	font-weight: 700;
}

.form-notice--success {
	border: 1px solid #86b7a0;
	background: #edf8f2;
	color: #17583b;
}

.form-notice--error {
	border: 1px solid #d7a19e;
	background: #fff1f0;
	color: #8b2d28;
}

.careers-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
	gap: clamp(50px, 9vw, 120px);
}

.value-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 72px;
}

.value-grid article {
	padding: 30px;
	border-top: 3px solid var(--teal);
	background: var(--ivory);
}

.value-grid article > span {
	display: block;
	margin-bottom: 40px;
	color: var(--teal);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.15em;
}

.value-grid h3 {
	font-size: 1.45rem;
}

.value-grid p {
	margin-bottom: 0;
	color: var(--muted);
	font-size: 0.9rem;
}

.resume-layout {
	display: grid;
	grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
	align-items: start;
	gap: clamp(50px, 9vw, 120px);
}

.resume-layout > div:first-child {
	position: sticky;
	top: 145px;
}

.content-page {
	max-width: 840px;
}

.post-list {
	display: grid;
	gap: 20px;
}

.post-card {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

/* Footer */
.site-footer {
	padding: 78px 0 26px;
	background: var(--navy-deep);
	color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 0.75fr 1fr;
	gap: clamp(30px, 5vw, 72px);
}

.footer-grid h2 {
	margin-bottom: 18px;
	color: var(--white);
	font-family: var(--sans);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.footer-grid p,
.footer-grid address {
	margin: 0 0 0.8rem;
	font-size: 0.84rem;
	font-style: normal;
}

.footer-grid a {
	color: var(--white);
	text-decoration: none;
}

.brand--footer {
	margin-bottom: 24px;
	color: var(--white);
}

.brand--footer:hover {
	color: var(--white);
}

.brand--footer .brand__mark {
	border-top-color: #70c8c3;
}

.brand--footer .brand__mark::before,
.brand--footer .brand__mark span {
	background: var(--white);
}

.brand--footer .brand__text small {
	color: rgba(255, 255, 255, 0.6);
}

.footer-note {
	color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 64px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

@media (max-width: 1100px) {
	.site-header__main {
		gap: 18px;
	}

	.site-nav {
		gap: 14px;
	}

	.site-nav__list {
		gap: 14px;
	}

	.site-nav__list a {
		font-size: 0.75rem;
	}

	.team-card {
		grid-template-columns: 1fr;
	}

	.team-card img {
		height: 360px;
		min-height: 0;
	}

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

@media (max-width: 980px) {
	.site-header__utility {
		display: none;
	}

	.site-header__main {
		min-height: 74px;
	}

	.nav-toggle {
		display: block;
	}

	.site-nav {
		position: fixed;
		z-index: 999;
		top: 74px;
		right: 0;
		bottom: 0;
		left: 0;
		display: none;
		align-items: stretch;
		padding: 28px 20px 50px;
		overflow-y: auto;
		background: var(--white);
	}

	.site-nav.is-open {
		display: block;
	}

	.site-nav__list {
		display: grid;
		gap: 0;
		margin-bottom: 24px;
	}

	.site-nav__list li {
		border-bottom: 1px solid var(--line);
	}

	.site-nav__list a {
		padding: 16px 2px;
		font-family: var(--serif);
		font-size: 1.35rem;
	}

	.site-nav__list a::after {
		display: none;
	}

	.site-nav .button {
		width: 100%;
	}

	.hero__grid,
	.page-hero__grid,
	.contact-layout,
	.careers-intro,
	.resume-layout {
		grid-template-columns: 1fr;
	}

	.hero__content {
		max-width: 720px;
	}

	.hero__media {
		max-width: 660px;
	}

	.hero__media img {
		aspect-ratio: 16 / 10;
	}

	.page-hero__grid {
		gap: 28px;
	}

	.page-hero__grid > p {
		max-width: 720px;
	}

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

	.resource-note {
		grid-template-columns: 1fr;
	}

	.resume-layout > div:first-child {
		position: static;
	}
}

@media (max-width: 760px) {
	:root {
		--shell: min(100% - 28px, 1180px);
	}

	body {
		font-size: 16px;
	}

	.brand__text strong {
		font-size: 0.95rem;
	}

	.brand__text small {
		font-size: 0.48rem;
	}

	.brand__mark {
		width: 40px;
		height: 36px;
	}

	.brand__mark::before {
		width: 36px;
	}

	.brand__mark span {
		height: 28px;
		margin-inline: 4px;
	}

	.brand__mark span:nth-child(2) {
		height: 22px;
	}

	.hero {
		padding-top: 56px;
	}

	.hero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 50px;
	}

	.hero__media::before {
		display: none;
	}

	.hero__media img {
		aspect-ratio: 4 / 3;
		border-radius: var(--radius);
	}

	.hero__media figcaption {
		right: 12px;
		bottom: 12px;
	}

	.trust-strip {
		grid-template-columns: 1fr;
		margin-top: 54px;
	}

	.trust-strip > div,
	.trust-strip > div:first-child {
		min-height: auto;
		padding: 18px 0;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	}

	.trust-strip > div:last-child {
		border-bottom: 0;
	}

	.split-layout,
	.community-grid,
	.service-detail,
	.audience-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.section-heading,
	.resource-band,
	.cta-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.service-grid,
	.team-grid,
	.resource-grid,
	.value-grid {
		grid-template-columns: 1fr;
	}

	.team-card {
		grid-template-columns: 40% 60%;
	}

	.team-card img {
		height: 100%;
		min-height: 390px;
	}

	.team-card__content {
		padding: 24px;
	}

	.service-detail {
		padding-block: 44px;
	}

	.service-detail__label span {
		margin-bottom: 16px;
	}

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

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

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 520px) {
	h1 {
		font-size: clamp(2.6rem, 13vw, 4rem);
	}

	h2 {
		font-size: clamp(2rem, 10vw, 3rem);
	}

	.button-row {
		align-items: stretch;
		flex-direction: column;
	}

	.button-row .button {
		width: 100%;
	}

	.hero__media figcaption {
		display: none;
	}

	.team-card {
		grid-template-columns: 1fr;
	}

	.team-card img {
		height: 340px;
		min-height: 0;
	}

	.contact-list > div {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.form-card {
		padding: 24px 18px;
		border-radius: var(--radius);
	}
}

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

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
