/* ==========================================================================
   Bright Belonging Home Care
   ========================================================================== */

:root {
	--navy: #0d2a6b;
	--navy-deep: #0a2259;
	--gold: #f2b100;
	--gold-soft: #ffd95a;
	--blue: #1d6fc7;
	--purple: #6c2c91;
	--red: #d6202d;
	--green: #3d9a3a;
	--pink: #d61f6b;
	--cream: #fffbe9;
	--tint: #e9f1fc;
	--white: #fff;
	--text: #33415f;
	--muted: #5a6784;
	--border: #e2e8f2;
	--font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-head: "Playfair Display", Georgia, serif;
	--font-script: "Dancing Script", "Brush Script MT", cursive;
	--shadow-soft: 0 2px 10px rgba(13, 42, 107, 0.08);
	--shadow-lift: 0 18px 40px -12px rgba(13, 42, 107, 0.28);
	--radius: 1rem;
	--radius-lg: 1.5rem;
	--header-h: 5rem;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 6rem;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1,
h2,
h3 {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.2;
	color: var(--navy);
}

p {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

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

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

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 2px;
}

.icon {
	width: 1em;
	height: 1em;
	flex-shrink: 0;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	z-index: 100;
	padding: 0.75rem 1rem;
	background: var(--gold);
	color: var(--navy);
	font-weight: 600;
}

.skip-link:focus {
	left: 0;
}

.container {
	width: 100%;
	max-width: 82.5rem;
	margin-inline: auto;
	padding-inline: 1.5rem;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 2.75rem;
	padding: 0 1.25rem;
	border: 2px solid transparent;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.2s, filter 0.2s, background-color 0.2s, color 0.2s;
}

.btn .icon {
	font-size: 1rem;
}

.btn--sm {
	height: 2.25rem;
	padding: 0 1rem;
	font-size: 0.75rem;
}

.btn--lg {
	height: 3rem;
	padding: 0 2rem;
	font-size: 1rem;
}

.btn--block {
	width: 100%;
}

.btn--gold {
	background: var(--gold);
	color: var(--navy);
	box-shadow: 0 4px 10px -2px rgba(13, 42, 107, 0.25);
}

.btn--gold:hover {
	transform: translateY(-2px);
	filter: brightness(1.05);
}

.btn--outline {
	border-color: var(--navy);
	background: var(--white);
	color: var(--navy);
}

.btn--outline:hover {
	background: var(--navy);
	color: var(--white);
}

.btn--outline-light {
	border-color: var(--white);
	color: var(--white);
}

.btn--outline-light:hover {
	background: var(--white);
	color: var(--navy);
}

/* ---------- Top bar & header ---------- */

.topbar {
	background: var(--navy);
	color: var(--white);
	font-size: 0.875rem;
}

.topbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	padding-block: 0.5rem;
}

.topbar__link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
}

.topbar__link:hover {
	color: var(--gold);
}

.topbar__link--email {
	display: none;
}

.header {
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.admin-bar .header {
	top: 46px;
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--header-h);
	padding-block: 0.5rem;
}

.header__logo img {
	width: 4rem;
	height: 4rem;
	object-fit: contain;
}

.header__toggle {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 0;
	border-radius: 50%;
	background: none;
	font-size: 1.5rem;
	color: var(--navy);
	cursor: pointer;
}

.header__toggle:hover {
	background: var(--tint);
}

.header__toggle .icon--close,
.header__toggle[aria-expanded="true"] .icon--open {
	display: none;
}

.header__toggle[aria-expanded="true"] .icon--close {
	display: block;
}

.nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	padding: 1rem 1.5rem 1.5rem;
	border-bottom: 1px solid var(--border);
	background: var(--white);
	box-shadow: var(--shadow-lift);
}

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

.nav__list a {
	display: block;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--border);
	font-weight: 500;
	color: var(--navy);
}

.nav__list a:hover,
.nav__list .current-menu-item > a {
	color: var(--blue);
}

.nav__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

/* ---------- Shared sections ---------- */

.section {
	padding-block: 4rem;
}

.section--tight {
	padding-block: 3.5rem;
}

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

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

.section__more {
	margin-top: 2.5rem;
	text-align: center;
}

.eyebrow {
	font-family: var(--font-script);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--blue);
}

.section-head {
	max-width: 42rem;
	margin: 0 auto 3rem;
	text-align: center;
}

.section-head h2 {
	margin-top: 0.25rem;
	font-size: clamp(1.875rem, 4vw, 2.25rem);
}

