@font-face {
    font-family: "LINE Seed JP";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/line-seed-jp-400.woff2") format("woff2");
}

@font-face {
    font-family: "LINE Seed JP";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/line-seed-jp-700.woff2") format("woff2");
}

:root {
    --font-family: "LINE Seed JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-weight-regular: 400;
    --font-weight-bold: 700;
    --navy: #0d2748;
    --navy-2: #071b33;
    --navy-3: #12345d;
    --blue: #709dd5;
    --blue-2: #9dbce3;
    --blue-text: #2f5f9b;
    --cyan: #7ed6d6;
    --gold: #d7b56d;
    --white: #ffffff;
    --paper: #eaf2fc;
    --ink: #122033;
    --muted: #5b6b7e;
    --line: rgba(13, 39, 72, 0.14);
    --line-dark: rgba(255, 255, 255, 0.18);
    --shadow: 0 20px 60px rgba(4, 18, 35, 0.18);
    --radius: 8px;
    --shell: 1180px;
}

* {
    box-sizing: border-box;
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
    scrollbar-color: var(--blue-text) var(--paper);
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--paper);
}

::-webkit-scrollbar-thumb {
    border: 3px solid var(--paper);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--blue-text), var(--navy-3));
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--blue), var(--navy));
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font-family);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    text-rendering: geometricPrecision;
}

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

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--blue-text);
    outline-offset: 3px;
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.home-hero a:focus-visible,
.page-hero a:focus-visible,
.contact-preview a:focus-visible,
.site-footer a:focus-visible,
.mobile-action-bar a:focus-visible,
.breadcrumb-nav a:focus-visible,
.homepage-proof-section a:focus-visible,
.municipal-procurement a:focus-visible,
.statement-hero a:focus-visible,
.cta-band a:focus-visible {
    outline-color: var(--white);
    box-shadow: 0 0 0 5px rgba(112, 157, 213, 0.34);
}

p {
    margin: 0;
}

h1,
h2,
h3 {
    margin: 0;
    font-weight: var(--font-weight-bold);
    line-height: 1.06;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.45rem;
}

h3 {
    font-size: 1.1rem;
}

ul {
    margin: 0;
    padding: 0;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 1000;
    transform: translateY(-150%);
    padding: 10px 14px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow);
}

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

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.site-shell {
    width: min(100% - 40px, var(--shell));
    margin: 0 auto;
}

.home-page main .site-shell {
    width: min(100% - 48px, 1380px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 27, 51, 0.94);
    border-bottom: 1px solid var(--line-dark);
    backdrop-filter: blur(14px);
}

#main-content {
    scroll-margin-top: 85px;
}

.site-header .site-shell {
    width: min(95vw, 1920px);
}

.header-shell {
    display: flex;
    min-height: 84px;
    align-items: center;
    gap: 18px;
}

.brand-link,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.brand-link:hover,
.brand-link:focus {
    color: var(--white);
}

.brand-link img,
.footer-brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    animation: brandSpin 18s linear infinite;
}

@keyframes brandSpin {
    to {
        transform: rotate(-360deg);
    }
}

.brand-link strong,
.footer-brand span {
    display: block;
    font-size: 1.08rem;
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

.brand-link small {
    display: block;
    margin-top: 5px;
    color: var(--blue-2);
    font-size: 0.74rem;
    line-height: 1;
}

.brand-link:hover small,
.brand-link:focus small {
    color: var(--white);
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.primary-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius);
    padding: 0 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    font-weight: var(--font-weight-bold);
}

.primary-nav a:hover,
.primary-nav a:focus,
.primary-nav a.is-active {
    background: rgba(112, 157, 213, 0.16);
    color: var(--white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-phone {
    border-radius: var(--radius);
    padding: 8px 10px;
    color: var(--blue-2);
    font-size: 0.92rem;
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

.header-actions .btn {
    white-space: nowrap;
}

.header-phone:hover,
.header-phone:focus {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.btn {
    --water-fill: var(--blue-2);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 0 18px;
    font-size: 0.86rem;
    font-family: inherit;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.btn::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 58%), var(--water-fill);
    clip-path: polygon(0 104%, 19% 99%, 41% 103%, 63% 99%, 84% 103%, 100% 99%, 100% 100%, 0 100%);
    transition: clip-path 900ms cubic-bezier(0.28, 0.42, 0.24, 1);
    pointer-events: none;
}

.btn::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: calc(100% - 6px);
    left: -15%;
    width: 130%;
    height: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.48);
    border-radius: 50% 45% 0 0 / 90% 75% 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transform: rotate(-2deg);
    transition: top 900ms cubic-bezier(0.28, 0.42, 0.24, 1), opacity 160ms ease, transform 900ms ease;
    pointer-events: none;
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
}

.btn:hover::before,
.btn:focus-visible::before {
    clip-path: polygon(0 -2%, 19% 6%, 41% -2%, 63% 7%, 84% -1%, 100% 5%, 100% 100%, 0 100%);
}

.btn:hover::after,
.btn:focus-visible::after {
    top: 0;
    opacity: 0.75;
    transform: rotate(1deg) translateX(2%);
    animation: water-surface 2.4s ease-in-out 900ms infinite alternate;
}

@keyframes water-surface {
    from { transform: rotate(-1deg) translateX(-2%); }
    to { transform: rotate(1deg) translateX(2%); }
}

.btn-primary {
    --water-fill: var(--cyan);
    background: var(--blue);
    border-color: var(--blue);
    color: var(--navy-2);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--blue);
    border-color: var(--cyan);
    color: var(--navy-2);
}

