/* ==========================================================================
   CMS Corporate — base
   Every measurement is taken from the Figma frames (1440 wide, 72px gutters,
   1296px content). Below 1440 the layout scales with the viewport; below
   1024 it reflows for tablet and phone.
   ========================================================================== */

/* Beausite Classic: only the licensed Regular and Bold files exist, so the
   design's 300/500 map to Regular and 600/800 to Bold. */
@font-face {
	font-family: "Beausite Classic";
	src: url("../fonts/beausite-classic-regular-webfont.woff2") format("woff2");
	font-weight: 300 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Beausite Classic";
	src: url("../fonts/beausite-classic-bold-webfont.woff2") format("woff2");
	font-weight: 600 900;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Palette */
	--navy: #183066;
	--navy-deep: #142749;
	--sky: #bfd9ff;
	--white: #ffffff;
	--ink: #000000;
	--grey: #636363;
	--paper: #fafafa;
	--line-light: rgba(255, 255, 255, 0.5);
	--line-dark: rgba(24, 48, 102, 0.5);

	/* Brand slots: company pages override these. */
	--brand: var(--navy);
	--brand-deep: var(--navy-deep);
	--brand-tint: var(--sky);
	--brand-accent: var(--sky);

	/* Type */
	--sans: "Beausite Classic", "Helvetica Neue", Arial, sans-serif;
	--serif: "Tinos", "Times New Roman", Times, serif;

	/* Grid: 1296 content inside 72px gutters at 1440. */
	--frame: 1440px;
	--gutter: clamp(20px, 5vw, 72px);
	--content: 1296px;

	/* Scale factor for design px below 1440: 1px at 1440, shrinking with the viewport. */
	--u: min(1px, calc(100vw / 1440));

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--header-h: 92px;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--brand);
	color: var(--white);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 25px;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 2px; }
.header--light :focus-visible, .on-light :focus-visible { outline-color: var(--navy); }
.screen-reader-text, .sr-only {
	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 {
	position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto;
	padding: 10px 16px; background: var(--white); color: var(--navy); border-radius: 3px;
}

/* --- Layout ----------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--content) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
/* Legacy plugin CSS once added clearfix pseudo-elements here; they'd become grid items. */
.container::before, .container::after { content: none !important; }
.section { position: relative; }
.on-light { background: var(--white); color: var(--navy); }
.on-brand { background: var(--brand); color: var(--white); }
.on-deep { background: var(--brand-deep); color: var(--white); }

/* --- Typography (Figma styles) --------------------------------------------- */
.t-display { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, calc(48 * var(--u)), 48px); line-height: 1.1458; }      /* 48/55 */
.t-hero    { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, calc(65 * var(--u)), 65px); line-height: 1.1538; }      /* 65/75 */
.t-h1      { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, calc(45 * var(--u)), 45px); line-height: 1.1556; }      /* 45/52 */
.t-h2      { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, calc(40 * var(--u)), 40px); line-height: 1.25; }        /* 40/50 */
.t-h3      { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, calc(30 * var(--u)), 30px); line-height: 1.1333; }      /* 30/34 */
.t-quote   { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 30px; }                                           /* 20/30 */
.t-serif   { font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 25px; }                                           /* 18/25 */
.t-serif-sm{ font-family: var(--serif); font-weight: 400; font-size: 14px; line-height: 16px; }                                           /* 14/16 */
.t-lead    { font-size: 18px; line-height: 25px; }                                                                                         /* 18/25 */
.t-body    { font-size: 16px; line-height: 25px; }                                                                                         /* 16/25 */
.t-body-md { font-size: 16px; line-height: 25px; font-weight: 500; }
.t-label   { font-size: 16px; line-height: 19px; }                                                                                         /* 16/19 */
.t-name    { font-size: 14px; line-height: 18px; }                                                                                         /* 14/18 */
.t-small   { font-size: 12px; line-height: 14px; }                                                                                         /* 12/14 */
.t-caption { font-size: 12px; line-height: 18px; font-weight: 300; }                                                                       /* 12/18 */
.t-fine    { font-size: 10px; line-height: 18px; font-weight: 300; }                                                                       /* 10/18 */
.t-eyebrow { font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: 1.92px; text-transform: uppercase; }                   /* 12/18 +1.92 */