.section-head__text {
	margin-top: 1rem;
	color: var(--muted);
}

.grid {
	display: grid;
	gap: 1.5rem;
}

/* Grid/flex children default to min-width:auto, which keeps long headings
   from wrapping and forces horizontal overflow. Let them shrink instead. */
.grid > *,
.hero__inner > *,
.belonging__inner > *,
.commitment > *,
.careers__inner > *,
.story > *,
.service__inner > *,
.contact > *,
.audiences > *,
.steps > *,
.facts > *,
.footer__grid > *,
.carousel > * {
	min-width: 0;
}

.card-lift {
	transition: transform 0.25s, box-shadow 0.25s;
	box-shadow: var(--shadow-soft);
}

.card-lift:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lift);
}

.icon-badge {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	flex-shrink: 0;
	border-radius: 0.75rem;
	background: var(--navy);
	color: var(--white);
	font-size: 1.5rem;
}

.icon-badge--round {
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	font-size: 2rem;
}

.icon-badge--blue { background: var(--blue); }
.icon-badge--green { background: var(--green); }
.icon-badge--gold { background: var(--gold); }
.icon-badge--purple { background: var(--purple); }
.icon-badge--red { background: var(--red); }
.icon-badge--pink { background: var(--pink); }
.icon-badge--navy { background: var(--navy); }

.icon-badge--navy-gold {
	width: 3rem;
	height: 3rem;
	background: var(--navy);
	color: var(--gold);
	font-size: 1.375rem;
}

.sunburst {
	position: absolute;
	border-radius: 50%;
	background: repeating-conic-gradient(from 0deg, rgba(242, 177, 0, 0.3) 0deg 5deg, transparent 5deg 12deg);
	-webkit-mask-image: radial-gradient(circle, #000 0%, transparent 68%);
	mask-image: radial-gradient(circle, #000 0%, transparent 68%);
	pointer-events: none;
}

.wave {
	display: block;
	width: 100%;
	height: 3rem;
}

.wave__gold { fill: var(--gold); }
.wave__navy { fill: var(--navy); }

.wave-wrap--tint {
	background: var(--tint);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.chips li {
	padding: 0.375rem 0.875rem;
	border: 1px solid #c9d5ea;
	border-radius: 999px;
	background: var(--white);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--navy);
}

.checklist {
	display: grid;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	padding: 0.75rem 1rem;
	border-radius: 0.75rem;
	background: var(--white);
	box-shadow: var(--shadow-soft);
	font-size: 0.9375rem;
	color: var(--navy);
}

.checklist .icon {
	margin-top: 0.2em;
	font-size: 1.125rem;
	color: var(--green);
}

.checklist--stack {
	margin-top: 0;
}

.checklist--stack li {
	background: var(--cream);
	box-shadow: none;
}

.socials {
	display: flex;
	gap: 0.75rem;
}

.socials a {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	font-size: 1.125rem;
	transition: background-color 0.2s, color 0.2s;
}

.socials--light a {
	background: var(--tint);
	color: var(--navy);
}

.socials--light a:hover {
	background: var(--navy);
	color: var(--white);
}

.socials--dark {
	margin-top: 1.25rem;
}

.socials--dark a {
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: var(--white);
}

.socials--dark a:hover {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--navy);
}

/* ---------- Home: hero ---------- */

.hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(120deg, #fff7d9 0%, #fffdf4 45%, #fff 100%);
}

.hero__sunburst {
	top: -8rem;
	right: -8rem;
	width: 48rem;
	height: 48rem;
}

.hero__inner {
	position: relative;
	display: grid;
	align-items: center;
	gap: 3rem;
	padding-block: 4rem;
}

.hero__script {
	font-family: var(--font-script);
	font-size: clamp(1.5rem, 3vw, 1.875rem);
	font-weight: 600;
	color: var(--blue);
}

.hero h1 {
	margin-top: 1rem;
	font-size: clamp(2.25rem, 5.2vw, 3.75rem);
	font-weight: 800;
	line-height: 1.15;
}

.hero__lead {
	max-width: 36rem;
	margin-top: 1.5rem;
	font-size: 1.125rem;
	color: var(--muted);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}

.hero__art {
	position: relative;
	width: 100%;
	max-width: 32rem;
	margin-inline: auto;
}

.hero__logo-card {
	padding: 1.5rem;
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow-lift);
}

.hero__logo-card img {
	width: 100%;
}

/* ---------- Home: audiences ---------- */