.btn-secondary {
    --water-fill: var(--blue-text);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.34);
    color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus {
    border-color: var(--blue-2);
    color: var(--white);
}

.about-technical-experience .btn-secondary,
.municipal-qualification-section .btn-secondary,
.statement-actions .btn-secondary {
    background: var(--navy-3);
    border-color: var(--navy-3);
    color: var(--white);
}

.about-technical-experience .btn-secondary:hover,
.about-technical-experience .btn-secondary:focus,
.municipal-qualification-section .btn-secondary:hover,
.municipal-qualification-section .btn-secondary:focus,
.statement-actions .btn-secondary:hover,
.statement-actions .btn-secondary:focus {
    border-color: var(--blue-text);
}

.btn-ghost {
    --water-fill: var(--blue-2);
    background: transparent;
    border-color: rgba(13, 39, 72, 0.22);
    color: var(--navy);
}

.btn-ghost:hover,
.btn-ghost:focus {
    border-color: var(--blue-2);
    color: var(--navy);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.new-system-feature .button-row {
    margin-top: 24px;
}

.about-capabilities-section .card-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nav-toggle {
    width: 46px;
    height: 46px;
    display: none;
    place-items: center;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: transparent;
}

.nav-toggle span:not(.visually-hidden) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px auto;
    border-radius: 999px;
    background: var(--white);
}

.home-hero,
.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(112, 157, 213, 0.3), transparent 32%),
        linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 72%);
    color: var(--white);
}

.page-hero,
.statement-hero {
    isolation: isolate;
}

.page-hero::before,
.statement-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(7, 27, 51, 0.97) 0%, rgba(7, 27, 51, 0.9) 38%, rgba(7, 27, 51, 0.78) 72%, rgba(7, 27, 51, 0.16) 100%);
    pointer-events: none;
}

.breadcrumb-nav {
    background: var(--navy-2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-nav ol {
    width: min(100% - 40px, var(--shell));
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 auto;
    padding: 12px 0;
    list-style: none;
}

.breadcrumb-nav li {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.25;
}

.breadcrumb-nav li + li::before {
    content: "/";
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.34);
}

.breadcrumb-nav a {
    color: var(--blue-2);
}

.breadcrumb-nav a:hover,
.breadcrumb-nav a:focus {
    color: var(--white);
}

.breadcrumb-nav [aria-current="page"] {
    color: var(--white);
}

.home-hero {
    min-height: calc(72vh - 84px);
    display: flex;
    align-items: center;
    padding: 20px 0 64px;
    isolation: isolate;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(7, 27, 51, 0.97) 0%, rgba(7, 27, 51, 0.92) 34%, rgba(7, 27, 51, 0.48) 68%, rgba(7, 27, 51, 0.1) 100%);
}

.hero-grid {
    display: block;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 620px;
    animation: heroReveal 760ms ease both;
}

.hero-copy h1 {
    line-height: 1.2;
}

.hero-copy p {
    max-width: 650px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.15rem;
    line-height: 1.48;
}

.hero-copy .button-row {
    margin-top: 24px;
}

.trust-line {
    display: flex;
    flex-wrap: wrap;
    column-gap: 9px;
    row-gap: 4px;
    margin-top: 20px;
    list-style: none;
}

.trust-line li {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
    font-weight: var(--font-weight-bold);
}

.trust-line li:not(:last-child)::after {
    content: "\00b7";
    margin-left: 9px;
    color: var(--blue-2);
}

.hero-media-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
}

.hero-media,
.page-hero-media,
.municipal-grid figure {
    overflow: hidden;
    border-radius: var(--radius);
}

.hero-media {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.hero-media img,
.page-hero-media img,
.municipal-grid figure img,
.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media img {
    object-position: center 62%;
}

.wave-divider {
    position: absolute;
    inset: auto 0 0;
    z-index: 3;
    overflow: hidden;
    height: clamp(38px, 5vw, 64px);
    color: var(--white);
    pointer-events: none;
}

.page-hero:has(+ .section-muted) .wave-divider {
    color: var(--paper);
}

.wave-divider svg {
    width: 180%;
    height: 100%;
    display: block;
    transform: translateX(-22%);
    animation: waveDrift 28s ease-in-out infinite alternate;
}

.wave-divider path {
    fill: currentColor;
}

@keyframes waveDrift {
    from {
        transform: translate(-22.5%, 0);
    }

    to {
        transform: translate(-21.5%, 2px);
    }
}

@keyframes heroReveal {
    from {
        opacity: 0.9;
        transform: translate3d(0, 8px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.section {
    padding: 94px 0;
}

.first-section {
    padding-top: 42px;
}

.home-positioning-section {
    padding-bottom: 56px;
    background: var(--white);
}

.home-page main > .section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.home-page main > .home-positioning-section {
    padding-top: 42px;
    padding-bottom: 52px;
}

.home-positioning-section .two-column {
    align-items: start;
}

.home-capability-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-top: 32px;
    background: var(--line);
    box-shadow: 0 20px 60px rgba(13, 39, 72, 0.12);
}

.capability-image-card {
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 22px;
    color: var(--white);
    background: var(--navy);
}

.capability-image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(7, 27, 51, 0.18), rgba(7, 27, 51, 0.96));
}

.capability-image-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 220ms ease;
}

.capability-image-card:hover img,
.capability-image-card:focus img {
    transform: scale(1.05);
}