.label { font-size: 16px; line-height: 19px; color: var(--brand-tint); }
.on-light .label { color: var(--brand); }
.prose > * + * { margin-top: 25px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.text-sky { color: var(--sky); }

/* --- Buttons: the design's 124x30, radius 3 ------------------------------- */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	min-width: 124px;
	height: 30px;
	padding: 0 12px;
	border: 1px solid var(--line-light);
	border-radius: 3px;
	font-size: 12px;
	line-height: 14px;
	white-space: nowrap;
	color: var(--white);
	isolation: isolate;
	overflow: hidden;
	transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out), background-color 0.45s var(--ease-out);
}
.btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: currentColor;
	opacity: 0;
	transform: translateY(101%);
	transition: transform 0.55s var(--ease-out), opacity 0.2s;
}
.btn--arrow { justify-content: space-between; padding: 0 5px 0 13px; }
.btn__icon {
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 3px;
	background: var(--brand-accent);
	color: var(--brand-deep);
	overflow: hidden;
}
.btn__icon svg { width: 12px; height: 10px; transition: transform 0.5s var(--ease-out); }

.btn--outline { border-color: var(--line-light); }
.btn--accent  { border-color: rgba(191, 217, 255, 0.5); }
.btn--solid   { background: var(--brand-accent); border-color: var(--brand-accent); color: var(--brand); }
.btn--white   { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--dark    { background: var(--brand); border-color: var(--brand); color: var(--white); }
.on-light .btn--outline, .btn--outline-dark { border-color: var(--line-dark); color: var(--brand); }

@media (hover: hover) {
	.btn--outline:hover, .btn--accent:hover { border-color: var(--white); }
	.btn--outline:hover::before, .btn--accent:hover::before { opacity: 0.08; transform: none; }
	.on-light .btn--outline:hover, .btn--outline-dark:hover { border-color: var(--brand); }
	.btn--solid:hover, .btn--white:hover { background: transparent; color: var(--white); border-color: var(--white); }
	.on-light .btn--solid:hover, .on-light .btn--white:hover { color: var(--brand); border-color: var(--brand); }
	.btn--dark:hover { background: var(--brand-deep); }
	.btn:hover .btn__icon svg { animation: cms-arrow-through 0.6s var(--ease-out); }
}
@keyframes cms-arrow-through {
	0% { transform: translateX(0); }
	45% { transform: translateX(140%); }
	46% { transform: translateX(-140%); }
	100% { transform: translateX(0); }
}

/* Frosted 62px circle with an arrow (cards, links). */
.arrow-badge {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: rgba(24, 48, 102, 0.5);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: var(--white);
	transition: transform 0.6s var(--ease-out), background-color 0.4s;
}
.arrow-badge svg { width: 26px; height: 21px; transition: transform 0.6s var(--ease-out); }
@media (hover: hover) {
	a:hover > .arrow-badge, a:hover .arrow-badge, .arrow-badge:hover { background: var(--brand); }
	a:hover .arrow-badge svg { transform: rotate(-45deg); }
}

/* Underline that draws in on hover. */
.link {
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size 0.5s var(--ease-out);
	padding-bottom: 1px;
}
@media (hover: hover) { .link:hover { background-size: 100% 1px; } }

/* Rules */
.rule { display: block; height: 0; border: 0; border-top: 1px solid var(--line-light); margin: 0; }
.on-light .rule { border-top-color: var(--line-dark); }

/* Media with radius 8 and a hover zoom. */
.media { position: relative; overflow: hidden; border-radius: 8px; background: rgba(255, 255, 255, 0.06); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
@media (hover: hover) { a:hover .media img, .media--zoom:hover img { transform: scale(1.04); } }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: absolute;
	inset: 0 0 auto;
	z-index: 100;
	color: var(--white);
	--header-line: var(--white);
}
.header--light .site-header { color: var(--navy); --header-line: var(--navy); }
.site-header__inner {
	display: flex;
	align-items: center;
	height: var(--header-h);
	padding-top: 16px;            /* 39px to the 30px row, then 23px to the 1px rule at 92 */
	border-bottom: 1px solid var(--header-line);
	transition: height 0.5s var(--ease-out), padding 0.5s var(--ease-out), border-color 0.4s;
}
.site-logo { display: block; width: 108px; height: 30px; flex: none; color: inherit; }
.site-logo svg { width: 108px; height: 30px; }
.site-nav { margin-left: auto; display: flex; align-items: center; }
.site-nav__list { display: flex; align-items: center; gap: 68px; }
.site-nav__item { position: relative; }
.site-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 30px;
	font-size: 12px;
	line-height: 14px;
}
.site-nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.5s var(--ease-out);
}
.site-nav__item.is-current > .site-nav__link::after { transform: scaleX(1); }
@media (hover: hover) {
	.site-nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
}
.site-nav__chevron {
	position: absolute;
	left: calc(100% + 5px);
	top: 12px;
	width: 11px;
	height: 6px;
	transition: transform 0.4s var(--ease-out);
}
.site-nav__item--has-sub:hover .site-nav__chevron,
.site-nav__item--has-sub:focus-within .site-nav__chevron,
.site-nav__item--has-sub.is-open .site-nav__chevron { transform: rotate(180deg); }

