/* ==========================================================================
   Mortise — main stylesheet
   1 Tokens · 2 Base · 3 Layout · 4 Components · 5 Header · 6 Home
   7 Inner pages · 8 Respond + footer · 9 Motion · 10 Preferences
   ========================================================================== */

/* 1 ── Tokens ─────────────────────────────────────────────────────────── */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
	--navy: #0A2A43; --navy-2: #12395C; --navy-deep: #071F33; --navy-face: #0E3150;
	--mint: #5DC99E; --mint-hover: #4DBD90; --mint-ink: #157A57; --mint-tint: #E9F6F0; --mint-map: #A9DFC7;
	--ink-2: #3E5568; --muted: #5B6F80; --paper: #F4F7F6; --line: #DCE4E9; --field: #7A8D9D;
	--on-navy: #B8C7D3; --on-navy-strong: #FFFFFF; --error: #B42318; --error-tint: #FDF0EE;
	--ease-out: cubic-bezier(.23, 1, .32, 1);
	--ease-in-out: cubic-bezier(.77, 0, .175, 1);
	--ease-drawer: cubic-bezier(.32, .72, 0, 1);
	--gutter: clamp(20px, 5vw, 64px);
	--sec: clamp(72px, 10vw, 136px);
	--hdr-h: 80px;
	--radius: 10px;
	--shadow-lift: 0 30px 60px -32px rgba(10, 42, 67, .35), 0 8px 18px -12px rgba(10, 42, 67, .16);
	--font-display: "Outfit", "Inter", ui-sans-serif, system-ui, sans-serif;
	--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* 2 ── Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
	font: 400 1.0625rem/1.65 var(--font-body); color: var(--ink-2); background: #fff;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
	font-optical-sizing: auto; padding-top: var(--hdr-h); overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--mint-ink); }
