.skip-link { position: fixed; top: .5rem; left: .5rem; padding: .75rem 1rem; background: white; z-index: 10; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); z-index: 5; box-shadow: 0 4px 18px #14243a05; }
.enhanced .site-header { position: sticky; top: 0; }
.header-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 1rem; }
.brand { text-decoration: none; color: var(--ink); display: inline-flex; flex-direction: column; line-height: 1.2; max-width: 100%; }
.brand span { overflow-wrap: anywhere; }
.brand strong { font-size: 1.6rem; letter-spacing: -.055em; font-weight: 750; }
.brand span { font-size: .875rem; margin-top: .25rem; }
.menu-toggle { display: none; margin-left: auto; }
.header-row .header-contact { display: none; }
.primary-nav { width: 100%; }
.nav-list { display: flex; flex-direction: column; list-style: none; padding: 0; margin: 0; gap: .25rem; }
.nav-list > li { position: relative; }
.nav-list a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); text-decoration: none; font-size: .9375rem; }
.nav-list a:hover, .submenu a:hover { text-decoration: underline; }
.service-nav { display: flex; align-items: center; gap: .35rem; }
.disclosure, .menu-toggle { min-width: 44px; min-height: 44px; border: 1px solid var(--border); border-radius: 8px; color: var(--ink); background: white; padding: .5rem .75rem; }
.disclosure { display: none; }
.enhanced .disclosure, .enhanced .menu-toggle { display: inline-flex; justify-content: center; align-items: center; }
.submenu { list-style: none; padding: .5rem 1rem; margin: 0; border-left: 2px solid var(--border); }
.submenu a { padding-block: .4rem; min-height: 44px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .7rem 1.1rem; border: 1px solid var(--blue); border-radius: 8px; font-weight: 600; text-decoration: none; background: var(--blue); color: white; }
.button:hover { color: white; background: var(--blue-hover); }
.button:active { box-shadow: inset 0 2px 4px #07172f30; }
.button, .card, .disclosure, .menu-toggle { transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.disclosure:hover, .menu-toggle:hover { background: var(--surface-soft); border-color: #a3b1c4; }
.button.secondary { background: transparent; color: var(--blue); }
.button:disabled { background: #e3e8ef; border-color: #b5c1d1; color: var(--muted); }
.field-error { color: #a31525; font-size: .9375rem; margin-block: .4rem 0; }
.field-error:empty { display: none; }
[aria-invalid="true"] { border: 2px solid #a31525; }
#contact-status { min-height: 1.65em; margin-top: 1rem; max-width: 70ch; }
#contact-form .button { transition: box-shadow 160ms ease; }
.nav-list a.button { color: white; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.eyebrow { font-size: .875rem; letter-spacing: .08em; font-weight: 700; text-transform: uppercase; color: var(--blue); }
.card { border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 2.5vw, 32px); background: white; min-width: 0; box-shadow: var(--shadow); }
.card h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.card ul { margin-block: 1.25rem; }
.card li { margin-block: .35rem; }
.card > a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }
.card p { color: var(--muted); }
.pending { border: 1px solid var(--border); border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; padding: 1rem 1.25rem; background: var(--surface-soft); color: var(--muted); font-size: .9375rem; }
.labels { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; list-style: none; }
.labels li, .status { background: var(--surface-soft); border: 1px solid var(--border); border-radius: 6px; padding: .4rem .75rem; }
.status { display: inline-block; font-size: .875rem; font-weight: 600; margin-bottom: 1rem; }
.site-footer { padding-block: var(--space-12); background: var(--navy); color: var(--on-dark); }
.site-footer a { color: var(--on-dark); display: inline-flex; min-height: 44px; align-items: center; }
.site-footer :focus-visible { outline-color: var(--cyan); }
.site-footer h2 { font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-bottom { margin-top: 2rem; border-top: 1px solid #46546b; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.footer-bottom p { margin: 0; }
fieldset { border: 0; padding: 0; margin: 1.5rem 0; min-width: 0; }
legend { font-weight: 600; margin-bottom: 1rem; }
label { display: block; margin-bottom: .4rem; }
input, select, textarea { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #6f8097; border-radius: 8px; padding: .75rem; background: white; color: var(--ink); }
textarea { min-height: 140px; resize: vertical; }
fieldset:disabled input, fieldset:disabled select, fieldset:disabled textarea { color: var(--muted); background: var(--surface-soft); opacity: 1; }
@media (min-width: 1280px) {
  .header-row { flex-wrap: nowrap; gap: 1rem; }
  .primary-nav { width: auto; margin-left: auto; }
  .nav-list { flex-direction: row; align-items: center; gap: .65rem; }
  .nav-list > li { flex-shrink: 0; }
  .nav-list a { white-space: nowrap; }
  .enhanced .menu-toggle { display: none; }
  .enhanced .submenu { position: absolute; top: 100%; left: 0; width: 320px; max-height: var(--submenu-space, calc(100dvh - 7rem)); overflow-y: auto; background: white; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 24px #14243a18; padding: 1rem; }
  html:not(.enhanced) .header-row { flex-wrap: wrap; }
  html:not(.enhanced) .primary-nav { width: 100%; }
  html:not(.enhanced) .nav-list { flex-wrap: wrap; align-items: flex-start; }
}
html.compact-navigation .header-row { flex-wrap: wrap; }
html.compact-navigation .site-header { max-height: 100dvh; overflow-y: auto; }
html.compact-navigation .primary-nav { width: 100%; margin-left: 0; max-height: var(--nav-space, 60dvh); overflow-y: auto; padding: .5rem .35rem .75rem; }
html.compact-navigation .nav-list { flex-direction: column; align-items: stretch; }
html.compact-navigation .nav-list a { white-space: normal; }
html.compact-navigation .menu-toggle { display: inline-flex; }
html.compact-navigation .submenu { position: static; width: auto; max-height: none; overflow: visible; border: 0; border-left: 2px solid var(--border); border-radius: 0; box-shadow: none; padding: .5rem 1rem; }
@media (min-width: 1200px) {
  .compact-navigation .header-contact { display: inline-flex; margin-left: auto; }
  .compact-navigation .menu-toggle { margin-left: 0; }
}
@media (max-width: 767px) { .actions { flex-direction: column; align-items: stretch; } }
.footer-group { min-width: 0; }
.footer-group summary { font-weight: 600; min-height: 44px; cursor: pointer; padding-block: .5rem; }
.footer-group > p { margin-top: .75rem; }
@media (max-width: 767px) {
  .footer-grid { gap: .5rem; }
  .footer-group { border-top: 1px solid #46546b; }
  .footer-group ul { padding-bottom: .75rem; }
  .footer-bottom { margin-top: 1rem; }
}
.privacy-dialog { width: min(48rem, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--border); border-radius: 12px; color: var(--ink); background: white; overflow-y: auto; }
.privacy-dialog::backdrop { background: #07172fcc; }
.privacy-dialog-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; padding: 1rem; background: white; border-bottom: 1px solid var(--border); }
.privacy-dialog-bar h2 { font-size: 1.25rem; margin: 0; }
.privacy-content { padding: clamp(16px, 4vw, 32px); }
.privacy-content h2 { font-size: 1.35rem; margin-top: 2rem; }
.privacy-content :focus-visible { outline-offset: 2px; }
html:has(.privacy-dialog[open]) { overflow: hidden; }

/* Chevron follows the existing disclosure state; no extra controller. */
.nav-chevron { width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.disclosure[aria-expanded="true"] .nav-chevron { transform: translateY(2px) rotate(225deg); }
