:root {
  --navy: #082f49;
  --navy-deep: #06263a;
  --blue: #0369a1;
  --blue-bright: #0284c7;
  --cyan: #0891b2;
  --sky: #e0f2fe;
  --soft: #f3f8fb;
  --white: #ffffff;
  --ink: #173044;
  --muted: #5a7182;
  --line: #d8e4eb;
  --warning: #b45309;
  --warning-soft: #fff7ed;
  --shadow: 0 18px 50px rgba(8, 47, 73, 0.12);
  --radius: 1rem;
  --shell: 74rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 3px;
}

.shell {
  width: min(calc(100% - 2.5rem), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 0.4rem;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.utility-bar { color: #d9edf7; background: var(--navy-deep); font-size: 0.9rem; }
.utility-bar p { margin: 0; }
.utility-bar__inner { min-height: 2.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.utility-links { display: flex; gap: 1.4rem; }
.utility-bar a { color: var(--white); font-weight: 700; text-decoration: none; }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid rgba(216, 228, 235, 0.9); backdrop-filter: blur(10px); }
.header-inner { min-height: 6.25rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; color: var(--navy); text-decoration: none; }
.brand img { width: 4.1rem; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.brand span { display: grid; line-height: 1.2; }
.brand strong { max-width: 25rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1rem, 1.8vw, 1.38rem); }
.brand small { margin-top: 0.3rem; color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.primary-nav { display: flex; align-items: center; gap: 1.35rem; }
.primary-nav > a { color: var(--ink); font-size: 0.94rem; font-weight: 750; text-decoration: none; }
.primary-nav > a:hover { color: var(--blue); }

.menu-button { display: none; align-items: center; gap: 0.55rem; padding: 0.65rem 0.8rem; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 0.55rem; font: inherit; font-weight: 800; }
.menu-button__icon, .menu-button__icon::before, .menu-button__icon::after { display: block; width: 1.2rem; height: 2px; background: currentColor; content: ""; }
.menu-button__icon { position: relative; }
.menu-button__icon::before { position: absolute; top: -0.38rem; }
.menu-button__icon::after { position: absolute; top: 0.38rem; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; padding: 0.75rem 1.25rem; color: var(--white); background: var(--blue); border: 2px solid var(--blue); border-radius: 0.55rem; font-weight: 800; line-height: 1.1; text-decoration: none; transition: transform 150ms ease, background 150ms ease; }
.button:hover { color: var(--white); background: var(--navy); border-color: var(--navy); transform: translateY(-1px); }
.button--secondary { color: var(--navy); background: transparent; border-color: #9bb5c5; }
.button--secondary:hover { color: var(--navy); background: var(--sky); border-color: var(--blue); }
.button--light { color: var(--navy); background: var(--white); border-color: var(--white); }
.button--light:hover { color: var(--white); background: transparent; }
.button--compact { min-height: 2.55rem; padding: 0.6rem 0.95rem; color: var(--white) !important; }

.hero { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 7.5rem) 0; background: linear-gradient(125deg, #eff9ff 0%, #fff 48%, #dff4fb 100%); }
.hero::before { position: absolute; width: 35rem; height: 35rem; top: -22rem; left: 38%; background: radial-gradient(circle, rgba(2, 132, 199, 0.19), transparent 68%); border-radius: 50%; content: ""; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.95fr); align-items: center; gap: clamp(2.5rem, 6vw, 5.5rem); }
.hero__copy, .announcement-card, .quick-card, .forms-grid > *, .contact-grid > * { min-width: 0; }
.hero h1, .section h2, .emergency-strip h2 { margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
.hero h1 { max-width: 13ch; font-size: clamp(2.7rem, 6vw, 5rem); letter-spacing: -0.035em; }
.hero__lead { max-width: 39rem; margin: 1.5rem 0 2rem; color: #3f5d70; font-size: clamp(1.08rem, 2vw, 1.28rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__image { position: relative; margin: 0; }
.hero__image::before { position: absolute; inset: 1rem -1rem -1rem 1rem; z-index: -1; background: var(--cyan); border-radius: var(--radius); content: ""; opacity: 0.22; }
.hero__image img { display: block; width: 100%; min-height: 19rem; object-fit: cover; border: 0.45rem solid var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero__image figcaption { position: absolute; right: 1.15rem; bottom: 1.15rem; padding: 0.45rem 0.7rem; color: var(--white); background: rgba(8, 47, 73, 0.88); border-radius: 0.35rem; font-size: 0.78rem; font-weight: 700; }

.eyebrow { margin: 0 0 0.75rem; color: var(--blue); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow--light { color: #8edbf4; }

.emergency-strip { padding: 1.6rem 0; color: var(--white); background: var(--navy); }
.emergency-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.emergency-strip .eyebrow { margin-bottom: 0.25rem; }
.emergency-strip h2 { color: var(--white); font-family: inherit; font-size: clamp(1.08rem, 2.3vw, 1.4rem); }
.emergency-number { flex: 0 0 auto; padding: 0.7rem 1rem; color: var(--white); border: 1px solid rgba(255,255,255,0.45); border-radius: 0.55rem; font-size: 1.05rem; font-weight: 900; text-decoration: none; }
.emergency-number:hover { color: var(--navy); background: var(--white); }

.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section--soft { background: var(--soft); }
.section--navy { color: #d7e7ef; background: var(--navy); }
.section h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.025em; }
.section--navy h2 { color: var(--white); }
.section-heading { margin-bottom: 2rem; }
.section-heading > p:last-child { max-width: 42rem; margin: 0.75rem 0 0; color: var(--muted); font-size: 1.1rem; }
.section-heading--split { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.section-heading--center { display: grid; justify-items: center; text-align: center; }
.updated-badge { display: inline-flex; padding: 0.45rem 0.7rem; color: var(--blue); background: var(--sky); border-radius: 999px; font-size: 0.78rem; font-weight: 850; white-space: nowrap; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 0.75fr); align-items: start; gap: 1.5rem; }
.announcement-card, .quick-card { padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(8, 47, 73, 0.07); }
.notice { display: flex; gap: 1rem; padding: 1.15rem; border: 1px solid #fed7aa; border-radius: 0.75rem; }
.notice--important { color: #78350f; background: var(--warning-soft); }
.notice__icon { display: grid; flex: 0 0 2rem; width: 2rem; height: 2rem; place-items: center; color: var(--white); background: var(--warning); border-radius: 50%; font-weight: 900; }
.notice h3, .announcement-list h3 { margin: 0 0 0.25rem; color: var(--navy); font-size: 1rem; }
.notice p, .announcement-list p { margin: 0; }
.announcement-list { display: grid; gap: 1.4rem; margin: 1.5rem 0; }
.announcement-list > div { padding-left: 1rem; border-left: 3px solid #7dd3fc; }
.text-link { font-weight: 850; text-decoration: none; }
.quick-card h2 { margin: 0 0 1rem; font-size: 1.45rem; }
.action-list { margin: 0; padding: 0; list-style: none; }
.action-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; color: var(--ink); border-bottom: 1px solid var(--line); font-weight: 750; text-decoration: none; }
.action-list a:hover { color: var(--blue); }
.quick-card__note { margin: 1.25rem 0 0; color: var(--muted); font-size: 0.86rem; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.service-card { min-height: 18rem; padding: 1.6rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.service-card:hover { color: var(--ink); border-color: #7dd3fc; box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card__number { color: #526b7a; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.15em; }
.service-card h3 { margin: 2.6rem 0 0.75rem; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; line-height: 1.2; }
.service-card p { color: var(--muted); }

.forms-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.forms-grid > div:first-child > p:not(.eyebrow) { margin: 1.2rem 0 2rem; }
.document-list { border-top: 1px solid rgba(255,255,255,0.22); }
.document-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.22); text-decoration: none; }
.document-list a:hover { color: #8edbf4; }
.document-list span:first-child { display: grid; }
.document-list small { margin-top: 0.18rem; color: #aac1ce; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.contact-grid > div > p:not(.eyebrow) { max-width: 36rem; color: var(--muted); font-size: 1.08rem; }
.contact-list { display: grid; gap: 0; margin: 2rem 0 0; }
.contact-list div { display: grid; grid-template-columns: 7rem 1fr; padding: 0.8rem 0; border-top: 1px solid var(--line); }
.contact-list dt { color: var(--muted); font-weight: 750; }
.contact-list dd { margin: 0; font-weight: 750; }
.contact-image { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

.site-footer { padding: 3.5rem 0 1.5rem; color: #bfd3de; background: var(--navy-deep); }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.footer-grid h2 { margin: 0 0 0.5rem; color: var(--white); font-family: inherit; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-grid p { margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 0.9rem; color: var(--white); }
.footer-brand img { width: 3.5rem; border-radius: 50%; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.8rem; }
.footer-bottom p { margin: 0; }

.page-hero { padding: clamp(3.5rem, 7vw, 6rem) 0; color: var(--white); background: linear-gradient(130deg, var(--navy-deep), var(--blue)); }
.page-hero h1 { max-width: 18ch; margin: 0; color: var(--white); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.45rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -0.035em; }
.page-hero p:not(.eyebrow) { max-width: 45rem; margin: 1.1rem 0 0; color: #d6edf7; font-size: 1.15rem; }
.breadcrumbs { padding: 0.85rem 0; color: var(--muted); background: var(--soft); border-bottom: 1px solid var(--line); font-size: 0.86rem; }
.breadcrumbs a { font-weight: 750; text-decoration: none; }
.page-section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.page-section--soft { background: var(--soft); }
.page-section h2 { margin: 0 0 1rem; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.15; }
.page-section h3 { margin: 0 0 0.45rem; color: var(--navy); }
.page-section p:first-child { margin-top: 0; }
.prose { max-width: 49rem; }
.prose > * + * { margin-top: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.55rem; }
.two-column { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr); align-items: start; gap: clamp(2rem, 6vw, 5rem); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.detail-card { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.detail-card p:last-child { margin-bottom: 0; }
.callout { padding: 1.4rem; color: var(--navy); background: var(--sky); border-left: 4px solid var(--blue-bright); border-radius: 0.35rem var(--radius) var(--radius) 0.35rem; }
.callout--warning { color: #78350f; background: var(--warning-soft); border-left-color: var(--warning); }
.callout h2, .callout h3 { font-family: inherit; font-size: 1.15rem; }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
.download-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 0.7rem; text-decoration: none; }
.download-card:hover { color: var(--blue); border-color: #7dd3fc; box-shadow: 0 8px 24px rgba(8,47,73,0.08); }
.download-card span:first-child { display: grid; }
.download-card small { color: var(--muted); }
.download-type { flex: 0 0 auto; color: var(--blue); font-size: 0.76rem; font-weight: 900; }
.contact-panel { padding: 1.6rem; color: var(--white); background: var(--navy); border-radius: var(--radius); }
.contact-panel h2, .contact-panel h3 { color: var(--white); font-family: inherit; font-size: 1.25rem; }
.contact-panel a { color: var(--white); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; min-height: 3rem; padding: 0 0 1.4rem 3.5rem; counter-increment: steps; }
.steps li::before { position: absolute; left: 0; display: grid; width: 2.35rem; height: 2.35rem; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; content: counter(steps); font-weight: 900; }
.steps li + li { border-top: 0; }
.alert-list { display: grid; gap: 1rem; }
.alert-item { padding: 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.alert-item__meta { margin: 0 0 0.45rem; color: var(--blue); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.alert-item h2, .alert-item h3 { margin-bottom: 0.55rem; font-size: 1.4rem; }

@media (max-width: 64rem) {
  .menu-button { display: inline-flex; }
  .primary-nav { position: absolute; top: 100%; right: 1.25rem; left: 1.25rem; display: none; align-items: stretch; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 0 0 0.8rem 0.8rem; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: grid; }
  .primary-nav > a { padding: 0.55rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 45rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 46rem) {
  .shell { width: min(calc(100% - 1.5rem), var(--shell)); }
  .utility-bar__inner { padding: 0.5rem 0; }
  .utility-bar p { display: none; }
  .utility-links { width: 100%; justify-content: space-between; }
  .header-inner { min-height: 5rem; gap: 0.5rem; }
  .brand { gap: 0.5rem; min-width: 0; }
  .brand img { width: 2.7rem; }
  .brand strong { max-width: 11rem; font-size: 0.82rem; }
  .brand small { display: none; }
  .menu-button { flex: 0 0 auto; padding: 0.55rem 0.65rem; }
  .hero { padding: 3.5rem 0 4.5rem; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 3.9rem); }
  .hero__image img { min-height: 14rem; }
  .emergency-strip__inner, .section-heading--split { align-items: flex-start; flex-direction: column; }
  .content-grid, .forms-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .two-column, .info-grid, .download-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-card h3 { margin-top: 1.5rem; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