button { font: inherit; color: inherit; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
.ftr ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: rgba(93, 201, 158, .35); color: var(--navy); }
:focus-visible { outline: 2px solid var(--mint-ink); outline-offset: 3px; border-radius: 4px; }
.sec--navy :focus-visible, .respond :focus-visible, .ftr :focus-visible { outline-color: var(--mint); }
.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 { position: fixed; left: 16px; top: -64px; z-index: 100; padding: 12px 18px; background: var(--navy); color: #fff; border-radius: 8px; font-weight: 600; transition: top 160ms var(--ease-out); }
.skip:focus { top: 12px; color: #fff; }
.main:focus { outline: none; }

.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* 3 ── Layout ─────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: calc(1280px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: calc(1440px + 2 * var(--gutter)); }
.wrap--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: calc(var(--sec) * .72); }
.sec--paper { background: var(--paper); }
.sec--navy { background: var(--navy); color: var(--on-navy); }
.sec--navy h2, .sec--navy h3 { color: #fff; }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.sec-head--split .lede { margin-bottom: 4px; }
.sec-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .lede { margin-inline: auto; }

/* 4 ── Components ─────────────────────────────────────────────────────── */
.eyebrow { display: flex; align-items: center; gap: 16px; font: 600 .75rem/1.2 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--navy); margin-bottom: 20px; }
.eyebrow::after { content: ""; width: 44px; height: 2px; background: var(--mint); flex: none; }
.eyebrow--on-dark { color: var(--on-navy); }
.h2 { font-size: clamp(1.95rem, 3.3vw, 3.1rem); line-height: 1.06; letter-spacing: -.025em; max-width: 18ch; }
.sec-head--split .h2 { max-width: 20ch; }
.h3 { font-size: clamp(1.3rem, 1.6vw, 1.5rem); line-height: 1.2; letter-spacing: -.01em; }
.lede { font-size: clamp(1.0625rem, 1.15vw, 1.1875rem); line-height: 1.65; color: var(--ink-2); max-width: 38rem; }
.sec--navy .lede { color: var(--on-navy); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: 0 1.35em;
	border: 1.5px solid transparent; border-radius: 8px; font: 600 .9375rem/1.1 var(--font-body); letter-spacing: .005em;
	text-decoration: none; cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn__ic { width: 18px; height: 18px; stroke-width: 2; transition: transform 200ms var(--ease-out); }
.btn__ic--lead { stroke-width: 1.8; }
.btn--primary { background: var(--mint); color: var(--navy); }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--on-dark { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--lg { min-height: 54px; padding: 0 1.6em; font-size: 1rem; }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
	.btn--primary:hover { background: var(--mint-hover); color: var(--navy); }
	.btn--line:hover { background: var(--navy); color: #fff; }
	.btn--on-dark:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }
	.btn:hover .btn__ic:not(.btn__ic--lead) { transform: translateX(3px); }
}

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .9375rem; color: var(--navy); text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid var(--mint); }
.link-arrow .ic { width: 18px; height: 18px; stroke-width: 2; transition: transform 200ms var(--ease-out); }
.link-arrow--on-dark { color: #fff; }
@media (hover: hover) and (pointer: fine) {
	.link-arrow:hover { color: var(--mint-ink); }
	.link-arrow--on-dark:hover { color: var(--mint); }
	.link-arrow:hover .ic { transform: translateX(3px); }
}

.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.ticks .ic { width: 20px; height: 20px; color: var(--mint-ink); stroke-width: 2; margin-top: 2px; }
.ticks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .8125rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs [aria-current] { color: var(--navy); }

.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-left: 3px solid var(--mint); background: var(--mint-tint); border-radius: 0 8px 8px 0; font-size: .9375rem; color: var(--navy); }
.note .ic { color: var(--mint-ink); margin-top: 1px; }
.note--alert { border-left-color: var(--error); background: var(--error-tint); }
.note--alert .ic { color: var(--error); }

/* 5 ── Header ─────────────────────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hdr-h); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); transition: box-shadow 200ms ease, background-color 200ms ease; }
.hdr::after { content: ""; position: absolute; inset: auto 0 -14px; height: 14px; pointer-events: none; background: linear-gradient(180deg, rgba(10, 42, 67, .07), rgba(10, 42, 67, 0)); opacity: 0; transition: opacity 200ms ease; }
.hdr.is-compact { background: rgba(255, 255, 255, .97); }
.hdr.is-compact::after { opacity: 1; }
.hdr__bar { display: flex; align-items: center; gap: 28px; height: 100%; }
.hdr__logo { flex: none; display: block; transform-origin: left center; transition: transform 200ms var(--ease-out); }
.hdr.is-compact .hdr__logo { transform: scale(.9); }
.logo { height: 34px; width: auto; }

.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: 10px 12px; font: 500 .9375rem/1 var(--font-body); color: var(--navy); text-decoration: none; border-radius: 6px; transition: color 150ms ease; }
.nav__item--sub .nav__link { padding-right: 4px; }
.nav__link[aria-current] { box-shadow: inset 0 -2px 0 var(--mint); border-radius: 0; }
.nav__link:hover { color: var(--mint-ink); }
.nav__toggle { display: grid; place-items: center; width: 30px; height: 36px; padding: 0; border: 0; background: none; color: var(--navy); cursor: pointer; border-radius: 6px; }
.nav__toggle .ic { width: 16px; height: 16px; stroke-width: 2; transition: transform 200ms var(--ease-out); }
.nav__toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }

.sub {
	position: absolute; top: calc(100% + 12px); left: -16px; z-index: 5; background: #fff; border: 1px solid var(--line); border-radius: 12px;
	box-shadow: var(--shadow-lift); padding: 24px; visibility: hidden; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: 30px top;
	transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
}
.sub::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.sub.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s; }
.sub.is-closing { transition-duration: 120ms; }
.sub--services { width: min(880px, calc(100vw - 2 * var(--gutter))); left: -40px; }
.sub__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 28px; }
.sub__head { display: flex; align-items: baseline; gap: 10px; font: 600 .75rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 0 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.sub__head span { color: var(--mint-ink); }
.sub a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 8px; color: var(--navy); text-decoration: none; font-size: .9375rem; line-height: 1.35; transition: background-color 150ms ease; }
.sub a .ic { width: 22px; height: 22px; color: var(--mint-ink); }
.sub a:hover { background: var(--paper); color: var(--navy); }
.sub a[aria-current] { background: var(--mint-tint); }
.sub__all { margin-top: 14px; border-top: 1px solid var(--line); border-radius: 0 !important; padding-top: 16px !important; font-weight: 600; align-items: center !important; }
.sub__all .ic { width: 18px !important; height: 18px !important; color: var(--navy) !important; stroke-width: 2; }
.sub--resources { width: 360px; }
.sub__list { display: grid; gap: 2px; }
.sub__list strong { display: block; font-weight: 600; }
.sub__list small { display: block; font-size: .8125rem; color: var(--muted); margin-top: 2px; }

.hdr__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.hdr__tel { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border: 1.5px solid var(--navy); border-radius: 8px; color: var(--navy); font: 600 .9375rem/1 var(--font-body); text-decoration: none; white-space: nowrap; transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.hdr__tel .ic { width: 18px; height: 18px; color: var(--mint-ink); stroke-width: 1.8; transition: color 160ms ease; }
.hdr__tel:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .hdr__tel:hover { background: var(--navy); color: #fff; } .hdr__tel:hover .ic { color: var(--mint); } }
.hdr__cta { min-height: 46px; }
.hdr__menu { display: none; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; color: var(--navy); transition: transform 160ms var(--ease-out); }
.hdr__menu:active { transform: scale(.95); }
.hdr__menu-close { display: none; }
.hdr__menu[aria-expanded="true"] .hdr__menu-open { display: none; }
.hdr__menu[aria-expanded="true"] .hdr__menu-close { display: block; }

.drawer { position: fixed; inset: var(--hdr-h) 0 0; z-index: 55; overflow-y: auto; overscroll-behavior: contain; background: #fff; padding: 12px var(--gutter) max(24px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 28px; opacity: 0; transform: translateY(-10px); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }
.drawer.is-open { opacity: 1; transform: none; transition-duration: 300ms; transition-timing-function: var(--ease-drawer); }
.drawer__list > li { border-bottom: 1px solid var(--line); }
.drawer__list a, .drawer__group summary { display: flex; align-items: center; justify-content: space-between; min-height: 58px; font: 600 1.25rem/1.2 var(--font-display); color: var(--navy); text-decoration: none; cursor: pointer; list-style: none; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group summary .ic { width: 20px; height: 20px; transition: transform 200ms var(--ease-out); }
.drawer__group[open] summary .ic { transform: rotate(180deg); }
.drawer__group ul { padding: 0 0 14px 2px; }
.drawer__group ul a { min-height: 44px; font: 500 1rem/1.3 var(--font-body); color: var(--ink-2); }
.drawer__group .drawer__all { font-weight: 600; color: var(--navy); }
.drawer__foot { display: grid; gap: 10px; margin-top: auto; }
.drawer__note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .875rem; color: var(--muted); margin-top: 6px; }
.drawer__note .ic { width: 18px; height: 18px; color: var(--error); }

/* 6 ── Home ───────────────────────────────────────────────────────────── */
/* Hero */
.hero { position: relative; min-height: clamp(600px, calc(100vh - var(--hdr-h) - 96px), 760px); display: flex; align-items: center; overflow: hidden; background: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0 0 0 45%; z-index: -1; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.hero__media picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 64% 46%; }
.hero__media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 18%); }
.hero__curve { position: absolute; z-index: 2; right: 0; bottom: 0; width: 64%; height: 17%; overflow: visible; }
.hero__curve path { fill: none; stroke: var(--mint); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero__wrap { position: relative; }
.hero__copy { width: min(600px, 46%); padding-block: clamp(40px, 6vh, 72px); }
.hero__eyebrow { margin-bottom: 26px; }
.hero__title { font-size: clamp(2.6rem, 4.55vw, 4.75rem); line-height: .98; letter-spacing: -.035em; }
.hero__line { display: block; }
.hero__line--accent { color: var(--mint-ink); }
.hero__lede { margin-top: 26px; max-width: 31rem; font-size: clamp(1.0625rem, 1.2vw, 1.1875rem); line-height: 1.6; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 34px; }
.hero__emergency { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: .9375rem; color: var(--muted); }
.hero__emergency .ic { width: 20px; height: 20px; color: var(--mint-ink); }
.hero__emergency a { font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Capability strip */
.cap { position: relative; z-index: 2; background: var(--paper); border-block: 1px solid var(--line); }
.cap__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 26px; }
.cap__item { display: flex; align-items: center; gap: 16px; padding-inline: clamp(16px, 2.2vw, 32px); border-left: 1px solid var(--line); }
.cap__item:first-child { border-left: 0; padding-left: 0; }
.cap__item .ic { width: 40px; height: 40px; color: var(--mint-ink); stroke-width: 1.4; }
.cap__item p { line-height: 1.35; }
.cap__item strong { display: block; font: 600 1.0625rem/1.25 var(--font-display); color: var(--navy); }
.cap__item span { display: block; font-size: .875rem; color: var(--muted); margin-top: 3px; }

/* Sectors */
.sector-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.sector-row > li { border-left: 1px solid var(--line); }
.sector-row > li:first-child { border-left: 0; }
.sector { position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 34px clamp(18px, 2vw, 30px) 30px; color: inherit; text-decoration: none; }
.sector-row > li:first-child .sector { padding-left: 0; }
.sector::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out); }
.sector__ic { width: 38px; height: 38px; color: var(--mint-ink); stroke-width: 1.4; }
.sector__title { font-size: 1.3125rem; line-height: 1.2; letter-spacing: -.01em; }
.sector__text { font-size: .96875rem; line-height: 1.6; }
.sector__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font: 600 .875rem/1 var(--font-body); color: var(--navy); }
.sector__more .ic { width: 16px; height: 16px; stroke-width: 2; transition: transform 200ms var(--ease-out); }
.sector:focus-visible::before { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
	.sector:hover::before { transform: scaleX(1); }
	.sector:hover .sector__more { color: var(--mint-ink); }
	.sector:hover .sector__more .ic { transform: translateX(3px); }
}
.sector-also { margin-top: 30px; font-size: .9375rem; color: var(--muted); }
.sector-also a { font-weight: 600; }