.capability-image-card span,
.capability-image-card strong {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.capability-image-card span {
    color: var(--blue-2);
    font-size: 0.74rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    text-transform: uppercase;
}

.capability-image-card strong {
    display: block;
    min-height: 2.4em;
    margin-top: 8px;
    color: var(--white);
    font-size: 1.08rem;
    line-height: 1.16;
}

.section-muted {
    background: var(--paper);
}

.home-positioning-section + .section-muted {
    padding-top: 70px;
}

.home-page .service-card {
    min-height: 168px;
    padding: 22px;
}

.home-page .service-card p {
    margin-top: 14px;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    gap: 68px;
    align-items: start;
}

.section-kicker {
    margin-bottom: 14px;
    color: var(--blue-text);
    font-size: 0.78rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    text-transform: uppercase;
}

.page-hero .section-kicker,
.contact-preview .section-kicker,
.municipal-procurement .section-kicker {
    color: var(--blue-2);
}

.lead-copy {
    color: var(--muted);
    font-size: 1.18rem;
    line-height: 1.72;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading p:not(.section-kicker) {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.06rem;
}

.card-grid {
    display: grid;
    gap: 18px;
}

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.scenario-card,
.image-card,
.contact-options a,
.contact-cards a,
.check-panel,
.document-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 36px rgba(13, 39, 72, 0.08);
}

.service-card {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.card-grid .service-card {
    justify-content: flex-start;
}

[data-animate] {
    opacity: 1;
    transform: translate3d(0, 14px, 0);
    transition: transform 480ms cubic-bezier(0.2, 0.72, 0.24, 1);
    transition-delay: var(--motion-delay, 0ms);
    will-change: opacity, transform;
}

[data-animate="fade"] {
    transform: translate3d(0, 12px, 0);
}

[data-animate="slide-left"] {
    transform: translate3d(28px, 0, 0);
}

[data-animate="slide-right"] {
    transform: translate3d(-28px, 0, 0);
}

[data-animate="scale"] {
    transform: translate3d(0, 18px, 0) scale(0.98);
}

[data-animate].is-visible {
    opacity: 1;
    transform: none;
}

.service-card:hover,
.service-card:focus,
.image-card:hover,
.image-card:focus,
.contact-options a:hover,
.contact-options a:focus,
.contact-cards a:hover,
.contact-cards a:focus {
    transform: translateY(-3px);
    border-color: rgba(112, 157, 213, 0.55);
    box-shadow: 0 18px 44px rgba(13, 39, 72, 0.14);
}

.service-card span,
.image-card span {
    color: var(--navy);
    font-size: 1.04rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.25;
}

.service-card p,
.image-card p,
.scenario-card p,
.document-panel p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.62;
}

.service-card p {
    margin-top: 22px;
}

.card-grid .service-card p {
    margin-top: 16px;
}

@media (min-width: 921px) {
    .services-overview-page .new-system-feature {
        padding-bottom: 62px;
    }

    .services-overview-page .new-system-feature + .section-muted {
        padding-top: 68px;
    }

    .services-overview-page .card-grid .service-card span {
        min-height: 2.5em;
    }
}

.service-card small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.service-card-accent {
    background: linear-gradient(160deg, var(--navy), var(--navy-3));
}

.service-card-accent span,
.service-card-accent p {
    color: var(--white);
}

.service-card-accent p {
    color: rgba(255, 255, 255, 0.78);
}

.municipal-feature {
    background: var(--white);
}

.municipal-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.municipal-grid figure {
    aspect-ratio: 0.9 / 1;
    box-shadow: var(--shadow);
}

.home-page .municipal-grid figure {
    aspect-ratio: 1.2 / 1;
}

.municipal-grid p:not(.section-kicker) {
    margin-top: 20px;
    color: var(--muted);
    font-size: 1.08rem;
}

.municipal-grid .button-row {
    margin-top: 28px;
}

.homepage-proof-section {
    overflow: hidden;
    background: var(--navy);
    color: var(--white);
}

.homepage-proof-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: start;
}

.homepage-proof-grid > div:first-child {
    max-width: 780px;
}

.homepage-proof-section .section-kicker {
    color: var(--blue-2);
}

.homepage-proof-section h2 {
    color: var(--white);
}

.homepage-proof-section .lead-copy {
    color: rgba(255, 255, 255, 0.78);
}

.proof-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.proof-item {
    min-height: 164px;
    padding: 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.proof-item span {
    display: block;
    color: var(--blue-2);
    font-size: 0.76rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.35;
    text-transform: uppercase;
}

.proof-item strong {
    display: block;
    margin-top: 12px;
    color: var(--white);
    font-size: 1rem;
    line-height: 1.42;
}

.proof-item p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.55;
}

.proof-item a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.process-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.process-row div {
    min-height: 112px;
    padding: 20px;
    background: var(--white);
}

.process-row div + div {
    border-left: 1px solid rgba(13, 39, 72, 0.26);
}

.process-row span {
    display: block;
    margin-bottom: 16px;
    color: var(--blue-text);
    font-size: 0.84rem;
    font-weight: var(--font-weight-bold);
}

.process-row h3 {
    color: var(--navy);
    font-size: 1rem;
}

.process-row p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.scenario-card {
    padding: 28px;
}

.scenario-card h3 {
    color: var(--navy);
    font-size: 1.24rem;
}

.scenario-subtitle {
    margin: 10px 0 16px;
    color: var(--navy);
    font-weight: var(--font-weight-bold);
}

.section-action {
    margin-top: 28px;
}

.contact-preview {
    background: var(--navy);
    color: var(--white);
}

.contact-preview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    gap: 64px;
    align-items: center;
}

.contact-preview h2 {
    color: var(--white);
}