.audiences {
	display: grid;
	gap: 1.5rem;
	padding-top: 3rem;
	padding-bottom: 4rem;
}

.audience {
	padding: 2rem;
	border-radius: var(--radius);
	color: var(--white);
}

.audience h2 {
	margin-top: 1rem;
	font-size: 1.5rem;
	color: inherit;
}

.audience p {
	margin-top: 0.5rem;
	opacity: 0.92;
}

.audience__icon {
	font-size: 2.5rem;
}

.audience__link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	margin-top: 1rem;
	font-weight: 600;
	text-underline-offset: 4px;
}

.audience__link:hover {
	text-decoration: underline;
}

.audience--gold { background: var(--gold); color: var(--navy); }
.audience--purple { background: var(--purple); }
.audience--red { background: var(--red); }
.audience--navy { background: var(--navy); }

/* ---------- Cards ---------- */

.why-card {
	padding: 2rem;
	border-radius: var(--radius);
	background: var(--white);
	text-align: center;
}

.why-card .icon-badge,
.value-card .icon-badge {
	margin-inline: auto;
}

.why-card h3 {
	margin-top: 1.25rem;
	font-size: 1.125rem;
}

.service-card {
	display: block;
	padding: 1.75rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--white);
}

.service-card h3 {
	margin-top: 1rem;
	font-size: 1.25rem;
}

.service-card p {
	margin-top: 0.5rem;
	color: var(--muted);
}

.value-card {
	padding: 2rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--white);
	text-align: center;
}

.value-card h3 {
	margin-top: 1.25rem;
	font-size: 1.125rem;
}

.value-card p {
	margin-top: 0.5rem;
	font-size: 0.9375rem;
	color: var(--muted);
}

/* ---------- Home: steps ---------- */

.steps {
	display: grid;
	gap: 2rem;
}

.step {
	position: relative;
	text-align: center;
}

.step__icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	margin-inline: auto;
	border-radius: 50%;
	background: var(--navy);
	color: var(--gold);
	font-size: 1.75rem;
	box-shadow: var(--shadow-soft);
}

.step__num {
	margin-top: 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--blue);
}

.step h3 {
	font-size: 1.125rem;
}

.step p:last-child {
	margin-top: 0.25rem;
	font-size: 0.875rem;
	color: var(--muted);
}

/* ---------- Home: equal belonging ---------- */

.belonging {
	background: var(--navy);
	color: var(--white);
}

.belonging__inner {
	display: grid;
	align-items: center;
	gap: 2.5rem;
	padding-block: 4rem;
}

.belonging__quote {
	font-size: 3rem;
	color: var(--gold);
}

.belonging__script {
	margin-top: 1rem;
	font-family: var(--font-script);
	font-size: clamp(3rem, 8vw, 4.5rem);
	font-weight: 700;
	line-height: 1.1;
	color: var(--gold);
}

.belonging__text {
	max-width: 32rem;
	margin-top: 1.5rem;
	font-size: 1.125rem;
	color: #e3ebfa;
}

.belonging__img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lift);
}

/* ---------- Home: testimonials ---------- */

.carousel {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.75rem;
	max-width: 56rem;
	margin-inline: auto;
}

.carousel__btn {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 2px solid var(--navy);
	border-radius: 50%;
	background: var(--white);
	color: var(--navy);
	font-size: 1.125rem;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.carousel__btn:hover {
	background: var(--navy);
	color: var(--white);
}

.carousel__slide {
	display: none;
	margin: 0;
	padding: 2rem 1.5rem;
	border-radius: var(--radius);
	background: var(--cream);
	text-align: center;
}

.carousel__slide.is-active {
	display: block;
	animation: bb-fade 0.5s ease;
}

.carousel blockquote {
	margin: 0;
	font-family: var(--font-head);
	font-size: clamp(1.125rem, 2.6vw, 1.5rem);
	font-weight: 600;
	line-height: 1.4;
	color: var(--navy);
}

.carousel figcaption {
	margin-top: 1rem;
	font-size: 0.875rem;
	color: var(--muted);
}

@keyframes bb-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* ---------- Home: facts ---------- */

.facts {
	display: grid;
	gap: 2rem;
}

.facts__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-size: 1.25rem;
}

.facts__title .icon {
	color: var(--gold);
}

/* ---------- CTA ---------- */

.cta {
	background: var(--navy);
	color: var(--white);
	text-align: center;
}

.cta__inner {
	padding-block: 4.5rem;
}