.site-nav__sub {
	position: absolute;
	top: calc(100% + 18px);
	left: -24px;
	min-width: 340px;
	padding: 14px 0;
	background: var(--navy-deep);
	border-radius: 3px;
	box-shadow: 0 24px 60px rgba(8, 18, 40, 0.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
}
.site-nav__sub::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; } /* hover bridge */
.site-nav__item--has-sub:hover .site-nav__sub,
.site-nav__item--has-sub:focus-within .site-nav__sub,
.site-nav__item--has-sub.is-open .site-nav__sub {
	opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.site-nav__sub a {
	white-space: nowrap;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 24px;
	font-size: 12px;
	line-height: 14px;
	color: var(--white);
	transition: background-color 0.3s, padding 0.4s var(--ease-out);
}
.site-nav__sub a svg { width: 12px; height: 10px; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.4s var(--ease-out); color: var(--sky); }
@media (hover: hover) {
	.site-nav__sub a:hover { background: rgba(255, 255, 255, 0.06); padding-left: 28px; }
	.site-nav__sub a:hover svg { opacity: 1; transform: none; }
}

.site-header__actions { display: flex; gap: 12px; margin-left: 68px; }
.site-header__actions .btn { min-width: 124px; }
.header--light .site-header .btn--outline { border-color: var(--line-dark); color: var(--navy); }
.header--light .site-header .btn--white { background: var(--navy); border-color: var(--navy); color: var(--white); }
@media (hover: hover) {
	.header--light .site-header .btn--white:hover { background: transparent; border-color: var(--navy); color: var(--navy); }
	.header--light .site-header .btn--outline:hover { border-color: var(--navy); color: var(--navy); }
	.header--light .site-header .btn--outline:hover::before { opacity: 0.06; }
}

/* Sticky state: after scrolling, the header pins, takes a solid background
   and hides while scrolling down. */
.site-header.is-pinned {
	position: fixed;
	background: var(--brand);
	transform: translateY(-100%);
	transition: transform 0.55s var(--ease-out), background-color 0.4s;
}
.header--light .site-header.is-pinned { background: var(--white); }
.site-header.is-pinned.is-visible { transform: none; }
.site-header.is-pinned .site-header__inner { height: 72px; padding-top: 0; border-bottom-color: transparent; }
.site-header.is-pinned.is-visible { box-shadow: 0 10px 40px rgba(8, 18, 40, 0.18); }

/* Burger + mobile menu */
.menu-toggle { display: none; position: relative; width: 40px; height: 40px; margin-left: auto; margin-right: -8px; color: inherit; }
.menu-toggle span { position: absolute; left: 9px; right: 9px; height: 1px; background: currentColor; transition: transform 0.5s var(--ease-out), opacity 0.3s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 25px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 99;
	display: flex;
	flex-direction: column;
	padding: 112px var(--gutter) 32px;
	background: var(--navy);
	color: var(--white);
	overflow-y: auto;
	clip-path: inset(0 0 100% 0);
	visibility: hidden;
	transition: clip-path 0.7s var(--ease-in-out), visibility 0s linear 0.7s;
}
.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; transition-delay: 0s; }
.mobile-menu__list > li { border-bottom: 1px solid var(--line-light); overflow: hidden; }
.mobile-menu__list a, .mobile-menu__list button {
	display: flex; justify-content: space-between; align-items: center; width: 100%;
	padding: 18px 0; font-family: var(--serif); font-size: 30px; line-height: 34px; text-align: left;
}
.mobile-menu__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-out); }
.mobile-menu__sub > ul { overflow: hidden; }
.mobile-menu__sub a { font-family: var(--sans); font-size: 16px; line-height: 25px; padding: 8px 0; color: var(--sky); }
.mobile-menu__sub ul { padding-bottom: 0; }
.is-open > .mobile-menu__sub { grid-template-rows: 1fr; }
.is-open > .mobile-menu__sub ul { padding-bottom: 16px; }
.mobile-menu__list .site-nav__chevron { position: static; width: 16px; height: 9px; }
.is-open > button .site-nav__chevron { transform: rotate(180deg); }
.mobile-menu__actions { display: flex; gap: 12px; margin-top: 32px; }
.mobile-menu__actions .btn { flex: 1; height: 44px; }
.mobile-menu__contact { margin-top: auto; padding-top: 40px; font-size: 12px; line-height: 18px; font-weight: 300; }
.mobile-menu__contact a { display: block; font-size: 16px; line-height: 25px; font-weight: 400; }
.js .mobile-menu__list > li > * { transform: translateY(100%); transition: transform 0.7s var(--ease-out); }
.menu-open .mobile-menu__list > li > * { transform: none; }
.menu-open .mobile-menu__list > li:nth-child(2) > * { transition-delay: 0.06s; }
.menu-open .mobile-menu__list > li:nth-child(3) > * { transition-delay: 0.12s; }
.menu-open .mobile-menu__list > li:nth-child(4) > * { transition-delay: 0.18s; }
.menu-open .mobile-menu__list > li:nth-child(5) > * { transition-delay: 0.24s; }
.menu-open { overflow: hidden; }
.menu-open .site-header { position: fixed; color: var(--white); background: transparent; transform: none; --header-line: transparent; }
.menu-open .site-header.is-pinned .site-header__inner { height: var(--header-h); padding-top: 16px; }