.contact-preview p:not(.section-kicker) {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.78);
}

.contact-options {
    display: grid;
    gap: 12px;
}

.contact-options a {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.contact-options span {
    color: var(--blue-2);
    font-size: 0.84rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
}

.contact-options strong {
    font-size: 1rem;
}

.page-hero {
    min-height: 480px;
    display: flex;
    align-items: center;
    padding: 76px 0 108px;
}

.page-hero-grid {
    display: block;
}

.page-hero-copy p:not(.section-kicker) {
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.16rem;
}

.page-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 760px;
    animation: heroReveal 720ms ease both;
}

.page-hero-copy p:not(.section-kicker) {
    max-width: 680px;
}

.page-hero-copy .button-row {
    margin-top: 30px;
}

.page-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.check-panel,
.document-panel {
    padding: 28px;
}

.check-panel h3,
.document-panel h3 {
    color: var(--navy);
    margin-bottom: 16px;
}

.check-list {
    display: grid;
    gap: 12px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 12px;
    height: 2px;
    background: var(--blue);
}

.pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-grid span {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 9px 12px;
    background: var(--white);
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);
}

.pill-grid.compact {
    margin-top: 22px;
}

.image-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.image-card img {
    aspect-ratio: 1.35 / 0.82;
}

.image-card span,
.image-card p {
    margin: 0 22px;
}

.image-card span {
    margin-top: 20px;
}

.image-card p {
    margin-top: 10px;
    margin-bottom: 24px;
}

.municipal-procurement {
    background: var(--navy);
    color: var(--white);
}

.municipal-procurement .lead-copy,
.municipal-procurement .document-panel p {
    color: rgba(255, 255, 255, 0.78);
}

.municipal-procurement .lead-copy {
    margin-top: 16px;
}

.municipal-procurement .document-panel {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.municipal-procurement .document-panel h3 {
    color: var(--white);
}

.municipal-procurement .document-panel .button-row {
    margin-top: 20px;
}

.municipal-procurement .btn-ghost {
    --water-fill: var(--blue-text);
    border-color: var(--blue-2);
    color: var(--white);
}

.municipal-procurement .btn-ghost:hover,
.municipal-procurement .btn-ghost:focus {
    border-color: var(--white);
    color: var(--white);
}

.launch-qa-panel {
    margin-top: 24px;
}

.launch-qa-panel code,
.resource-strip code {
    color: var(--navy);
    font-weight: var(--font-weight-bold);
}

.check-panel code {
    overflow-wrap: anywhere;
}

.municipal-qualification-section {
    background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
}

.municipal-qualification-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 56px;
    align-items: start;
}

.municipal-qualification-grid .button-row {
    margin-top: 28px;
}

.qualification-panel {
    display: grid;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 36px rgba(13, 39, 72, 0.08);
}

.qualification-row {
    display: grid;
    grid-template-columns: minmax(140px, 0.38fr) minmax(0, 0.62fr);
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
}

.qualification-row:last-child {
    border-bottom: 0;
}

.qualification-row span {
    color: var(--blue-text);
    font-size: 0.78rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.35;
    text-transform: uppercase;
}

.qualification-row strong {
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.55;
}

.qualification-row a {
    color: var(--blue-text);
}

.history-section .municipal-grid {
    align-items: center;
}

