:root {
  --navy: #123a55;
  --navy-deep: #0b2b40;
  --blue: #176b87;
  --blue-dark: #0c566f;
  --yellow: #f1b82d;
  --yellow-soft: #fff3cd;
  --red: #a31d2d;
  --red-soft: #fff0f1;
  --ink: #17232c;
  --muted: #52636f;
  --line: #cbd7dd;
  --surface: #f4f8fa;
  --white: #fff;
  --shadow: 0 12px 36px rgba(18, 58, 85, .1);
  --radius: .75rem;
  --content: 1180px;
  --font-scale: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: calc(100% * var(--font-scale)); }
body { margin: 0; color: var(--ink); background: var(--white); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1.0625rem; line-height: 1.65; overflow-wrap: break-word; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; }
svg { display: block; }
a { color: var(--blue-dark); text-underline-offset: .16em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid #e29b00; outline-offset: 3px; }
h1, h2, h3, h4 { color: var(--navy-deep); line-height: 1.18; margin: 0 0 .65em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.65rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1.1em; }
address { font-style: normal; }
.container { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.narrow { max-width: 820px; }
.screen-reader-text { 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 { position: fixed; z-index: 9999; top: .5rem; left: .5rem; padding: .75rem 1rem; color: #000; background: var(--yellow); font-weight: 800; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.eyebrow, .content-type-label { color: var(--blue-dark); font-size: .8rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

.utility-bar { color: var(--white); background: var(--navy-deep); font-size: .9rem; }
.utility-bar__inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.utility-bar a { color: var(--white); }
.utility-contact { font-weight: 750; text-decoration: none; }
.accessibility-tools { display: flex; align-items: center; gap: .65rem; }
.accessibility-tools button { min-width: 2.25rem; min-height: 2rem; padding: .15rem .4rem; color: var(--white); background: transparent; border: 1px solid #7892a2; border-radius: .25rem; cursor: pointer; }
.accessibility-tools .contrast-toggle { padding-inline: .6rem; }

.site-header { position: relative; z-index: 20; background: var(--white); box-shadow: 0 2px 12px rgba(18, 58, 85, .08); }
.header-main { display: grid; grid-template-columns: minmax(250px, 1fr) minmax(300px, 480px); gap: 2rem; align-items: center; min-height: 112px; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; color: var(--navy-deep); text-decoration: none; width: fit-content; }
.brand__mark { width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center; color: var(--white); background: var(--blue); border-radius: 50% 50% 48% 52% / 45% 48% 52% 55%; }
.brand__mark svg { width: 39px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand__mark svg path:first-child { fill: currentColor; stroke: none; opacity: .96; }
.brand__mark svg path:last-child { color: var(--blue); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { color: var(--blue-dark); font-size: 1.65rem; letter-spacing: .04em; }
.brand__text span { font-size: .86rem; font-weight: 650; }
.header-search label, .hero-search label, .search-page-form label, .error-page form label, .filter-bar label { display: block; margin-bottom: .35rem; color: var(--navy-deep); font-size: .88rem; font-weight: 750; }
.search-control { display: flex; }
.search-control input { width: 100%; min-width: 0; min-height: 46px; padding: .65rem .85rem; color: var(--ink); background: var(--white); border: 2px solid #8196a2; border-radius: .4rem 0 0 .4rem; }
.search-control button { min-height: 46px; padding: .55rem 1rem; color: var(--white); background: var(--blue-dark); border: 2px solid var(--blue-dark); border-radius: 0 .4rem .4rem 0; font-weight: 750; cursor: pointer; }
.search-control button:hover { background: var(--navy-deep); }
.menu-toggle { display: none; }
.primary-navigation { color: var(--white); background: var(--navy); }
.primary-navigation ul { display: flex; align-items: stretch; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.primary-navigation a { display: flex; align-items: center; min-height: 54px; padding: .6rem .85rem; color: var(--white); font-size: .94rem; font-weight: 700; text-decoration: none; border-bottom: 4px solid transparent; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a, .primary-navigation .current_page_item > a { background: rgba(255,255,255,.08); border-bottom-color: var(--yellow); }
.primary-navigation .menu-item-has-children { position: relative; }
.primary-navigation .sub-menu { position: absolute; z-index: 10; top: 100%; left: 0; display: none; min-width: 280px; padding: .4rem; background: var(--navy-deep); box-shadow: var(--shadow); }
.primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { display: block; }
.primary-navigation .sub-menu a { min-height: 44px; border: 0; }
.breadcrumbs { padding-block: .85rem; font-size: .88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "›"; margin-right: .35rem; color: var(--muted); }
.breadcrumbs [aria-current="page"] { color: var(--muted); }

.global-alert { color: var(--navy-deep); background: var(--yellow-soft); border-bottom: 1px solid #e4c768; }
.global-alert__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: start; padding-block: 1rem; }
.global-alert__icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--white); background: var(--red); border-radius: 50%; font-size: 1.25rem; font-weight: 900; }
.alert-title { margin: 0; color: var(--navy-deep); font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
.global-alert p { margin: 0; }
.alert-close { width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.8rem; cursor: pointer; }

.hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(118deg, var(--navy-deep), #145b72); }
.hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -140px; top: -260px; border: 90px solid rgba(255,255,255,.05); border-radius: 50%; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.7fr .8fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 7.5rem); }
.hero h1 { max-width: 760px; color: var(--white); }
.hero .eyebrow { color: #f8cb5f; }
.hero__lead { max-width: 650px; font-size: clamp(1.15rem, 2vw, 1.35rem); }
.hero-search { max-width: 720px; margin-top: 2rem; }
.hero-search label { color: var(--white); }
.search-control--large input, .search-control--large button { min-height: 58px; }
.search-control--large button { padding-inline: 1.4rem; background: var(--yellow); border-color: var(--yellow); color: #1d2830; }
.search-control--large button:hover { background: #ffd15c; border-color: #ffd15c; }
.hero__hint { margin: .75rem 0 0; font-size: .92rem; color: #dbe9ef; }
.hero__hint a { color: var(--white); }
.contact-panel { padding: 1.75rem; color: var(--ink); background: var(--white); border-radius: var(--radius); box-shadow: 0 18px 60px rgba(0,0,0,.22); }
.contact-panel h2 { font-size: 1.6rem; }
.contact-panel p { margin: .2rem 0 .8rem; }
.contact-panel hr { margin: 1.25rem 0; border: 0; border-top: 1px solid var(--line); }
.phone-link { display: block; color: var(--navy-deep); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 850; }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tint { background: var(--surface); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > a { flex: 0 0 auto; font-weight: 750; }
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.service-tile { position: relative; display: flex; flex-direction: column; min-height: 245px; padding: 1.4rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; box-shadow: 0 5px 18px rgba(18,58,85,.05); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.service-tile:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow); }
.service-tile strong { display: block; margin-top: 1rem; color: var(--navy-deep); font-size: 1.16rem; line-height: 1.25; }
.service-tile small { display: block; margin-top: .55rem; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.tile-icon { display: grid; place-items: center; width: 58px; height: 58px; color: var(--blue-dark); background: #e6f3f7; border-radius: 50%; }
.tile-icon svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }
.tile-arrow { position: absolute; right: 1.2rem; bottom: 1rem; color: var(--blue-dark); font-size: 1.5rem; font-weight: 800; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.5rem; background: var(--white); border-radius: var(--radius); }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -1.25rem; top: 42%; z-index: 2; color: var(--blue); font-size: 1.5rem; font-weight: 850; }
.steps li > span { display: grid; place-items: center; width: 44px; height: 44px; color: var(--white); background: var(--blue-dark); border-radius: 50%; font-weight: 850; }
.steps h3 { margin-top: .4rem; }
.steps p { color: var(--muted); margin-bottom: 0; }
.news-grid, .listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.content-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.content-card__image { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--surface); }
.content-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.content-card:hover .content-card__image img { transform: scale(1.025); }
.content-card__body { padding: 1.3rem; }
.content-card__meta { display: flex; justify-content: space-between; gap: .5rem; color: var(--muted); font-size: .8rem; }
.content-card h3 { margin-bottom: .5rem; }
.content-card h3 a { color: var(--navy-deep); text-decoration: none; }
.content-card h3 a:hover { text-decoration: underline; }
.content-card__body > p:not(.content-card__meta) { color: var(--muted); font-size: .95rem; }
.card-link { font-size: .92rem; font-weight: 750; }
.quick-info { padding-top: 0; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.info-grid article { position: relative; padding: 2rem; }
.info-grid article + article { border-left: 1px solid var(--line); }
.info-grid h3 { padding-right: 2.5rem; }
.info-icon { position: absolute; right: 1.5rem; top: 1.6rem; color: var(--blue); font-size: 2rem; }
.info-card--emergency { background: var(--red-soft); }
.info-card--emergency .info-icon { color: var(--red); }
.emergency-phone { color: var(--red); font-size: 2rem; font-weight: 900; }

.content-layout { padding-block: clamp(2.5rem, 6vw, 5rem); }
.page-header { max-width: 900px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.page-header h1 { font-size: clamp(2.25rem, 4.5vw, 3.7rem); }
.page-lead { max-width: 800px; color: var(--muted); font-size: 1.25rem; }
.entry { max-width: 920px; margin-inline: auto; }
.entry-content { max-width: 780px; font-size: 1.08rem; }
.entry-content > * + * { margin-top: 1.3em; }
.entry-content h2 { margin-top: 2em; font-size: 1.8rem; }
.entry-content h3 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content li + li { margin-top: .45rem; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: .75rem; text-align: left; border: 1px solid var(--line); }
.entry-content th { background: var(--surface); }
.entry-meta { display: flex; gap: 1rem; color: var(--muted); font-size: .9rem; }
.featured-image { margin: 0 0 2rem; }
.featured-image img { border-radius: var(--radius); }
.entry-footer { max-width: 780px; margin-top: 3rem; padding-top: 1rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .85rem; }
.notice { padding: 1.4rem; border-left: 6px solid var(--blue); background: #e9f5f8; }
.notice--urgent { border-color: var(--red); background: var(--red-soft); }
.contact-box, .download-panel { max-width: 780px; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 2.5rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-box { display: grid; grid-template-columns: 1fr auto; }
.contact-box h2, .download-panel h2 { margin: 0; font-size: 1.5rem; }
.contact-box p, .download-panel p { margin: .3rem 0 0; }
.contact-box a { grid-column: 2; font-weight: 750; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .65rem 1.15rem; color: var(--white); background: var(--blue-dark); border: 2px solid var(--blue-dark); border-radius: .35rem; font-weight: 750; text-decoration: none; }
.button:hover { background: var(--navy-deep); }
.button--outline { color: var(--blue-dark); background: transparent; }
.button--outline:hover { color: var(--white); }
.button-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: .5rem; border: 1px solid var(--line); }
.pagination .current { color: var(--white); background: var(--navy); }
.search-page-form { max-width: 760px; padding: 1.5rem; margin-bottom: 2rem; background: var(--surface); border-radius: var(--radius); }
.result-count { color: var(--muted); }
.search-results { border-top: 1px solid var(--line); }
.search-result { max-width: 820px; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.search-result h2 { margin: .2rem 0; font-size: 1.45rem; }
.search-result p { margin-bottom: 0; }
.empty-state { padding: clamp(2rem, 5vw, 4rem); background: var(--surface); border-radius: var(--radius); text-align: center; }
.error-page { text-align: center; }
.error-code { margin: 0; color: #d7e6eb; font-size: clamp(6rem, 20vw, 12rem); font-weight: 900; line-height: .9; }
.error-page form { max-width: 680px; margin: 2rem auto; text-align: left; }
.error-page .button-row { justify-content: center; }
.safe-exit { position: fixed; z-index: 100; right: 1rem; bottom: 1rem; display: inline-flex; gap: .5rem; align-items: center; min-height: 50px; padding: .65rem 1rem; color: var(--white); background: var(--red); border: 3px solid var(--white); border-radius: .35rem; box-shadow: 0 5px 20px rgba(0,0,0,.25); font-weight: 850; text-decoration: none; }
.safe-exit:hover { color: var(--white); background: #76111e; }
.filter-bar { max-width: 580px; margin-bottom: 2rem; }
.filter-bar input { width: 100%; min-height: 50px; padding: .7rem .85rem; border: 2px solid #8196a2; border-radius: .35rem; }
.service-list, .document-list { border-top: 1px solid var(--line); }
.service-list-item, .document-row { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.service-list-item h2, .document-row h2 { margin-bottom: .3rem; font-size: 1.35rem; }
.service-list-item p, .document-row p { color: var(--muted); margin-bottom: 0; }
.document-row { grid-template-columns: auto 1fr auto; }
.document-icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--blue-dark); background: #e6f3f7; border-radius: 50%; font-size: 1.4rem; font-weight: 850; }
.document-meta { margin-top: .35rem !important; font-size: .82rem; }
.filter-empty { padding: 1.5rem; background: var(--yellow-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; }
.contact-details { padding: 1.75rem; background: var(--surface); border-radius: var(--radius); }
.phone-list { margin: 0; }
.phone-list div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.phone-list dt { font-weight: 650; }
.phone-list dd { margin: 0; font-weight: 800; }
.hours-panel { display: flex; justify-content: space-between; align-items: center; margin-top: 3rem; padding: 1.75rem; color: var(--white); background: var(--navy); border-radius: var(--radius); }
.hours-panel h2, .hours-panel .eyebrow { color: var(--white); margin-bottom: 0; }
.hours-panel > strong { font-size: 2rem; }
.sitemap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.sitemap-grid section { padding: 1.5rem; background: var(--surface); border-radius: var(--radius); }
.sitemap-grid ul { margin: 0; padding-left: 1.3rem; }
.sitemap-grid li + li { margin-top: .5rem; }

.site-footer { color: #eaf2f6; background: var(--navy-deep); }
.site-footer h2 { color: var(--white); font-size: 1.25rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-block: 3.5rem; }
.footer-grid p { margin-bottom: .6rem; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li + li { margin-top: .55rem; }
.footer-bottom { color: #cbdbe3; background: #071f2f; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1rem; }

body.high-contrast { --navy: #000; --navy-deep: #000; --blue: #000; --blue-dark: #000; --yellow: #ffdf00; --ink: #000; --muted: #111; --line: #000; --surface: #fff; }
body.high-contrast a { text-decoration: underline; }
body.high-contrast .service-tile, body.high-contrast .content-card, body.high-contrast .info-grid { border-width: 2px; }

@media (max-width: 980px) {
  .header-main { grid-template-columns: 1fr auto; min-height: 88px; }
  .header-search { display: none; }
  .menu-toggle { display: inline-flex; gap: .5rem; align-items: center; min-height: 46px; padding: .5rem .8rem; color: var(--white); background: var(--navy); border: 0; border-radius: .3rem; font-weight: 750; cursor: pointer; }
  .primary-navigation { display: none; }
  .primary-navigation.is-open { display: block; }
  .primary-navigation.is-open { max-height: calc(100vh - 88px); overflow-y: auto; }
  .primary-navigation ul { flex-direction: column; padding-block: .5rem; }
  .primary-navigation a { min-height: 48px; }
  .primary-navigation .sub-menu { position: static; display: block; min-width: 0; padding-left: 1rem; box-shadow: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .contact-panel { max-width: 520px; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .listing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .utility-bar__inner { align-items: stretch; }
  .utility-contact { display: flex; align-items: center; }
  .accessibility-tools .text-size, .accessibility-tools .contrast-toggle { display: none; }
  .header-main { gap: .5rem; }
  .brand__mark { width: 46px; height: 46px; flex-basis: 46px; }
  .brand__mark svg { width: 31px; }
  .brand__text strong { font-size: 1.25rem; }
  .brand__text span { display: none; }
  .hero__grid { padding-block: 3.5rem; }
  .search-control--large { display: grid; gap: .5rem; }
  .search-control--large input, .search-control--large button { border-radius: .4rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .tile-grid, .steps, .news-grid, .listing-grid, .info-grid, .footer-grid, .contact-grid, .sitemap-grid { grid-template-columns: 1fr; }
  .service-tile { min-height: 195px; }
  .steps li:not(:last-child)::after { display: none; }
  .info-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .contact-box, .download-panel { display: block; }
  .contact-box a, .download-panel .button { display: flex; margin-top: .75rem; }
  .service-list-item, .document-row { grid-template-columns: 1fr; gap: .75rem; }
  .document-icon { display: none; }
  .service-list-item .button, .document-row .button { width: 100%; }
  .phone-list div { grid-template-columns: 1fr; gap: .15rem; }
  .hours-panel { align-items: start; flex-direction: column; }
  .footer-bottom .container { flex-direction: column; }
}

@media print {
  .utility-bar, .primary-navigation, .menu-toggle, .header-search, .breadcrumbs, .site-footer, .global-alert, .accessibility-tools, .button { display: none !important; }
  body { color: #000; background: #fff; font-size: 12pt; }
  .site-header { box-shadow: none; border-bottom: 1px solid #000; }
  .content-layout { padding: 1rem 0; }
  a { color: #000; text-decoration: underline; }
  .entry-content a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