/* Featured service panels */
.panels { --slant: 46px; --gap: 12px; display: flex; margin-inline: auto; }
.panels__item { flex: 1 1 0; min-width: 0; height: clamp(280px, 24vw, 340px); margin-right: calc(var(--gap) - var(--slant)); }
.panels__item:last-child { margin-right: 0; }
.panel { position: relative; display: block; height: 100%; color: #fff; text-decoration: none; isolation: isolate; -webkit-tap-highlight-color: transparent; }
.panel:focus-visible { outline: none; }
.panel__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; clip-path: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%); background: var(--navy); }
.panel__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 300ms var(--ease-out); }
.panel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 31, 51, .06) 20%, rgba(7, 31, 51, .82) 100%); transition: opacity 260ms var(--ease-out); }
.panel__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(200deg, rgba(93, 201, 158, 0) 40%, rgba(93, 201, 158, .32) 100%); opacity: 0; transition: opacity 260ms var(--ease-out); }
.panel__body { position: absolute; left: clamp(18px, 1.6vw, 26px); right: calc(var(--slant) + 12px); bottom: clamp(20px, 1.8vw, 28px); display: grid; gap: 12px; }
.panel__ic { width: 34px; height: 34px; stroke-width: 1.4; }
.panel__title { font: 600 clamp(1.25rem, 1.55vw, 1.55rem)/1.1 var(--font-display); letter-spacing: -.01em; }
.panel__title span { display: block; }
.panel__arrow { position: absolute; right: 0; bottom: 3px; width: 22px; height: 22px; stroke-width: 2; transition: transform 260ms var(--ease-out); }
.panel:focus-visible .panel__media { box-shadow: inset 0 0 0 4px var(--mint); }
.panel:focus-visible .panel__media img { transform: scale(1.035); }
.panel:focus-visible .panel__media::before { opacity: 1; }
.panel:focus-visible .panel__arrow { transform: translateX(4px); }
@media (hover: hover) and (pointer: fine) {
	.panel:hover .panel__media img { transform: scale(1.035); }
	.panel:hover .panel__media::before { opacity: 1; }
	.panel:hover .panel__media::after { opacity: .9; }
	.panel:hover .panel__arrow { transform: translateX(4px); }
}
.panel:active .panel__body { transform: scale(.985); transition: transform 160ms var(--ease-out); }
.svc-also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.svc-also__label { font: 600 .75rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.svc-also a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); text-decoration: none; font-size: .9375rem; font-weight: 500; transition: border-color 150ms ease, background-color 150ms ease, transform 160ms var(--ease-out); }
.svc-also a .ic { width: 20px; height: 20px; color: var(--mint-ink); }
.svc-also a:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .svc-also a:hover { border-color: var(--navy); color: var(--navy); } }