.history-section figure {
    aspect-ratio: 1.2 / 0.82;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.contact-cards a {
    padding: 28px;
}

.contact-cards span {
    color: var(--blue-text);
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
}

.contact-cards strong {
    display: block;
    margin-top: 12px;
    color: var(--navy);
    font-size: 1.2rem;
}

.contact-cards p {
    margin-top: 14px;
    color: var(--muted);
}

.form-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

.form-layout p:not(.section-kicker) {
    margin-top: 18px;
    color: var(--muted);
}

.rms-form {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.form-layout .rms-form .form-required-note {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.84rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.rms-form label {
    display: grid;
    gap: 7px;
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: var(--font-weight-bold);
}

.rms-form label[data-required] > span::after {
    content: " *";
    color: var(--blue-text);
}

.rms-form input,
.rms-form select,
.rms-form textarea {
    width: 100%;
    border: 1px solid rgba(13, 39, 72, 0.18);
    border-radius: var(--radius);
    padding: 12px 13px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 0.96rem;
    outline: none;
}

.rms-form input:focus,
.rms-form select:focus,
.rms-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(112, 157, 213, 0.18);
}

.rms-form input:focus-visible,
.rms-form select:focus-visible,
.rms-form textarea:focus-visible {
    outline: 3px solid var(--blue-text);
    outline-offset: 3px;
}

.rms-form input[type="file"] {
    padding: 8px;
    background: rgba(112, 157, 213, 0.08);
    font-size: 0;
}

.rms-form input[type="file"]::file-selector-button {
    border: 1px solid rgba(13, 39, 72, 0.2);
    border-radius: var(--radius);
    padding: 8px 11px;
    background: var(--white);
    color: var(--navy);
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
}

.file-selection {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: var(--font-weight-regular);
    overflow-wrap: anywhere;
}

.file-control small {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: var(--font-weight-regular);
    line-height: 1.45;
}

.span-2 {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
}

.form-actions p {
    color: var(--muted);
    font-size: 0.92rem;
}

.form-actions a {
    color: var(--navy);
    font-weight: var(--font-weight-bold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-handoff-note {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.form-status {
    margin-top: 16px;
    color: var(--navy);
    font-weight: var(--font-weight-bold);
}

.form-status a {
    color: var(--blue-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rms-form [aria-invalid="true"] {
    border-color: #a52734;
    box-shadow: 0 0 0 2px rgba(165, 39, 52, 0.14);
}

.rms-form .field-error {
    color: #8d1d28;
    font-size: 0.82rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.45;
}

.rms-form .btn:disabled {
    cursor: progress;
    opacity: 0.72;
}

.narrow-message {
    max-width: 760px;
}

.narrow-message p {
    margin: 18px 0 28px;
    color: var(--muted);
    font-size: 1.08rem;
}

.scenario-list {
    display: grid;
    gap: 20px;
}

.scenario-detail {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
    gap: 42px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px;
    background: var(--white);
}

.scenario-detail p:not(.section-kicker) {
    color: var(--muted);
}

.scenario-lead > p:not(.section-kicker) {
    margin-top: 16px;
    font-size: 1rem;
}

.scenario-body-grid {
    display: grid;
    gap: 20px;
}

.scenario-copy-block {
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.scenario-copy-block:first-child {
    border-top: 0;
    padding-top: 0;
}

.scenario-copy-block h3 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.25;
}

.scenario-scope .check-list {
    margin-top: 10px;
}

.scenario-capabilities .pill-grid.compact {
    margin-top: 10px;
}

.review-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.review-check-grid article,
.article-review-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 36px rgba(13, 39, 72, 0.08);
}

.review-check-grid article {
    padding: 24px;
}

.review-check-grid span,
.article-review-card span {
    color: var(--blue-text);
    font-size: 0.78rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.35;
    text-transform: uppercase;
}

.review-check-grid h3,
.article-review-card h3 {
    margin-top: 10px;
    color: var(--navy);
    font-size: 1.16rem;
    line-height: 1.25;
}

.review-check-grid p,
.article-review-card p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.62;
}

.article-review-list {
    display: grid;
    gap: 16px;
}

.article-review-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.5fr) minmax(0, 0.8fr) auto;
    gap: 24px;
    align-items: start;
    padding: 24px;
}

.review-check-list {
    display: grid;
    gap: 8px;
    padding-left: 18px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.text-link {
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: var(--font-weight-bold);
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.statement-hero {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 72px 0 100px;
    background: var(--navy);
    color: var(--white);
}

.statement-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    gap: 48px;
    align-items: end;
}

.statement-logo {
    margin-bottom: 24px;
}

.statement-shell p {
    max-width: 760px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.12rem;
}

.statement-contact {
    display: grid;
    gap: 9px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 28px;
    color: rgba(255, 255, 255, 0.84);
}

.statement-contact strong {
    color: var(--white);
}

.statement-body {
    padding: 58px 0;
}

.statement-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.statement-grid article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}

.statement-grid h2 {
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.statement-grid h2:not(:first-child) {
    margin-top: 20px;
}

.statement-grid ul {
    display: grid;
    gap: 8px;
    padding-left: 18px;
    color: var(--muted);
}

.statement-grid p {
    color: var(--muted);
}

.statement-guidance-section {
    padding: 0 0 58px;
}

.statement-guidance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    border-top: 1px solid var(--line);
    padding-top: 36px;
}

.statement-guidance-grid h2 {
    margin: 8px 0 14px;
    font-size: 1.45rem;
}

.statement-guidance-grid p:not(.section-kicker) {
    color: var(--muted);
}

.statement-guidance-grid p + p {
    margin-top: 12px;
}

.statement-guidance-grid .statement-process-sequence {
    color: var(--blue-text) !important;
    font-weight: var(--font-weight-bold);
}

@media (max-width: 760px) {
    .statement-guidance-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 28px;
    }
}

.statement-actions {
    padding: 0 0 70px;
}

.statement-actions .site-shell {
    display: flex;
    gap: 12px;
}

.resource-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.resource-strip a,
.resource-strip article,
.article-card,
.project-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 36px rgba(13, 39, 72, 0.08);
}

.resource-strip a,
.resource-strip article {
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 24px;
}

.resource-strip span,
.article-card span,
.project-card span,
.article-meta {
    color: var(--blue-text);
    font-size: 0.78rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
}

.resource-strip h3,
.article-card h2,
.project-card h2 {
    margin-top: 10px;
    color: var(--navy);
    font-size: 1.2rem;
    line-height: 1.2;
}

.resource-strip p,
.article-card p,
.project-card p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.62;
}

.article-card,
.project-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
}

.article-card img,
.project-card img {
    width: 100%;
    aspect-ratio: 1.45 / 0.86;
    object-fit: cover;
}

.article-card-content,
.project-card-content {
    padding: 24px;
}

.photo-proof-callout {
    display: grid;
    grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
    gap: 44px;
    align-items: center;
}

.photo-proof-callout p:not(.section-kicker) {
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.02rem;
}

.photo-proof-strip {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    grid-template-rows: repeat(2, 170px);
    gap: 14px;
}

.photo-proof-strip img,
.photo-card img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    object-fit: cover;
}

.photo-proof-strip img:first-child {
    grid-row: 1 / 3;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.photo-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: 260px auto;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 36px rgba(13, 39, 72, 0.08);
}

.photo-card figcaption {
    display: grid;
    gap: 7px;
    padding: 20px;
}

.photo-card strong {
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.2;
}

.photo-card span {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
    gap: 54px;
    align-items: start;
}

.article-body {
    color: var(--ink);
    font-size: 1.04rem;
    line-height: 1.75;
}

.article-body h2 {
    margin-top: 42px;
    margin-bottom: 14px;
    color: var(--navy);
    font-size: 1.72rem;
}

.article-body p {
    margin: 0 0 18px;
    color: var(--muted);
}

