@import url('motion.css');
/* D028: shared foundation. Fonts and authentic logo remain self-hosted. */
@font-face { font-family: Manrope; src: url('../fonts/manrope-latin-variable.woff2') format('woff2'); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('../fonts/source-sans-3-latin-variable.woff2') format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }
:root { --navy:#041e42; --orange:#f7931e; --cream:#f7f5ef; --ink:#263445; --muted:#526172; --border:#d7dbdc; --heading:Manrope,Arial,sans-serif; --body:'Source Sans 3','Segoe UI',Arial,sans-serif; --page-gutter:max(1.25rem,env(safe-area-inset-left),env(safe-area-inset-right)); }
*,*::before,*::after { box-sizing:border-box; }
html { scroll-padding-top:2rem; }
html:has(.site-header.is-enhanced) { scroll-padding-top:7rem; }
/* The head script opts in before body parsing, avoiding a mobile menu collapse. */
html.navigation-ready { scroll-padding-top:7rem; }
@media(prefers-reduced-motion:no-preference) {
    html.public-site.is-section-navigation { scroll-behavior:smooth; }
}
/* Root padding supplies sticky clearance once, rather than adding legacy margins twice. */
html.public-site :is(.service-feature,.contact-feedback,.contact-unavailable,.contact-verification) { scroll-margin-top:0; }
body { margin:0; color:var(--ink); background:var(--cream); font:1.125rem/1.6 var(--body); -webkit-font-smoothing:antialiased; }
h1,h2,h3,p { margin:0; }
h1,h2,h3 { color:var(--navy); font:600 2rem/1.15 var(--heading); letter-spacing:-.045em; overflow-wrap:break-word; }
h1 { font-size:clamp(2.6rem,5vw,4.5rem); }
h2 { font-size:clamp(2.2rem,4vw,3.5rem); }
h3 { font-size:1.5rem; letter-spacing:-.035em; }
p+p { margin-top:1rem; }
a { color:inherit; text-underline-offset:.25em; }
img { display:block; max-width:100%; height:auto; }
button { font:inherit; }
a,button { touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid #005fcc; outline-offset:5px; box-shadow:0 0 0 3px white; }
[tabindex='-1']:focus:not(:focus-visible) { outline:none; }
::selection { color:var(--navy); background:#ffcf96; }
.container { width:min(100% - 2 * var(--page-gutter),78rem); margin-inline:auto; }
/* Grid/flex content must be allowed to shrink before its text can reflow. */
.public-site main :where(div,section,article,figure,h1,h2,h3,p,ul,ol,dl) { min-width:0; }
.section { padding-block:4.5rem; }
.eyebrow { font:600 .75rem/1.5 var(--body); letter-spacing:.13em; text-transform:uppercase; color:var(--navy); }
.section-kicker { margin-bottom:1.4rem; }
.orange-dot { display:inline-block; flex-shrink:0; width:7px; height:7px; background:var(--orange); border-radius:50%; }
.lead { color:var(--navy); font-size:1.375rem; line-height:1.5; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
/* D031: vectors inherit the existing icon wrapper's font size and colour. */
.icon-arrow { display:inline-block; width:.85em; height:.85em; vertical-align:-.075em; flex-shrink:0; }
.skip-link { position:fixed; top:.5rem; left:1rem; z-index:30; padding:.8rem 1.2rem; background:var(--navy); color:white; transform:translateY(-200%); }
.skip-link:focus { transform:translateY(0); }
.prototype-banner { padding:.35rem 1rem; text-align:center; color:var(--muted); background:#edf1f5; font-size:.75rem; }
.prototype-banner span { margin-inline:.4rem; }
/* D029: floating navigation stays in flow; the enhanced dropdown is an overlay. */
.site-header { position:relative; z-index:10; width:min(100% - 2 * max(.75rem,env(safe-area-inset-left),env(safe-area-inset-right)),78rem); margin: .75rem auto 0; }
.site-header.is-enhanced { position:sticky; top:.75rem; }
html.navigation-ready .site-header { position:sticky; top:.75rem; }
.header-inner { position:relative; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.75rem; width:100%; padding:.75rem; border:1px solid #041e421c; border-radius:18px; background:#fffdfa; box-shadow:0 8px 28px #041e420d,0 2px 6px #041e4205; }
/* Fallback font metrics must not push the compact Menu onto a second row. */
html.navigation-ready .header-inner { flex-wrap:nowrap; }
.brand { display:block; width:min(15.5rem,calc(100% - 6.1rem)); flex-shrink:0; border-radius:5px; }
.menu-toggle { display:flex; align-items:center; gap:.6rem; min-height:46px; padding:.5rem .7rem; border:1px solid #ccd2d6; border-radius:10px; color:var(--navy); background:transparent; font-size:.875rem; font-weight:600; cursor:pointer; transition:background-color var(--motion-state) var(--motion-state-ease),border-color var(--motion-state) var(--motion-state-ease); }
.menu-toggle:hover,.menu-toggle[aria-expanded='true'] { background:#f2f3ee; border-color:#9daab7; }
.menu-toggle[hidden] { display:none; }
html.navigation-ready .menu-toggle[hidden] { display:flex; }
.menu-icon { display:grid; gap:5px; width:17px; }
.menu-icon span { display:block; height:1px; background:var(--navy); transition:transform var(--motion-fast) var(--motion-state-ease); }
.menu-toggle[aria-expanded='true'] .menu-icon span:first-child { transform:translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-icon span:last-child { transform:translateY(-3px) rotate(-45deg); }
.primary-navigation { width:100%; }
.primary-navigation ul { display:flex; flex-direction:column; gap:.25rem; margin:0; padding:.5rem 0 0; list-style:none; }
.primary-navigation a { display:flex; align-items:center; min-height:48px; padding:.6rem .85rem; border-radius:10px; color:var(--navy); text-decoration:none; font-size:1rem; font-weight:600; transition:background-color var(--motion-state) var(--motion-state-ease),color var(--motion-state) var(--motion-state-ease); }
.primary-navigation a:not(.button):hover { background:#edf0ee; }
.primary-navigation a[aria-current]:not(.button) { background:#fff0dc; text-decoration:underline; text-decoration-color:#a45700; text-decoration-thickness:2px; text-underline-offset:.35em; }
.site-header :focus-visible { outline:3px solid #005fcc; outline-offset:3px; box-shadow:0 0 0 2px #fffdfa; }
:is(.primary-navigation.is-enhanced,html.navigation-ready .primary-navigation) { position:absolute; top:calc(100% + .6rem); left:0; width:100%; max-height:calc(100vh - 7.5rem); max-height:calc(100dvh - 7.5rem); padding:.65rem; overflow-y:auto; overscroll-behavior:contain; border:1px solid #041e421c; border-radius:16px; background:#fffdfa; box-shadow:0 16px 36px #041e421a,0 3px 8px #041e4208; }
:is(.primary-navigation.is-enhanced,html.navigation-ready .primary-navigation) ul { padding:0; }
:is(.primary-navigation.is-enhanced,html.navigation-ready .primary-navigation):not(.is-open) { display:none; }
@supports ((backdrop-filter:blur(18px)) or (-webkit-backdrop-filter:blur(18px))) {
    .header-inner { background:rgb(255 253 250 / 96%); -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px); }
}
.button { display:inline-flex; justify-content:center; align-items:center; gap:1.5rem; min-height:54px; padding:.9rem 1.25rem; border:1px solid transparent; background:var(--navy); color:white; font:600 1rem/1.4 var(--body); text-decoration:none; transition:background-color var(--motion-state) var(--motion-state-ease),color var(--motion-state) var(--motion-state-ease); }
.button:hover { background:#153d65; }
.button span[aria-hidden] { font-size:1.4rem; }
.button-small { min-height:48px; }
.primary-navigation a.button { color:white; border-radius:10px; }
.text-link { display:inline-flex; align-items:center; gap:1.25rem; min-height:48px; font-size:1rem; font-weight:600; color:var(--navy); text-decoration:underline; text-decoration-thickness:1px; }
.text-link:hover { text-decoration-thickness:2px; }
.button-group { display:flex; align-items:center; flex-wrap:wrap; gap:.8rem 1.8rem; }
.contact-section { padding-block:4rem; background:var(--navy); color:#d8e0eb; }
.contact-section h2 { color:white; }
.contact-section .eyebrow { color:#c9d6e3; margin-bottom:1rem; }
.contact-section h2+p { margin-top:1rem; }
.contact-section .button { color:var(--navy); background:var(--orange); }
.contact-section .button:hover { background:#ffc078; }
/* D030: a warm-paper brand masthead integrated into the navy footer. */
.site-footer { background:var(--navy); color:#cbd5e1; }
.site-footer .footer-masthead { background:var(--cream); border-radius:0 0 2rem 0; }
.site-footer .footer-brand-row { display:grid; gap:1.6rem; padding-block:2.5rem; }
.site-footer .footer-brand { display:flex; align-items:center; width:min(27rem,100%); min-height:44px; }
.site-footer .footer-tagline { color:var(--navy); font:italic clamp(1.8rem,3vw,2.5rem)/1.12 Georgia,serif; letter-spacing:-.035em; }
.site-footer .footer-tagline>span { color:#a65300; }
.site-footer .footer-main { display:grid; gap:2.5rem; padding-block:3rem; }
.site-footer .footer-principle { color:var(--cream); font:600 1.6rem/1.25 var(--heading); letter-spacing:-.04em; }
.site-footer .footer-intro>p:last-child { max-width:28ch; margin-top:1rem; font-size:1rem; }
.site-footer .footer-label { color:#aebfd1; font-size:.75rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; margin-bottom:1.15rem; }
.site-footer .footer-links { padding:0; margin:0; list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.2rem 1.2rem; }
.site-footer .footer-links li { border-top:1px solid #ffffff26; }
.site-footer .footer-links a { display:flex; justify-content:space-between; align-items:center; gap:.5rem; min-height:48px; color:var(--cream); text-decoration:none; font-size:1rem; }
.site-footer .footer-links a>span { color:#9cb0c7; font-size:1.1rem; }
.site-footer .footer-links a[aria-current] { text-decoration:underline; text-decoration-color:var(--orange); text-underline-offset:.35em; }
.site-footer .footer-links a:hover,.site-footer .footer-contact a:hover { color:#ffc47a; text-decoration:underline; }
.site-footer .footer-contact { font-style:normal; }
.site-footer .footer-contact a { display:flex; align-items:center; gap:1.1rem; width:fit-content; max-width:100%; min-height:48px; color:var(--cream); font-size:1.2rem; text-decoration:underline; text-decoration-color:#ffffff50; overflow-wrap:anywhere; }
.site-footer .footer-contact a>span { color:var(--orange); font-size:1.25rem; }
.site-footer .footer-contact a+a { margin-top:.4rem; font-size:1.0625rem; }
.site-footer .footer-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.5rem 1.5rem; border-top:1px solid #ffffff30; padding-block:1.25rem; font-size:.8125rem; }
.site-footer .footer-bottom small { font-size:inherit; }
.site-footer .footer-bottom>a { display:inline-flex; align-items:center; min-height:44px; }
.site-footer .footer-top-link { gap:1rem; color:var(--cream); text-decoration:none; }
.site-footer .footer-top-link>span { display:flex; align-items:center; justify-content:center; width:32px; height:32px; border:1px solid #ffffff40; border-radius:50%; font-size:1.1rem; }
.site-footer .footer-top-link:hover { color:#ffc47a; text-decoration:underline; }
.site-footer :focus-visible { outline:3px solid #ffc47a; outline-offset:5px; box-shadow:none; }
.site-footer .footer-brand:focus-visible { outline-color:#005fcc; }
@media(min-width:40rem) {
    .section { padding-block:6rem; }
    .site-footer .footer-brand-row { grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); align-items:center; gap:3rem; }
    .site-footer .footer-tagline { justify-self:end; }
    .site-footer .footer-main { grid-template-columns:repeat(2,minmax(0,1fr)); gap:2.5rem 3rem; }
    .site-footer .footer-intro { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:start; }
    .site-footer .footer-intro>p:last-child { margin-top:0; }
}
@media(max-width:39.999rem) {
    /* A rem contribution preserves text enlargement; vw softens the phone scale. */
    .public-site { --phone-title:clamp(1.5rem,1rem + 7vw,4rem); --phone-heading:clamp(1.25rem,1rem + 4vw,3rem); }
}
@media(min-width:40rem) and (max-width:68.749rem) { .header-inner { padding:.9rem 1.1rem; } }
@media(min-width:68.75rem) {
    .container { width:min(100% - 6rem,78rem); }
    .site-header { width:min(100% - 3rem,78rem); margin-top:1.125rem; }
    .site-header.is-enhanced { top:1.125rem; }
    html.navigation-ready .site-header { top:1.125rem; }
    html.navigation-ready { scroll-padding-top:8rem; }
    html:has(.site-header.is-enhanced) { scroll-padding-top:8rem; }
    .header-inner { width:100%; flex-wrap:nowrap; gap:1.5rem; padding:1rem 1.5rem; border-radius:24px; }
    .brand { width:clamp(16.5rem,22vw,19rem); }
    .menu-toggle { display:none; }
    html.navigation-ready .menu-toggle { display:none; }
    html.navigation-ready .menu-toggle[hidden] { display:none; }
    .primary-navigation,:is(.primary-navigation.is-enhanced,html.navigation-ready .primary-navigation),:is(.primary-navigation.is-enhanced,html.navigation-ready .primary-navigation):not(.is-open) { position:static; display:block; width:auto; max-height:none; padding:0; overflow:visible; border:0; border-radius:0; background:transparent; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; }
    .primary-navigation ul { flex-direction:row; align-items:center; gap:.6rem; padding:0; }
    .primary-navigation a { padding:.55rem .8rem; font-size:.9375rem; white-space:nowrap; border-radius:9px; }
    .primary-navigation a.button { padding:.75rem 1.3rem; margin-left:.4rem; border-radius:999px; }
    .site-footer .footer-brand-row { padding-block:3rem; }
    .site-footer .footer-main { grid-template-columns:1fr 1fr 1.1fr; gap:4.5rem; padding-block:3.5rem; }
    .site-footer .footer-intro { grid-column:auto; display:block; }
    .site-footer .footer-intro>p:last-child { margin-top:1rem; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