/* Process */
.process-home { background: var(--paper); }
.process { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.process__media { position: relative; aspect-ratio: 4 / 4.6; max-height: 680px; overflow: hidden; border-radius: var(--radius); background: var(--navy); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), calc(100% - 64px) 100%, 0 100%); }
.process__img { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); filter: blur(2px); transition: opacity 320ms ease, transform 600ms var(--ease-out), filter 320ms ease; }
.process__img.is-active { opacity: 1; transform: none; filter: none; }
.process__img img { width: 100%; height: 100%; object-fit: cover; }
.process__badge { position: absolute; left: 24px; bottom: 20px; font: 600 4.5rem/1 var(--font-display); letter-spacing: -.04em; color: #fff; text-shadow: 0 4px 24px rgba(7, 31, 51, .45); }
.process__media::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, rgba(7, 31, 51, 0), rgba(7, 31, 51, .55)); pointer-events: none; }
.process__badge { z-index: 1; }
.h2 + .lede, .page-title + .lede { margin-top: 20px; }
.stages { margin: 40px 0 34px; }
.stages__track { display: none; }
.stage-panel { padding: 26px 0 26px 28px; border-left: 2px solid var(--mint); margin-bottom: 18px; }
.stage-panel__n { font: 600 .75rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--mint-ink); margin-bottom: 10px; }
.stage-panel__title { font-size: clamp(1.35rem, 1.7vw, 1.6rem); line-height: 1.2; letter-spacing: -.015em; margin-bottom: 10px; }
.stage-panel > p { max-width: 34rem; }
.stage-panel .ticks { margin-top: 20px; font-size: .9375rem; color: var(--navy); }
.stage-panel__svc { margin-top: 20px; font-size: .875rem; color: var(--muted); }
.stage-panel__svc a { font-weight: 600; }
.stages__list { display: none; }