.article-body ul,
.article-body ol {
    display: grid;
    gap: 8px;
    margin: 0 0 24px;
    padding-left: 22px;
    color: var(--muted);
}

.article-references {
    margin-top: 42px;
    border-top: 1px solid var(--line);
}

.article-references a {
    color: var(--blue-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-references a:hover {
    color: var(--navy);
}

.article-sidebar {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 16px;
}

.article-sidebar .service-card {
    min-height: auto;
    justify-content: flex-start;
    gap: 10px;
}

.article-topic-card h3 {
    margin-top: 12px;
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.22;
}

.article-topic-card p {
    margin-top: 12px;
}

.article-figure {
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 34px;
    box-shadow: var(--shadow);
}

.article-figure img {
    width: 100%;
    aspect-ratio: 1.62 / 0.86;
    object-fit: cover;
}

.migration-table {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.migration-row {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 0.92fr) minmax(0, 0.72fr);
    gap: 1px;
    background: var(--line);
}

.migration-row > div {
    padding: 16px;
    background: var(--white);
    color: var(--muted);
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

.migration-row.heading > div {
    background: var(--navy);
    color: var(--white);
    font-weight: var(--font-weight-bold);
}

.cta-band {
    padding: 58px 0;
    background: var(--navy-2);
    color: var(--white);
}

.cta-band-inner {
    display: flex;
    justify-content: space-between;
    gap: 36px;
    align-items: center;
}

.cta-band p {
    max-width: 680px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.78);
}

.cta-band .btn-ghost {
    --water-fill: var(--blue-text);
    border-color: rgba(255, 255, 255, 0.42);
    color: var(--white);
}

.cta-band .btn-ghost:hover,
.cta-band .btn-ghost:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--white);
}

.site-footer {
    padding: 70px 0 86px;
    background: #06172b;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.55fr) minmax(220px, 0.55fr);
    gap: 54px;
}

.footer-grid p {
    max-width: 520px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.72);
}

.footer-contact {
    display: grid;
    gap: 8px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.82);
}

.footer-grid h2 {
    margin-bottom: 16px;
    color: var(--white);
    font-size: 1rem;
}

.footer-grid ul {
    display: grid;
    gap: 10px;
    list-style: none;
}

.footer-grid a {
    color: rgba(255, 255, 255, 0.76);
}

.footer-grid a:hover,
.footer-grid a:focus {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 52px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
}

.mobile-action-bar {
    display: none;
}

@media (max-width: 1240px) {
    .header-actions .header-phone {
        display: none;
    }
}

@media (max-width: 1120px) {
    h1 {
        font-size: 3.25rem;
    }

    h2 {
        font-size: 2.1rem;
    }

    .process-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .process-row div:nth-child(3n + 1) {
        border-left: 0;
    }

    .process-row div:nth-child(n + 4) {
        border-top: 1px solid rgba(13, 39, 72, 0.26);
    }
}