.cta__script {
	font-family: var(--font-script);
	font-size: 2rem;
	font-weight: 600;
	color: var(--gold);
}

.cta h2 {
	margin-top: 0.5rem;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	color: var(--white);
}

.cta p:not(.cta__script) {
	margin-top: 1rem;
	color: #e3ebfa;
}

.cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.75rem;
}

/* ---------- Footer ---------- */

.footer {
	background: var(--navy);
	color: var(--white);
	font-size: 0.9375rem;
}

.footer__grid {
	display: grid;
	gap: 2.5rem;
	padding-block: 3.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
	display: inline-block;
	padding: 0.5rem;
	border-radius: var(--radius);
	background: var(--white);
}

.footer__logo img {
	width: 5rem;
	height: 5rem;
	object-fit: contain;
}

.footer__tagline {
	margin-top: 1rem;
	font-family: var(--font-script);
	font-size: 1.5rem;
	color: var(--gold);
}

.footer__contact {
	display: grid;
	gap: 0.5rem;
	margin-top: 1rem;
}

.footer__contact li {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

.footer__contact .icon {
	font-size: 1rem;
	color: var(--gold-soft);
}

.footer__title {
	margin-bottom: 1rem;
	font-size: 1.125rem;
	color: var(--gold);
}

.footer__links {
	display: grid;
	gap: 0.5rem;
}

.footer__links a:hover,
.footer__contact a:hover {
	color: var(--gold);
}

.footer__bottom {
	padding-block: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.875rem;
	text-align: center;
	color: #d5def1;
}

.to-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 30;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
	font-size: 1.125rem;
	box-shadow: var(--shadow-soft);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s, visibility 0.25s, background-color 0.2s;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
}

.to-top:hover {
	background: var(--gold);
	color: var(--navy);
}

/* ---------- Inner page hero ---------- */

.page-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(110deg, #fff7d9 0%, #fffbe9 45%, #ffeba6 100%);
}

.page-hero__sunburst {
	top: -14rem;
	right: -10rem;
	width: 46rem;
	height: 46rem;
}

.page-hero__inner {
	position: relative;
	padding-top: 3.5rem;
	padding-bottom: 6.5rem;
}

.page-hero h1 {
	font-size: clamp(2.5rem, 6vw, 3.75rem);
	font-weight: 800;
}

.page-hero__subtitle {
	margin-top: 0.75rem;
	font-size: 1.125rem;
	color: var(--muted);
}

.page-hero .wave {
	position: absolute;
	left: 0;
	bottom: -1px;
}

.breadcrumb {
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
	color: var(--muted);
}

.breadcrumb a:hover {
	color: var(--blue);
}

.breadcrumb [aria-current] {
	font-weight: 500;
	color: var(--navy);
}

/* ---------- About ---------- */

.story {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

.story__media {
	display: grid;
	gap: 1rem;
}

.story__media img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lift);
}

.story__copy h2 {
	margin-top: 0.25rem;
	font-size: clamp(1.875rem, 4vw, 2.25rem);
}

.story__copy p:not(.eyebrow) {
	margin-top: 1.25rem;
	color: var(--muted);
}

.mv-card {
	padding: 2rem;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-soft);
}

.mv-card__icon {
	font-size: 2.5rem;
	color: var(--gold);
}

.mv-card h2 {
	margin-top: 1rem;
	font-size: 1.5rem;
}

.mv-card p {
	margin-top: 0.75rem;
	color: var(--muted);
}

.meaning {
	max-width: 52rem;
	text-align: center;
}

.meaning__quote {
	font-size: 3rem;
	color: var(--gold);
}

.meaning .eyebrow {
	margin-top: 0.5rem;
	font-size: 1.75rem;
}

.meaning blockquote {
	margin: 1rem 0 0;
	font-family: var(--font-head);
	font-size: clamp(1.25rem, 3vw, 1.625rem);
	font-weight: 600;
	line-height: 1.45;
	color: var(--navy);
}

.commitment {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

.commitment h2 {
	margin-top: 0.25rem;
	font-size: clamp(1.875rem, 4vw, 2.25rem);
}

.commitment h2 + p {
	margin-top: 1rem;
	color: var(--muted);
}

.team-card {
	padding: 2rem 1.5rem;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-soft);
	text-align: center;
}

.team-card__avatar {
	display: grid;
	place-items: center;
	width: 6rem;
	height: 6rem;
	margin: 0 auto 1.25rem;
	border-radius: 50%;
	background: var(--tint);
	color: var(--navy);
	font-size: 2.75rem;
}