/* Tabs mode (JS, wide screens) */
.process.is-tabs .stages__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.process.is-tabs .stages__track { display: block; position: relative; height: 2px; background: var(--line); margin-bottom: -2px; }
.process.is-tabs .stages__fill { position: absolute; inset: 0; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-in-out); }
.stage-tab { position: relative; display: grid; justify-items: center; gap: 6px; width: 100%; padding: 22px 6px 14px; border: 0; background: none; cursor: pointer; color: var(--muted); text-align: center; -webkit-tap-highlight-color: transparent; transition: color 200ms ease; }
.stage-tab::before { content: ""; position: absolute; top: -8px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--paper); border: 2px solid var(--field); transition: background-color 200ms ease, border-color 200ms ease, transform 200ms var(--ease-out); }
.stage-tab__n { font: 600 .75rem/1 var(--font-body); letter-spacing: .18em; }
.stage-tab__name { font: 600 1.375rem/1.15 var(--font-display); letter-spacing: -.01em; }
.stage-tab[aria-selected="true"] { color: var(--navy); }
.stage-tab[aria-selected="true"]::before { background: var(--mint); border-color: var(--mint); transform: scale(1.15); }
.stage-tab[aria-selected="true"] .stage-tab__n { color: var(--mint-ink); }
.stage-tab.is-done::before { background: var(--mint); border-color: var(--mint); }
.stage-tab:active .stage-tab__name { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .stage-tab:hover { color: var(--navy); } }
.process.is-tabs .stage-panel { border-left: 0; padding: 26px 0 0; margin: 0; }
.process.is-tabs .stage-panel__n { display: none; }
.process.is-tabs .stage-panel[hidden] { display: none; }

/* Why */
.why__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.why__media { position: sticky; top: calc(var(--hdr-h) + 32px); padding: 0 clamp(32px, 5vw, 72px) clamp(70px, 8vw, 110px) 0; }
.why__img { overflow: hidden; border-radius: var(--radius); }
.why__img img { width: 100%; height: 100%; object-fit: cover; }
.why__img--main { aspect-ratio: 4 / 4.7; }
.why__img--inset { position: absolute; right: 0; bottom: 34px; width: 50%; aspect-ratio: 4 / 3; border: 6px solid #fff; box-shadow: var(--shadow-lift); }
.why__media figcaption { position: absolute; left: 0; bottom: 0; max-width: 46%; font-size: .8125rem; line-height: 1.5; color: var(--muted); padding-top: 12px; border-top: 2px solid var(--mint); }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 44px); margin-top: clamp(32px, 4vw, 48px); }
.benefit { padding: 22px 0 24px; border-top: 1px solid var(--line); }
.benefit__n { font: 600 .75rem/1 var(--font-body); letter-spacing: .16em; color: var(--mint-ink); }
.benefit__title { font-size: 1.1875rem; line-height: 1.25; letter-spacing: -.01em; margin: 10px 0 8px; }
.benefit p { font-size: .96875rem; line-height: 1.6; }