@media (max-width: 1100px) {
    html {
        scroll-padding-top: 75px;
    }

    .header-shell {
        min-height: 74px;
    }

    #main-content {
        scroll-margin-top: 75px;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .primary-nav {
        --nav-bottom-clearance: 8px;
        position: absolute;
        left: 14px;
        right: 14px;
        top: 74px;
        max-height: calc(100vh - 74px - var(--nav-bottom-clearance));
        max-height: calc(100dvh - 74px - var(--nav-bottom-clearance));
        overflow-y: auto;
        overscroll-behavior-y: contain;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        border: 1px solid var(--line-dark);
        border-radius: var(--radius);
        padding: 10px;
        background: var(--navy-2);
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav a {
        min-height: 46px;
        flex-shrink: 0;
    }

    .header-actions {
        display: none;
    }
}

@media (max-width: 920px) {
    .home-page main .site-shell {
        width: min(100% - 28px, var(--shell));
    }

    .home-page .home-capability-strip,
    .home-page .proof-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-hero::before {
        background: linear-gradient(90deg, rgba(7, 27, 51, 0.98) 0%, rgba(7, 27, 51, 0.92) 55%, rgba(7, 27, 51, 0.68) 100%);
    }

    .page-hero::before,
    .statement-hero::before {
        background: linear-gradient(90deg, rgba(7, 27, 51, 0.96) 0%, rgba(7, 27, 51, 0.88) 60%, rgba(7, 27, 51, 0.72) 100%);
    }

    [data-animate="slide-left"],
    [data-animate="slide-right"] {
        transform: translate3d(0, 18px, 0);
    }

    .site-shell {
        width: min(100% - 28px, var(--shell));
    }

    .home-hero {
        min-height: auto;
        padding: 34px 0 72px;
    }

    .hero-grid,
    .municipal-grid,
    .municipal-qualification-grid,
    .homepage-proof-grid,
    .two-column,
    .contact-preview-grid,
    .form-layout,
    .scenario-detail,
    .statement-shell,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .card-grid.three,
    .card-grid.two,
    .contact-cards,
    .review-check-grid,
    .statement-grid,
    .resource-strip,
    .article-layout,
    .photo-proof-callout,
    .photo-grid,
    .proof-list,
    .home-capability-strip {
        grid-template-columns: 1fr;
    }

    .capability-image-card {
        min-height: 188px;
        scroll-margin-block: 96px;
    }

    .photo-proof-strip {
        grid-template-rows: repeat(2, 150px);
    }

    .article-sidebar {
        position: static;
    }

    .migration-row {
        grid-template-columns: 1fr;
    }

    .statement-contact {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-left: 0;
        padding-top: 22px;
    }

    .cta-band-inner,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .article-review-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .text-link {
        white-space: normal;
    }
}

@media (min-width: 641px) {
    .statement-hero::before {
        background: linear-gradient(90deg, rgba(7, 27, 51, 0.97) 0%, rgba(7, 27, 51, 0.85) 54%, rgba(7, 27, 51, 0.7) 100%);
    }
}

@media (max-width: 640px) {
    .primary-nav {
        /* Reserve the fixed bar, including two wrapped label lines and its border. */
        --nav-bottom-clearance: calc(8px + max(59px, 2.5rem + 17px));
    }

    .about-capabilities-section .card-grid.three {
        grid-template-columns: 1fr;
    }

    .home-page .home-capability-strip,
    .home-page .proof-list {
        grid-template-columns: 1fr;
    }

    .home-page main > .section {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .home-page main > .home-positioning-section {
        padding-top: 24px;
    }

    .home-page .service-card {
        min-height: auto;
    }

    .card-grid .service-card {
        min-height: auto;
    }

    .home-page .municipal-grid figure {
        aspect-ratio: 1.3 / 1;
    }
    body {
        padding-bottom: 58px;
    }

    h1 {
        font-size: 2.18rem;
        line-height: 1.04;
    }

    .breadcrumb-nav li:nth-child(3) {
        flex-basis: 100%;
    }

    .breadcrumb-nav li:nth-child(3)::before {
        content: none;
    }

    h2 {
        font-size: 1.72rem;
    }

    .brand-link img {
        width: 46px;
        height: 46px;
    }

    .brand-link small {
        display: none;
    }

    .section,
    .page-hero {
        padding: 58px 0;
    }

    .page-hero {
        min-height: 420px;
        padding: 52px 0 88px;
    }

    .statement-hero {
        padding: 32px 0 54px;
    }

    .statement-shell {
        gap: 20px;
    }

    .statement-logo {
        width: 54px;
        height: 54px;
        margin-bottom: 12px;
    }

    .statement-contact {
        gap: 6px;
        padding-top: 14px;
        font-size: 0.9rem;
    }

    .page-hero + .section {
        padding-top: 28px;
    }

    .page-hero-copy p:not(.section-kicker) {
        margin-top: 14px;
    }

    .page-hero-copy .button-row {
        margin-top: 20px;
    }

    .page-hero-copy .button-row a[href^="tel:"],
    .page-hero-copy .button-row a[href$="/request-service/"],
    .page-hero-copy .button-row a[href$="/contact-sales/"] {
        display: none;
    }

    .new-system-hero .page-hero-copy .button-row a[href$="/contact-sales/"] {
        display: flex;
    }

    .page-hero::before,
    .statement-hero::before {
        background: linear-gradient(180deg, rgba(7, 27, 51, 0.94) 0%, rgba(7, 27, 51, 0.88) 58%, rgba(7, 27, 51, 0.7) 100%);
    }

    .first-section {
        padding-top: 38px;
    }

    .home-hero {
        padding: 20px 0 50px;
    }

    .home-hero::before {
        background: linear-gradient(180deg, rgba(7, 27, 51, 0.97) 0%, rgba(7, 27, 51, 0.95) 58%, rgba(7, 27, 51, 0.7) 100%);
    }

    .hero-media img {
        object-position: 60% 72%;
    }

    .home-positioning-section {
        padding-top: 24px;
        padding-bottom: 78px;
    }

    .hero-copy p,
    .page-hero-copy p:not(.section-kicker),
    .lead-copy {
        font-size: 0.96rem;
        line-height: 1.48;
    }

    .hero-copy p {
        margin-top: 16px;
    }

    .hero-copy .button-row {
        margin-top: 22px;
    }

    .button-row,
    .statement-actions .site-shell {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
        min-height: 42px;
    }

    .trust-line {
        column-gap: 7px;
        margin-top: 14px;
    }

    .trust-line li {
        font-size: 0.75rem;
    }

    .trust-line li:not(:last-child)::after {
        margin-left: 7px;
    }

    .hero-grid {
        gap: 16px;
    }

    .process-row {
        grid-template-columns: 1fr;
    }

    .process-row div {
        display: grid;
        grid-template-columns: 2.2rem minmax(0, 1fr);
        column-gap: 14px;
        min-height: 84px;
        align-items: start;
        padding: 18px;
        border-left: 0;
    }

    .process-row div + div {
        border-left: 0;
        border-top: 1px solid rgba(13, 39, 72, 0.26);
    }

    .process-row span {
        margin-bottom: 0;
    }

    .process-row p {
        grid-column: 2;
    }

    .qualification-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .rms-form .form-actions .btn {
        width: 100%;
        padding-inline: 8px;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .site-footer {
        padding-bottom: 112px;
    }

    .mobile-action-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        background: var(--navy-2);
    }

    .mobile-action-bar a {
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 6px;
        color: var(--white);
        font-size: 0.78rem;
        font-weight: var(--font-weight-bold);
        text-align: center;
        text-transform: uppercase;
    }

    .mobile-action-bar a + a {
        border-left: 1px solid rgba(255, 255, 255, 0.12);
    }

    [data-animate="slide-left"],
    [data-animate="slide-right"] {
        transform: translate3d(0, 18px, 0);
    }
}

@media (max-width: 640px) and (max-height: 650px) {
    .page-hero {
        min-height: 0;
        padding: 28px 0 52px;
    }

    .home-hero {
        padding: 8px 0 42px;
    }

    .home-hero .trust-line {
        column-gap: 5px;
        row-gap: 0;
        margin-top: 8px;
    }

    .home-hero .trust-line li {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .home-hero .trust-line li:not(:last-child)::after {
        margin-left: 5px;
    }

    .hero-copy .button-row {
        gap: 8px;
        margin-top: 16px;
    }

    .home-positioning-section {
        padding-top: 18px;
    }
}

@media (max-width: 420px) and (max-height: 650px) {
    .wave-divider {
        height: 6px;
    }

    .breadcrumb-nav li:nth-child(3) {
        display: none;
    }

    h1 {
        font-size: 1.92rem;
        line-height: 1.04;
    }

    .page-hero {
        padding: 20px 0 24px;
    }

    .page-hero + .section {
        padding-top: 16px;
    }

    .page-hero .section-kicker {
        margin-bottom: 8px;
    }

    .page-hero-copy p:not(.section-kicker) {
        margin-top: 10px;
        font-size: 0.92rem;
        line-height: 1.42;
    }

    .page-hero-copy .button-row {
        gap: 8px;
        margin-top: 12px;
    }

    .page-hero-copy .button-row:not(:has(a:not([href^="tel:"]):not([href$="/request-service/"]):not([href$="/contact-sales/"]))) {
        display: none;
    }

    .home-hero {
        padding: 8px 0 16px;
    }

    .home-page main > .home-positioning-section {
        padding-top: 8px;
    }

    .new-system-hero .page-hero-copy .button-row a[href$="/systems/"] {
        display: none;
    }
}

@media (max-width: 420px), (max-width: 640px) and (max-height: 820px) {
    .statement-hero {
        min-height: 0;
        padding: 20px 0 34px;
    }

    .statement-logo,
    .statement-contact {
        display: none;
    }

    .statement-shell {
        gap: 0;
    }

    .statement-shell h1 {
        font-size: 1.75rem;
        line-height: 1.05;
    }

    .statement-shell p {
        margin-top: 12px;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .statement-body {
        padding-top: 18px;
    }
}

@media print {
    @page {
        size: letter;
        margin: 0.38in;
    }

    .site-header,
    .site-footer,
    .mobile-action-bar,
    .statement-actions,
    .wave-divider,
    .skip-link,
    body:has(.statement-hero) .breadcrumb-nav {
        display: none !important;
    }

    html:has(.statement-hero),
    body:has(.statement-hero) {
        background: var(--white);
        color: #000;
        font-size: 9pt;
        line-height: 1.35;
    }

    body:has(.statement-hero) .site-shell {
        width: 100%;
    }

    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }

    .statement-hero {
        min-height: 0;
        display: block;
        overflow: visible;
        padding: 0 0 6px;
        background: var(--white);
        color: #000;
    }

    .statement-hero::before,
    .statement-hero .page-hero-media {
        display: none;
    }

    .statement-shell {
        grid-template-columns: minmax(0, 1fr) 2.1in;
        gap: 18px;
        align-items: end;
    }

    .statement-logo {
        width: 34px;
        height: 34px;
        margin-bottom: 4px;
    }

    .statement-shell h1 {
        font-size: 20pt;
        line-height: 1.08;
    }

    .statement-shell p,
    .statement-contact,
    .statement-grid p,
    .statement-grid ul {
        color: #000;
    }

    .statement-shell p {
        margin-top: 7px;
        font-size: 9pt;
        line-height: 1.35;
    }

    .statement-contact {
        gap: 2px;
        border-left: 1px solid var(--line);
        padding-left: 12px;
        font-size: 9pt;
    }

    .statement-contact strong {
        color: #000;
    }

    .statement-body {
        padding: 5px 0 6px;
    }

    .statement-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .statement-grid article {
        break-inside: avoid;
        padding: 9px;
    }

    .statement-grid h2 {
        margin-bottom: 5px;
        font-size: 12pt;
    }

    .statement-grid h2:not(:first-child) {
        margin-top: 9px;
    }

    .statement-grid p,
    .statement-grid ul {
        font-size: 9pt;
        line-height: 1.35;
    }

    .statement-grid ul {
        gap: 2px;
        padding-left: 14px;
    }

    .statement-guidance-section {
        padding: 0 0 5px;
        break-inside: avoid;
    }

    .statement-guidance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding-top: 6px;
    }

    .statement-guidance-grid h2 {
        margin: 3px 0 5px;
        font-size: 11pt;
        line-height: 1.2;
    }

    .statement-guidance-grid p:not(.section-kicker) {
        color: #000;
        font-size: 9pt;
        line-height: 1.35;
    }

    .statement-guidance-grid p + p {
        margin-top: 5px;
    }

    .statement-guidance-grid .statement-process-sequence {
        color: var(--blue-text) !important;
    }

    .statement-experience-section {
        padding: 4px 0 0;
        background: var(--white);
        break-before: auto;
    }

    .statement-experience-section .section-heading {
        max-width: none;
        margin-bottom: 8px;
    }

    .statement-experience-section .section-heading h2 {
        font-size: 13pt;
        line-height: 1.2;
    }

    .statement-experience-section .section-heading p:not(.section-kicker) {
        margin-top: 4px;
        font-size: 9pt;
    }

    .resource-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 8px;
    }

    .resource-strip a {
        break-inside: avoid;
        padding: 8px;
        box-shadow: none;
    }

    .resource-strip span,
    .resource-strip h3,
    .resource-strip p {
        font-size: 9pt;
        line-height: 1.3;
    }

    .resource-strip h3 {
        margin-top: 4px;
    }

    .resource-strip p {
        margin-top: 5px;
    }
}

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

    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }
}