.team-card h3 {
	font-size: 1.125rem;
}

.team-card p {
	margin-top: 0.25rem;
	font-size: 0.875rem;
	color: var(--muted);
}

.h-sm {
	font-size: 1.75rem;
}

.hours {
	margin: 1.5rem 0 0;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
}

.hours div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
}

.hours div + div {
	border-top: 1px solid var(--border);
}

.hours dt {
	font-weight: 600;
	color: var(--navy);
}

.hours dd {
	margin: 0;
	color: var(--muted);
}

.policy-card {
	padding: 2rem;
	border-left: 4px solid var(--gold);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-soft);
}

.policy-card p {
	margin-top: 1rem;
	color: var(--muted);
}

/* ---------- Services ---------- */

.subnav {
	position: sticky;
	top: var(--header-h);
	z-index: 30;
	border-bottom: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.97);
}

.admin-bar .subnav {
	top: calc(var(--header-h) + 46px);
}

.subnav__list {
	display: flex;
	gap: 0.5rem;
	padding-block: 0.75rem;
	overflow-x: auto;
	scrollbar-width: none;
}

.subnav__list::-webkit-scrollbar {
	display: none;
}

.subnav a {
	display: block;
	padding: 0.4375rem 1rem;
	border-radius: 999px;
	background: var(--tint);
	font-size: 0.8125rem;
	font-weight: 500;
	white-space: nowrap;
	color: var(--navy);
	transition: background-color 0.2s, color 0.2s;
}

.subnav a:hover,
.subnav a.is-active {
	background: var(--navy);
	color: var(--white);
}

.service {
	scroll-margin-top: 3.5rem;
}

.service__inner {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

.service__title {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.service__title h2 {
	font-size: clamp(1.75rem, 4vw, 2.125rem);
}

.service__copy > p {
	margin-top: 1rem;
	color: var(--muted);
}

.service__copy .service__note {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8125rem;
}

.service__copy .btn {
	margin-top: 1.75rem;
}

.service__img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lift);
}

/* ---------- Contact & forms ---------- */

.contact {
	display: grid;
	gap: 2rem;
	align-items: start;
}

.info-list {
	display: grid;
	gap: 1rem;
}

.info-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem;
	border-radius: var(--radius);
	background: var(--cream);
}

.info-card h2 {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
}

.info-card p {
	color: var(--muted);
	overflow-wrap: anywhere;
}

.info-card a:hover {
	color: var(--blue);
}

.contact .socials {
	margin-top: 1.25rem;
}

.contact__map {
	display: block;
	width: 100%;
	height: 17rem;
	margin-top: 1.25rem;
	border: 0;
	border-radius: var(--radius);
}

.contact__map--placeholder {
	display: grid;
	place-items: center;
	border: 2px dashed #b9cbea;
	background: var(--tint);
	color: var(--muted);
}

.form-card {
	padding: 1.5rem;
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow-lift);
	scroll-margin-top: 6rem;
}

.tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.25rem;
	margin-bottom: 1.5rem;
	padding: 0.25rem;
	border-radius: 999px;
	background: var(--tint);
}

.tabs__tab {
	padding: 0.625rem 0.75rem;
	border: 0;
	border-radius: 999px;
	background: none;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--muted);
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.tabs__tab:hover {
	background: rgba(13, 42, 107, 0.1);
	color: var(--navy);
}

.tabs__tab[aria-selected="true"] {
	background: var(--navy);
	color: var(--white);
}

.tabs__tab[aria-selected="true"]:hover {
	color: var(--white);
}

.form {
	display: grid;
	gap: 1rem;
}

.form__row {
	display: grid;
	gap: 1rem;
}

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

.field label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--navy);
}

.field__req {
	color: var(--red);
}

.field input,
.field select,
.field textarea {
	display: block;
	width: 100%;
	min-height: 2.75rem;
	padding: 0.625rem 0.875rem;
	border: 1px solid #c5d0e3;
	border-radius: 0.625rem;
	background: var(--white);
	color: var(--navy);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
	min-height: 7.5rem;
	resize: vertical;
}

.field input[type="file"] {
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(29, 111, 199, 0.2);
}

.form__hint {
	font-size: 0.8125rem;
	text-align: center;
	color: var(--muted);
}

.form__notice {
	padding: 0.875rem 1rem;
	border-radius: 0.625rem;
	font-size: 0.9375rem;
	font-weight: 500;
}