/* Mortise & Tenon */
.group { position: relative; overflow: hidden; }
.group::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 82% 40%, rgba(93, 201, 158, .10), transparent 70%); }
.group__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.group__title { font-size: clamp(2.3rem, 4.4vw, 4.1rem); line-height: 1.04; letter-spacing: -.03em; color: #fff; }
.group__line { display: block; }
.group__title img { display: inline-block; width: auto; vertical-align: baseline; margin-right: .16em; }
.group__tenon { height: .66em; position: relative; top: .1em; }
.group__mortise { height: .76em; position: relative; top: .13em; }
.group__accent { color: var(--mint); }
.group__lede { margin-top: 26px; max-width: 34rem; color: var(--on-navy); }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.roles dt { display: flex; align-items: center; gap: 10px; font: 600 1.125rem/1.2 var(--font-display); color: #fff; }
.roles dt::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--mint); }
.roles__item + .roles__item dt::before { background: #fff; }
.roles dd { margin: 10px 0 0; font-size: .9375rem; line-height: 1.6; color: var(--on-navy); }
.group__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 34px; }
.group__links .ic { width: 18px; height: 18px; stroke-width: 2; }
.group__art { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background-color: var(--navy-deep);
	background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 140px 140px, 140px 140px, 28px 28px, 28px 28px; background-position: -1px -1px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.group__art::before, .group__art::after { content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid var(--mint); }
.group__art::before { top: 18px; left: 18px; border-top-width: 2px; border-left-width: 2px; }
.group__art::after { right: 18px; bottom: 18px; border-right-width: 2px; border-bottom-width: 2px; }
.joint { position: absolute; inset: 6%; width: 88%; height: 88%; overflow: visible; }
.joint .face { fill: var(--navy-face); stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; }
.joint .hatch { stroke: rgba(255, 255, 255, .2); stroke-width: 1.1; }
.joint .slot { fill: var(--navy-deep); stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.joint .accent { stroke: var(--mint); stroke-width: 2; stroke-linecap: round; }
.joint .dash { stroke: var(--mint); stroke-width: 1.6; stroke-dasharray: 7 7; }
.joint .arrow { fill: none; stroke: var(--mint); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.joint .seam { fill: none; stroke: var(--mint); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.joint .leader { stroke: rgba(255, 255, 255, .7); stroke-width: 1.3; }
.joint .lbl { fill: #fff; font: 600 18px var(--font-display); letter-spacing: .18em; text-anchor: middle; }
.j-post, .j-beam, .j-rel { transition: transform 1100ms var(--ease-in-out) 500ms; }
.j-guides { transition: opacity 200ms var(--ease-out) 620ms; }
.joint .seam { transition: opacity 420ms var(--ease-out) 1600ms; }
.joint-play .j-post { transform: translate(-80.11px, 46.25px); }
.joint-play .j-beam { transform: translate(80.11px, -46.25px); }
.joint-play .j-rel { transform: translate(160.21px, -92.5px); }
.joint-play .j-guides { opacity: 0; }
.joint-play .seam { opacity: 1; }

/* Coverage + resources */
.cov__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.cov__map { margin: 0; }
.map { width: 100%; height: auto; }
.map-st { fill: #EDF1F4; stroke: #D3DCE3; stroke-width: 1; stroke-linejoin: round; }
.map-cov { fill: var(--mint-map); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.map-lbl { font: 600 13px var(--font-body); letter-spacing: .1em; fill: var(--navy); }
.map-lbl--sm { font-size: 11px; }
.map-leader { stroke: var(--navy); stroke-width: 1; fill: none; }
.map-office__ring { fill: #fff; stroke: var(--navy); stroke-width: 2.2; }
.map-office__dot { fill: var(--navy); }
.map-city { font: 600 12.5px var(--font-body); fill: var(--navy); paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: 3px; }
.cov__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; font-size: .8125rem; color: var(--muted); }
.cov__key { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.cov__key--area { background: var(--mint-map); }
.cov__key--office { margin-left: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--navy), inset 0 0 0 5px #fff, inset 0 0 0 8px var(--navy); }
.offices { margin-top: 32px; border-top: 1px solid var(--line); }
.office { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.office .ic { color: var(--mint-ink); width: 22px; height: 22px; }
.office__city { font: 600 1.125rem/1.2 var(--font-display); color: var(--navy); }
.office__city small { display: inline-block; margin-left: 10px; font: 500 .75rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--mint-ink); }
.office a { font-size: .9375rem; }
.res { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); margin-top: clamp(64px, 8vw, 112px); }
.res__item { display: flex; flex-direction: column; gap: 16px; padding: clamp(26px, 3vw, 40px); background: var(--paper); border-radius: 12px; }
.res__item--guide { background: var(--mint-tint); }
.res__head { display: flex; gap: 18px; align-items: flex-start; }
.res__ic { width: 42px; height: 42px; color: var(--mint-ink); stroke-width: 1.4; }
.res__kicker { font: 600 .75rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.res__title { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; margin-top: 6px; }
.res__title a { text-decoration: none; }
.res__list { padding-left: 1.2em; display: grid; gap: 6px; color: var(--navy); }
.res__qs { display: grid; gap: 4px; }
.res__qs a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.res__item .link-arrow { align-self: flex-start; margin-top: auto; }

/* 8 ── Respond + footer ───────────────────────────────────────────────── */
.respond { position: relative; padding-block: var(--sec); }
.respond__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px clamp(40px, 6vw, 90px); padding: clamp(36px, 5.5vw, 80px); background: var(--navy); border-radius: 20px; color: var(--on-navy); overflow: hidden; box-shadow: 0 50px 80px -50px rgba(7, 31, 51, .6); }
.respond__grid::after { content: ""; position: absolute; right: -60px; top: -100px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(93, 201, 158, .14), transparent 70%); pointer-events: none; }
.respond__main, .respond__steps, .respond__note { position: relative; z-index: 1; }
.respond__title { font-size: clamp(2rem, 3.4vw, 3.15rem); line-height: 1.05; letter-spacing: -.025em; color: #fff; }
.respond__lede { margin-top: 20px; max-width: 32rem; }
.respond__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.respond__tel { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.respond__tel .ic { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: rgba(93, 201, 158, .16); color: var(--mint); stroke-width: 1.8; }
.respond__tel strong { display: block; font: 600 1.5rem/1.1 var(--font-display); letter-spacing: -.01em; }
.respond__tel small { display: block; font-size: .8125rem; color: var(--on-navy); margin-top: 3px; }
.respond__tel:hover { color: var(--mint); }
.respond__steps { display: grid; gap: 22px; align-self: center; }
.respond__steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; }
.respond__n { grid-row: span 2; font: 600 .8125rem/1.7 var(--font-body); letter-spacing: .14em; color: var(--mint); }
.respond__steps h3 { font-size: 1.125rem; line-height: 1.3; color: #fff; }
.respond__steps p { font-size: .9375rem; line-height: 1.55; margin-top: 4px; }
.respond__note { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9375rem; }
.respond__note .ic { color: var(--mint); margin-top: 1px; }
.respond__note strong { color: #fff; }

.ftr { background: var(--navy-deep); color: #9FB3C3; padding: clamp(56px, 7vw, 96px) 0 28px; font-size: .9375rem; }
.ftr a { color: #D6E0E8; text-decoration: none; }
.ftr a:hover { color: var(--mint); }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 56px); }
.ftr__brand p { margin-top: 20px; max-width: 26rem; line-height: 1.6; }
.logo--ftr { height: 36px; }
.ftr__tel { display: grid; gap: 2px; }
.ftr__tel a { display: inline-flex; align-items: center; gap: 10px; font: 600 1.375rem/1.2 var(--font-display); color: #fff; }
.ftr__tel .ic { width: 22px; height: 22px; color: var(--mint); }
.ftr__tel span { font-size: .8125rem; }
.ftr h2 { font: 600 .75rem/1.2 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.ftr .ftr__sub { margin-top: 28px; }
.ftr__col ul { display: grid; gap: 9px; line-height: 1.45; }
.ftr__offices li { display: grid; }
.ftr__offices span { color: #fff; font-weight: 500; }
.ftr__cov { margin-top: 18px; }
.ftr__group { margin-top: 56px; }
.ftr__group-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: 28px; border-block: 1px solid rgba(255, 255, 255, .1); }
.ftr__group p { max-width: 44rem; }
.ftr__group strong { color: #fff; font-weight: 600; }
.ftr__tenon img { height: 30px; width: auto; }
.ftr__base { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 24px; font-size: .8125rem; }
.ftr__safety { display: flex; align-items: center; gap: 8px; margin-right: auto; color: #fff; }
.ftr__safety .ic { width: 18px; height: 18px; color: var(--mint); }

.mbar { display: none; }

/* 7b ── Responsive ──────────────────────────────────────────────────── */
html.is-locked { overflow: hidden; }
@media (max-width: 1240px) {
	.hdr__bar { gap: 18px; }
	.nav__link { padding: 10px 9px; }
}
@media (max-width: 1140px) {
	.nav { display: none; }
	.hdr__menu { display: grid; }
	.hdr__actions { margin-left: auto; }
}
@media (max-width: 1100px) {
	.cap__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
	.cap__item:nth-child(3) { border-left: 0; padding-left: 0; }
	.sector-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sector-row > li:nth-child(3) { border-left: 0; }
	.sector-row > li:nth-child(3) .sector { padding-left: 0; }
	.sector-row > li:nth-child(n+3) { border-top: 1px solid var(--line); }
	.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.panels__item { margin: 0; height: clamp(190px, 30vw, 260px); }
	.panels__item:last-child { grid-column: 1 / -1; }
	.panel__media { clip-path: none; border-radius: var(--radius); }
	.panel__body { right: 22px; }
	.ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
	.sec-head--split { grid-template-columns: 1fr; }
	.process, .why__grid, .group__grid, .cov__grid { grid-template-columns: 1fr; }
	.process__media { aspect-ratio: 16 / 11; max-height: 460px; }
	.why__media { position: relative; top: auto; max-width: 640px; }
	.group__art { max-width: 560px; width: 100%; justify-self: center; }
	.cov__map { max-width: 600px; }
	.respond__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.mbar { position: fixed; inset: auto 0 0; z-index: 50; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -10px 24px -18px rgba(10, 42, 67, .35); transform: translateY(110%); transition: transform 220ms var(--ease-out); }
	.mbar.is-visible { transform: none; }
	.mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 8px; font: 600 .9375rem/1 var(--font-body); text-decoration: none; }
	.mbar .ic { width: 18px; height: 18px; stroke-width: 2; }
	.mbar__tel { border: 1.5px solid var(--navy); color: var(--navy); }
	.mbar__cta { background: var(--mint); color: var(--navy); }
}
@media (max-width: 760px) {
	:root { --hdr-h: 68px; }
	.logo { height: 28px; }
	.eyebrow { letter-spacing: .14em; gap: 12px; margin-bottom: 16px; }
	.eyebrow::after { width: 28px; }
	.hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
	.hero__wrap { order: 1; }
	.hero__copy { width: 100%; padding-block: 30px 34px; }
	.hero__eyebrow { margin-bottom: 18px; }
	.hero__title { font-size: clamp(2.45rem, 10.4vw, 3rem); }
	.hero__lede { margin-top: 18px; }
	.hero__actions { display: grid; grid-template-columns: 1fr; margin-top: 26px; }
	.hero__actions .btn { width: 100%; }
	.hero__emergency { align-items: flex-start; }
	.hero__media { order: 2; position: relative; inset: auto; z-index: 0; aspect-ratio: 1000 / 835; clip-path: polygon(0 9%, 100% 0, 100% 100%, 0 100%); }
	.hero__media::before { display: none; }
	.hero__img { object-position: 50% 50%; }
	.hero__curve { width: 80%; height: 22%; }
	.cap__list { padding-block: 20px; gap: 18px 0; }
	.cap__item { gap: 12px; padding-inline: 14px 4px; align-items: flex-start; }
	.cap__item:nth-child(odd) { padding-left: 0; border-left: 0; }
	.cap__item .ic { width: 30px; height: 30px; }
	.cap__item strong { font-size: .9375rem; }
	.cap__item span { font-size: .8125rem; }
	.res { grid-template-columns: 1fr; }
	.office { grid-template-columns: auto minmax(0, 1fr); }
	.office a { grid-column: 2; }
	.respond__grid { border-radius: 14px; }
	.respond__actions { display: grid; }
	.respond__actions .btn { width: 100%; }
	.ftr__base { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
	.sector-row { grid-template-columns: 1fr; }
	.sector-row > li { border-left: 0 !important; border-top: 1px solid var(--line); }
	.sector-row > li:first-child { border-top: 0; }
	.sector { padding-left: 0 !important; padding-right: 0; }
	.benefits, .roles, .ticks--cols { grid-template-columns: 1fr; }
	.ftr__top { grid-template-columns: 1fr; }
	.why__media { padding-right: 24px; padding-bottom: 96px; }
	.why__img--inset { width: 58%; bottom: 46px; }
	.why__media figcaption { max-width: 38%; }
}
@media (max-width: 560px) {
	.hdr__cta { display: none; }
	.panels { grid-template-columns: 1fr; }
	.panels__item { height: 132px; }
	.panels__item:last-child { grid-column: auto; }
	.panel__body { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; }
	.panel__title span { display: inline; }
	.panel__ic { width: 30px; height: 30px; }
	.panel__arrow { bottom: auto; top: 50%; margin-top: -11px; }
}
@media (max-width: 400px) {
	.hdr__tel-num { display: none; }
	.hdr__tel { width: 46px; padding: 0; justify-content: center; }
	.hdr__tel .ic { width: 20px; height: 20px; }
}

/* 9 ── Motion ─────────────────────────────────────────────────────────── */
@keyframes m-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes m-fade { from { opacity: 0; } }
@keyframes m-reveal { from { clip-path: polygon(46% 0, 100% 0, 100% 100%, 36% 100%); } to { clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); } }
@keyframes m-settle { from { transform: scale(1.06); } }
@keyframes m-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: no-preference) {
	/* Hero arrival — CSS only, so it runs without JavaScript. ~900ms overall. */
	.hero__media { animation: m-reveal 900ms var(--ease-out) both; }
	.hero__img { animation: m-settle 1100ms var(--ease-out) both; }
	.hero__curve path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: m-draw 760ms var(--ease-out) 380ms forwards; }
	.hero__copy > * { animation: m-rise 620ms var(--ease-out) both; }
	.hero__title .hero__line { animation: m-rise 620ms var(--ease-out) both; }
	.hero__eyebrow { animation-delay: 0ms; }
	.hero__title .hero__line:nth-child(1) { animation-delay: 60ms; }
	.hero__title .hero__line:nth-child(2) { animation-delay: 130ms; }
	.hero__title { animation: none !important; }
	.hero__lede { animation-delay: 200ms; }
	.hero__actions { animation-delay: 260ms; }
	.hero__emergency { animation-delay: 320ms; }

	/* Quiet reveal-once (headings and large images, marketing pages only) */
	.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out); }
	.js .reveal.is-in { opacity: 1; transform: none; }

	.stage-panel:not([hidden]) { animation: m-rise 240ms var(--ease-out); }
}

/* 10 ── Preferences ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; }
	.j-post, .j-beam, .j-rel, .j-guides, .joint .seam { transition: none !important; }
	.process__img { transform: none; filter: none; transition: opacity 200ms ease; }
	.sub, .drawer { transform: none !important; }
	.btn:active, .panel:active .panel__body { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
	.hdr, .hdr.is-compact { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
	:root { --muted: #3E5568; --ink-2: #213749; --line: #8A9BAA; }
	.btn--primary { border-color: var(--navy); }
	.sub, .res__item, .svc-also a { border-color: var(--navy); }
}
@media print {
	.hdr, .drawer, .mbar, .respond, .ftr__group, .hero__media { display: none !important; }
	body { padding-top: 0; }
}