@media (max-width: 1180px) {
	.site-nav__list { gap: 40px; }
	.site-header__actions { margin-left: 40px; }
}
@media (max-width: 1023px) {
	:root { --header-h: 76px; }
	.site-header__inner { padding-top: 0; }
	.site-nav, .site-header__actions { display: none; }
	.menu-toggle { display: block; }
}
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ==========================================================================
   Footer — measured from the footer frame (1440 x 665)
   ========================================================================== */
.site-footer { background: var(--brand-deep); color: var(--white); padding: 66px 0 77px; }
.site-footer__top {
	display: grid;
	grid-template-columns: 341fr 156fr 297fr 322fr 180fr; /* columns at x 72 / 413 / 569 / 866 / 1188 */
	align-items: start;
}
.site-footer__logo { display: block; width: 108px; height: 30px; margin-bottom: 32px; }
.site-footer__logo svg { width: 108px; height: 30px; }
.site-footer__blurb { max-width: 264px; font-size: 12px; line-height: 18px; font-weight: 300; }
.site-footer__cta { margin-top: 33px; }
.site-footer__menu { display: grid; row-gap: 35px; padding-top: 62px; font-size: 12px; line-height: 14px; }
.site-footer__menu a { justify-self: start; }
.site-footer__assist { padding-top: 62px; }
.site-footer__assist h2 { font-family: var(--serif); font-weight: 400; font-size: 14px; line-height: 16px; color: var(--sky); margin-bottom: 19px; }
.site-footer__assist ul { display: grid; row-gap: 21px; font-size: 12px; line-height: 14px; }
.site-footer__address { padding-top: 97px; font-size: 12px; line-height: 16px; font-weight: 300; font-style: normal; }
.site-footer__address strong { font-weight: 300; display: block; }
.site-footer__social { display: flex; align-items: center; gap: 6px; margin-top: 34px; font-size: 12px; line-height: 14px; }
.site-footer__social a {
	display: inline-flex; align-items: center; justify-content: center; height: 25px; padding: 0 9px;
	border: 1px solid var(--line-light); border-radius: 6px; transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
@media (hover: hover) { .site-footer__social a:hover { background: var(--white); color: var(--brand-deep); border-color: var(--white); } }
.site-footer__bottom { max-width: 1280px; margin-top: 50px; } /* 50px under the tallest column (the 4-link menu), rule at footer y340 */
.site-footer__legal {
	display: flex; flex-wrap: wrap; gap: 0 6px; padding: 23px 0 26px;
	border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
	font-size: 12px; line-height: 14px;
}
.site-footer__disclaimer { padding-top: 23px; font-size: 10px; line-height: 18px; font-weight: 300; }

@media (max-width: 1023px) {
	.site-footer { padding: 56px 0 48px; }
	.site-footer__top { grid-template-columns: 1fr 1fr; row-gap: 40px; column-gap: 24px; }
	.site-footer__brand { grid-column: 1 / -1; }
	.site-footer__menu, .site-footer__assist, .site-footer__address { padding-top: 0; }
	.site-footer__address { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.site-footer__assist { grid-column: 1 / -1; }
	/* Phone: page links as a 2x2 grid, then the company names full width so
	   the long names don't wrap into a narrow column next to the page links. */
	.site-footer__menu { grid-column: 1 / -1; row-gap: 22px; }
	.site-footer__menu:not(.site-footer__menu + .site-footer__menu) { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

/* ==========================================================================
   Motion. Content is visible without JS; html.js arms the reveal states.
   ========================================================================== */
.js [data-reveal] {
	opacity: 0;
	transform: translate3d(0, 28px, 0);
	transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
	transition-delay: var(--d, 0s);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translate3d(-32px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(32px, 0, 0); }
.js [data-reveal="line"] { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="media"] { opacity: 1; transform: none; clip-path: inset(12% 0 0 0 round 8px); transition: clip-path 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="media"] img, .js [data-reveal="media"] video { transform: scale(1.15); transition: transform 1.8s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="media"].is-in { clip-path: inset(0 0 0 0 round 8px); }
.js [data-reveal="media"].is-in img, .js [data-reveal="media"].is-in video { transform: none; }

/* Word-by-word heading reveal (main.js wraps words). */
.js [data-reveal="words"] { opacity: 1; transform: none; }
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.word > span { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform 1s var(--ease-out); transition-delay: calc(var(--d, 0s) + var(--wi, 0) * 28ms); }
[data-reveal="words"].is-in .word > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
	.js [data-reveal], .js [data-reveal] img, .word > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* Generic content pages (privacy policy, sample pages, single posts). */
.page-hero { padding: calc(var(--header-h) + 118px) 0 80px; }
.page-hero .label { margin-bottom: 30px; }
.entry { padding: 80px 0 140px; }
.entry__body { max-width: 760px; font-size: 16px; line-height: 25px; }
.entry__body > * + * { margin-top: 25px; }
.entry__body h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 34px; margin-top: 50px; }
.entry__body h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 30px; margin-top: 40px; }
.entry__body a { text-decoration: underline; text-underline-offset: 3px; }
.entry__body ul { list-style: disc; padding-left: 20px; }
.entry__body ol { list-style: decimal; padding-left: 20px; }
.entry__body img { border-radius: 8px; }

/* QA: avoid single-word orphans on the last line of body copy (progressive). */
p, li { text-wrap: pretty; }

/* "All services" closes the Services dropdown, set off by a hairline. */
.site-nav__sub .site-nav__sub-all { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.site-nav__sub .site-nav__sub-all a { color: var(--sky); }

/* Contact form spam trap: out of sight for people and screen readers. */
.cms-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Mobile quick contact bar */
.quick-contact { display: none; }
@media (max-width: 1023px) {
	.quick-contact {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom));
		z-index: 90;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		background: var(--navy-deep);
		border: 1px solid rgba(255, 255, 255, 0.14);
		border-radius: 8px;
		box-shadow: 0 14px 40px rgba(8, 18, 40, 0.35);
		transform: translateY(calc(100% + 24px));
		transition: transform 0.5s var(--ease-out);
	}
	.quick-contact.is-visible { transform: none; }
	.menu-open .quick-contact { transform: translateY(calc(100% + 24px)); }
	.quick-contact a {
		display: flex; align-items: center; justify-content: center; gap: 8px;
		min-height: 52px; color: var(--white); font-size: 13px; line-height: 16px;
	}
	.quick-contact a + a { border-left: 1px solid rgba(255, 255, 255, 0.12); }
	.quick-contact svg { width: 18px; height: 18px; color: var(--sky); }
	.quick-contact a:active { background: rgba(255, 255, 255, 0.06); }
	
}
@media (prefers-reduced-motion: reduce) { .quick-contact { transition: none; } }