.form__notice--success {
	border: 1px solid #b7dfb5;
	background: #edf8ec;
	color: #1f6a1d;
}

.form__notice--error {
	border: 1px solid #f1b9bd;
	background: #fdeeef;
	color: #a3131d;
}

.careers {
	background: var(--navy);
	color: var(--white);
	scroll-margin-top: 4rem;
}

.careers__inner {
	display: grid;
	gap: 2.5rem;
	align-items: start;
	padding-block: 4rem;
}

.careers__icon {
	font-size: 3rem;
	color: var(--gold);
}

.careers h2 {
	margin-top: 1rem;
	font-size: clamp(1.875rem, 4vw, 2.25rem);
	color: var(--white);
}

.careers__copy p {
	max-width: 28rem;
	margin-top: 1rem;
	font-size: 1.0625rem;
	color: #e3ebfa;
}

.careers .form-card {
	color: var(--text);
}

/* ---------- Plain content pages ---------- */

.prose {
	max-width: 50rem;
}

.prose > * + * {
	margin-top: 1.25rem;
}

.prose h2 {
	margin-top: 2.25rem;
	font-size: 1.625rem;
}

.prose h3 {
	margin-top: 1.75rem;
	font-size: 1.25rem;
}

.prose ul,
.prose ol {
	padding-left: 1.5rem;
	list-style: revert;
}

.prose a:not(.btn) {
	color: var(--blue);
	text-decoration: underline;
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
	opacity: 0;
	transform: translateY(1rem);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

.js .card-lift.reveal.is-visible {
	transition: opacity 0.6s ease, transform 0.25s, box-shadow 0.25s;
}

.js .card-lift.reveal.is-visible:hover {
	transform: translateY(-4px);
}

/* ---------- Breakpoints ---------- */

@media (min-width: 40em) {
	.topbar__link--email {
		display: flex;
	}

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

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

	.checklist--stack {
		grid-template-columns: 1fr;
	}

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

	.form-card {
		padding: 2rem;
	}

	.carousel {
		gap: 1.5rem;
	}

	.carousel__slide {
		padding: 2.5rem 3rem;
	}

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

@media (min-width: 48em) {
	.section {
		padding-block: 5rem;
	}

	.section--tight {
		padding-block: 3.5rem;
	}

	.wave {
		height: 5rem;
	}

	.hero__inner {
		padding-block: 6rem;
	}

	.audiences {
		padding-bottom: 5rem;
	}

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

	.step:not(:last-child)::before {
		content: "";
		position: absolute;
		top: 2rem;
		left: 50%;
		width: calc(100% + 2rem);
		height: 2px;
		background: var(--gold);
	}

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

	.admin-bar .header {
		top: 32px;
	}

	.admin-bar .subnav {
		top: calc(var(--header-h) + 32px);
	}

	.page-hero__inner {
		padding-top: 4.5rem;
		padding-bottom: 9rem;
	}
}

@media (min-width: 64em) {
	.header__toggle {
		display: none;
	}

	.nav,
	.nav.is-open {
		position: static;
		display: flex;
		flex: 1;
		align-items: center;
		padding: 0;
		border: 0;
		background: none;
		box-shadow: none;
	}

	.nav__list {
		display: flex;
		gap: 2rem;
		margin-inline: auto;
	}

	.nav__list a {
		padding: 0.5rem 0;
		border-bottom: 2px solid transparent;
	}

	.nav__list .current-menu-item > a {
		border-bottom-color: var(--gold);
		color: var(--navy);
	}

	.nav__actions {
		flex-wrap: nowrap;
		margin-top: 0;
	}

	.hero__inner,
	.belonging__inner,
	.commitment,
	.careers__inner {
		grid-template-columns: 1fr 1fr;
	}

	.belonging__inner {
		gap: 4rem;
	}

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

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

	.grid--top {
		align-items: start;
		gap: 3rem;
	}

	.story {
		grid-template-columns: 0.9fr 1.1fr;
		gap: 3.5rem;
	}

	.service__inner {
		grid-template-columns: 1fr 1fr;
		gap: 3.5rem;
	}

	.service--flip .service__img {
		order: -1;
	}

	.contact {
		grid-template-columns: 0.8fr 1.2fr;
	}

	.careers__inner {
		grid-template-columns: 0.9fr 1.1fr;
	}

	.footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1fr;
	}
}

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

	.js .reveal {
		opacity: 1;
		transform: none;
	}

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