:root {
    --ink: #17343c;
    --muted: #60747a;
    --teal: #0c4755;
    --teal-2: #12667a;
    --aqua: #dbeff1;
    --cream: #f6f4ed;
    --gold: #d8a940;
    --white: #fff;
    --line: #d7e0e1;
    --shadow: 0 20px 50px rgba(13, 56, 66, 0.12);
    --radius: 22px;
    --container: 1180px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
        sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}
a {
    color: inherit;
}
img,
svg {
    display: block;
    max-width: 100%;
}
.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}
.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100;
    background: #fff;
    padding: 10px;
}
.skip-link:focus {
    left: 8px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(215, 224, 225, 0.8);
}
.nav-wrap {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand-mark {
    width: 48px;
    height: 48px;
    color: var(--teal);
}
.brand-mark svg circle,
.brand-mark svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
}
.brand-mark svg circle:nth-child(2) {
    fill: var(--gold);
    stroke: none;
}
.brand strong,
.brand small {
    display: block;
    line-height: 1.1;
}
.brand strong {
    font-size: 1.05rem;
}
.brand small {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.68rem;
    color: var(--muted);
    margin-top: 5px;
}
.primary-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}
.primary-nav a {
    text-decoration: none;
    font-weight: 650;
    font-size: 0.94rem;
}
.primary-nav a:not(.button):hover {
    color: var(--teal-2);
}
.nav-toggle {
    display: none;
    border: 0;
    background: none;
    padding: 8px;
}
.nav-toggle span:not(.sr-only) {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--ink);
    margin: 5px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid var(--teal);
    background: var(--teal);
    color: #fff;
    text-decoration: none;
    font-weight: 750;
    cursor: pointer;
    transition: 0.2s transform, 0.2s background;
}
.button:hover {
    background: var(--teal-2);
    transform: translateY(-1px);
}
.button:disabled {
    opacity: 0.6;
    cursor: wait;
}
.button-small {
    min-height: 42px;
    padding: 9px 18px;
}
.button-secondary {
    background: transparent;
    color: var(--teal);
}
.button-secondary:hover {
    color: #fff;
}
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f7fbfb 0%, #e7f2f2 65%, #f6f4ed 100%);
    padding: 88px 0 92px;
}
.hero:before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border: 80px solid rgba(12, 71, 85, 0.05);
    border-radius: 50%;
    right: -170px;
    top: -130px;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 68px;
    align-items: center;
}
.eyebrow {
    margin: 0 0 14px;
    color: var(--teal-2);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}
.hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 1.03;
    letter-spacing: -0.045em;
}
.hero-lead {
    max-width: 690px;
    font-size: 1.16rem;
    color: var(--muted);
    margin: 26px 0 30px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding: 0;
    margin: 30px 0 0;
    list-style: none;
    font-size: 0.9rem;
    font-weight: 700;
}
.trust-list li:before {
    content: "✓";
    color: var(--teal-2);
    margin-right: 8px;
}
.hero-panel {
    background: var(--teal);
    color: #fff;
    padding: 34px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.panel-icon {
    width: 72px;
    color: #7bc1cb;
    margin-bottom: 25px;
}
.panel-icon svg circle,
.panel-icon svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 5;
    stroke-linecap: round;
}
.panel-icon svg circle:nth-child(2) {
    fill: var(--gold);
    stroke: none;
}
.panel-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #9bd0d7;
    font-weight: 800;
}
.hero-panel h2 {
    font-size: 1.7rem;
    line-height: 1.2;
    margin: 8px 0 22px;
}
.quick-link {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    font-weight: 750;
}
.quick-link b {
    color: var(--gold);
}
.panel-note {
    font-size: 0.82rem;
    color: #c5dadd;
    margin: 16px 0 0;
}
.section {
    padding: 96px 0;
}
.section-muted {
    background: var(--cream);
}
.section-heading {
    max-width: 720px;
    margin-bottom: 44px;
}
.section-heading h2,
.info-band h2 {
    font-size: clamp(2rem, 3.5vw, 3.3rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin: 0 0 16px;
}
.section-heading > p:last-child,
.info-band p {
    color: var(--muted);
    font-size: 1.05rem;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.service-card {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    transition: 0.2s transform, 0.2s box-shadow;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.service-image {
    display: block;
    aspect-ratio: 760/345;
    overflow: hidden;
    background: #f1f4f4;
    border-bottom: 1px solid var(--line);
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.service-card:hover .service-image img {
    transform: scale(1.035);
}
.service-card-body {
    padding: 24px 26px 28px;
}
.card-number {
    display: block;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}
.service-card h3 {
    margin: 12px 0 10px;
    font-size: 1.25rem;
}
.service-card p {
    margin: 0;
    color: var(--muted);
}
.process-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
}
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
}
.steps li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 22px;
    padding: 0 0 30px;
    position: relative;
}
.steps li:not(:last-child):before {
    content: "";
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: 4px;
    width: 1px;
    background: #c9d4d5;
}
.steps li > span {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--teal);
    color: #fff;
    font-weight: 850;
}
.steps h3 {
    margin: 4px 0 5px;
    font-size: 1.2rem;
}
.steps p {
    margin: 0;
    color: var(--muted);
}
.info-band {
    background: var(--aqua);
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 70px;
    align-items: center;
}
.address-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: var(--shadow);
    font-style: normal;
}
.address-card strong,
.address-card span {
    display: block;
}
.address-card strong {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.copy-address {
    margin-top: 20px;
    border: 0;
    background: none;
    padding: 0;
    color: var(--teal-2);
    font-weight: 800;
    cursor: pointer;
}
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
}
.contact-list {
    margin-top: 34px;
}
.contact-list div {
    display: grid;
    grid-template-columns: 70px 1fr;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}
.contact-list dt {
    font-weight: 750;
}
.contact-list dd {
    margin: 0;
}
.contact-form {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.contact-form label {
    display: grid;
    gap: 7px;
    font-weight: 750;
    font-size: 0.9rem;
    margin-bottom: 18px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #bccbce;
    border-radius: 10px;
    padding: 12px 13px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 3px solid rgba(18, 102, 122, 0.15);
    border-color: var(--teal-2);
}
.honeypot {
    position: absolute !important;
    left: -9999px !important;
}
.form-status {
    min-height: 24px;
    margin: 15px 0 0;
    color: var(--teal);
    font-weight: 700;
}
.site-footer {
    background: #092f38;
    color: #d7e5e7;
    padding: 62px 0 22px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 60px;
}
.brand-footer {
    color: #fff;
}
.brand-footer .brand-mark {
    color: #72b6c0;
}
.site-footer h2 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #8fc4cb;
}
.site-footer address {
    font-style: normal;
}
.site-footer a {
    display: block;
    color: #d7e5e7;
    margin: 8px 0;
}
.footer-grid > div:first-child p {
    max-width: 380px;
    color: #a9c2c6;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 42px;
    padding-top: 22px;
    font-size: 0.84rem;
    color: #9bb7bb;
}
.footer-bottom a {
    margin: 0;
}
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
@media (max-width: 900px) {
    .utility-inner > span {
        display: none;
    }
    .utility-inner {
        justify-content: flex-end;
    }
    .nav-toggle {
        display: block;
    }
    .primary-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: 120px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 16px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: var(--shadow);
    }
    .primary-nav.is-open {
        display: flex;
    }
    .primary-nav a {
        padding: 12px;
    }
    .hero-grid,
    .process-grid,
    .info-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-grid {
        gap: 42px;
    }
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid,
    .contact-grid {
        gap: 35px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid > div:first-child {
        grid-column: 1/-1;
    }
}
@media (max-width: 600px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }
    .utility-links {
        gap: 14px;
        font-size: 0.76rem;
    }
    .nav-wrap {
        min-height: 74px;
    }
    .brand-mark {
        width: 42px;
        height: 42px;
    }
    .brand strong {
        font-size: 0.92rem;
    }
    .primary-nav {
        top: 110px;
        left: 14px;
        right: 14px;
    }
    .hero {
        padding: 62px 0;
    }
    .hero h1 {
        font-size: 2.55rem;
    }
    .hero-panel {
        padding: 26px;
    }
    .section {
        padding: 70px 0;
    }
    .card-grid,
    .field-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        min-height: 0;
    }
    .service-card h3 {
        margin-top: 12px;
    }
    .contact-form {
        padding: 24px;
    }
    .footer-grid > div:first-child {
        grid-column: auto;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
    .trust-list {
        display: grid;
        gap: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .button,
    .service-card {
        transition: none;
    }
}

/* National Leak Test Center supplied branding */
.brand-atom {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex: 0 0 auto;
}
.brand-name {
    display: block;
}
.brand-name strong,
.brand-name small {
    display: block;
    line-height: 1.05;
}
.brand-name strong {
    font-size: 1.08rem;
}
.brand-name small {
    text-transform: uppercase;
    letter-spacing: 0.48em;
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 7px;
    font-weight: 800;
}
.brand-footer .brand-name small {
    color: #9fc6cb;
}
.brand-footer .brand-atom {
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.25));
}
.primary-nav .is-current {
    color: var(--teal-2);
}
.page-hero {
    overflow: hidden;
    background: linear-gradient(135deg, #f7fbfb 0%, #e7f2f2 62%, #f6f4ed 100%);
    padding: 72px 0;
}
.page-hero-grid {
    display: grid;
    grid-template-columns: 1fr 240px;
    align-items: center;
    gap: 60px;
}
.page-hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
    margin: 0;
}
.page-hero-atom {
    width: 230px;
    justify-self: end;
    filter: drop-shadow(0 18px 30px rgba(12, 71, 85, 0.16));
}
.notes-section {
    background: #fff;
}
.notes-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 58px;
    align-items: start;
}
.notice-card {
    padding: 26px 28px;
    border-left: 5px solid var(--gold);
    background: var(--cream);
    border-radius: 0 16px 16px 0;
    margin-bottom: 32px;
}
.notice-card strong {
    font-size: 1.2rem;
}
.notice-card p {
    margin: 7px 0 0;
    color: var(--muted);
}
.processing-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: notes;
}
.processing-list > li {
    counter-increment: notes;
    position: relative;
    padding: 0 0 34px 72px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--line);
}
.processing-list > li:before {
    content: counter(notes);
    position: absolute;
    left: 0;
    top: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--teal);
    color: #fff;
    font-weight: 850;
}
.processing-list h2 {
    font-size: 1.35rem;
    line-height: 1.25;
    margin: 0 0 10px;
}
.processing-list p {
    margin: 9px 0;
    color: var(--muted);
}
.processing-list a {
    color: var(--teal-2);
    font-weight: 700;
}
.inline-address {
    font-style: normal;
    background: var(--aqua);
    padding: 20px;
    border-radius: 12px;
    margin-top: 14px;
}
.notes-sidebar {
    position: sticky;
    top: 150px;
}
.sidebar-card {
    padding: 30px;
    background: var(--teal);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.sidebar-card img {
    width: 105px;
    margin: 0 auto 22px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}
.sidebar-card h2 {
    font-size: 1.45rem;
    line-height: 1.2;
    margin: 0 0 12px;
}
.sidebar-card p {
    color: #d1e3e6;
}
.sidebar-card .button {
    width: 100%;
    background: #fff;
    border-color: #fff;
    color: var(--teal);
    margin: 12px 0;
}
.sidebar-card .button:hover {
    background: var(--cream);
}
.sidebar-card .text-link {
    display: block;
    text-align: center;
    color: #fff;
    font-weight: 800;
    margin-top: 12px;
}
.notes-revision {
    font-size: 0.82rem;
    color: var(--muted);
    text-align: center;
    margin-top: 16px;
}
@media (max-width: 900px) {
    .brand-atom {
        width: 52px;
        height: 52px;
    }
    .notes-layout {
        grid-template-columns: 1fr;
    }
    .notes-sidebar {
        position: static;
    }
    .page-hero-grid {
        grid-template-columns: 1fr 170px;
    }
    .page-hero-atom {
        width: 165px;
    }
}
@media (max-width: 600px) {
    .brand {
        gap: 8px;
    }
    .brand-atom {
        width: 45px;
        height: 45px;
    }
    .brand-name strong {
        font-size: 0.88rem;
    }
    .brand-name small {
        font-size: 0.58rem;
        letter-spacing: 0.38em;
        margin-top: 5px;
    }
    .page-hero {
        padding: 54px 0;
    }
    .page-hero-grid {
        grid-template-columns: 1fr;
    }
    .page-hero-atom {
        width: 135px;
        justify-self: start;
    }
    .processing-list > li {
        padding-left: 58px;
    }
    .processing-list > li:before {
        width: 40px;
        height: 40px;
    }
    .processing-list h2 {
        font-size: 1.18rem;
    }
}

/* Compact vertical rhythm */
.hero {
    padding: 58px 0 62px;
}
.hero-grid {
    gap: 46px;
}
.hero-lead {
    margin: 18px 0 22px;
}
.trust-list {
    margin-top: 20px;
}
.hero-panel {
    padding: 28px;
}
.panel-icon {
    margin-bottom: 16px;
}
.hero-panel h2 {
    margin-bottom: 14px;
}
.quick-link {
    padding: 12px 0;
}
.section {
    padding: 62px 0;
}
.section-heading {
    margin-bottom: 28px;
}
.section-heading h2,
.info-band h2 {
    margin-bottom: 10px;
}
.service-card {
    min-height: 0;
}
.service-card-body {
    padding: 18px 20px 21px;
}
.service-card h3 {
    margin: 8px 0 6px;
}
.process-grid {
    gap: 52px;
}
.steps li {
    padding-bottom: 20px;
}
.steps li:not(:last-child):before {
    bottom: 2px;
}
.info-grid,
.contact-grid {
    gap: 46px;
}
.address-card {
    padding: 24px;
}
.contact-list {
    margin-top: 22px;
}
.contact-list div {
    padding: 7px 0;
}
.contact-form {
    padding: 26px;
}
.contact-form label {
    margin-bottom: 13px;
}
.contact-form textarea {
    min-height: 115px;
}
.site-footer {
    padding: 42px 0 18px;
}
.footer-grid {
    gap: 38px;
}
.site-footer a {
    margin: 5px 0;
}
.footer-bottom {
    margin-top: 28px;
    padding-top: 16px;
}
.page-hero {
    padding: 46px 0;
}
.page-hero-grid {
    gap: 36px;
}
.notes-layout {
    gap: 42px;
}
.notice-card {
    padding: 20px 22px;
    margin-bottom: 22px;
}
.processing-list > li {
    padding-bottom: 22px;
    margin-bottom: 20px;
}
.processing-list h2 {
    margin-bottom: 7px;
}
.processing-list p {
    margin: 6px 0;
}
.sidebar-card {
    padding: 24px;
}
.sidebar-card img {
    margin-bottom: 15px;
}
.inline-address {
    padding: 15px;
    margin-top: 10px;
}
@media (max-width: 900px) {
    .hero-grid {
        gap: 28px;
    }
    .process-grid,
    .contact-grid {
        gap: 26px;
    }
    .section {
        padding: 52px 0;
    }
    .page-hero {
        padding: 40px 0;
    }
    .notes-layout {
        gap: 28px;
    }
}
@media (max-width: 600px) {
    .hero {
        padding: 42px 0;
    }
    .hero-lead {
        margin: 15px 0 18px;
    }
    .hero-panel {
        padding: 21px;
    }
    .section {
        padding: 42px 0;
    }
    .section-heading {
        margin-bottom: 22px;
    }
    .service-card-body {
        padding: 16px 17px 18px;
    }
    .steps li {
        grid-template-columns: 46px 1fr;
        gap: 15px;
        padding-bottom: 17px;
    }
    .steps li > span {
        width: 46px;
        height: 46px;
    }
    .steps li:not(:last-child):before {
        left: 22px;
        top: 46px;
    }
    .address-card,
    .contact-form {
        padding: 20px;
    }
    .site-footer {
        padding-top: 34px;
    }
    .page-hero {
        padding: 34px 0;
    }
    .page-hero-atom {
        width: 105px;
    }
    .notice-card {
        padding: 17px 18px;
    }
    .processing-list > li {
        padding-bottom: 18px;
        margin-bottom: 16px;
    }
    .sidebar-card {
        padding: 21px;
    }
}

/* Sticky-header anchor alignment and floating back-to-top control */
#services,
#process,
#contact,
.notes-section,
[id] {
    scroll-margin-top: 94px;
}
.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 40;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--teal);
    color: #fff;
    box-shadow: 0 12px 30px rgba(9, 47, 56, 0.28);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease,
        background 0.2s ease;
}
.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.scroll-top:hover {
    background: var(--teal-2);
}
.scroll-top:focus-visible {
    outline: 3px solid rgba(216, 169, 64, 0.75);
    outline-offset: 3px;
}
.scroll-top svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.footer-bottom {
    justify-content: flex-start;
}
@media (max-width: 900px) {
    #services,
    #process,
    #contact,
    .notes-section,
    [id] {
        scroll-margin-top: 88px;
    }
    .scroll-top {
        right: 18px;
        bottom: 18px;
    }
}
@media (max-width: 600px) {
    #services,
    #process,
    #contact,
    .notes-section,
    [id] {
        scroll-margin-top: 80px;
    }
    .scroll-top {
        width: 48px;
        height: 48px;
        right: 14px;
        bottom: 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .scroll-top {
        transition: none;
    }
}

/* Sample Processing Notes compact hero and sidebar form */
.page-hero-compact {
    padding: 26px 0 28px;
}
.page-hero-grid-single {
    grid-template-columns: minmax(0, 820px);
    min-height: 0;
    gap: 0;
}
.page-hero-compact h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.02;
}
.page-hero-compact .hero-lead {
    font-size: 1rem;
    max-width: 760px;
    margin: 11px 0 0;
}
.notes-contact-form {
    padding: 24px;
    background: #fff;
}
.notes-contact-form h2 {
    font-size: 1.45rem;
    line-height: 1.15;
    margin: 4px 0 8px;
}
.notes-contact-form .notes-form-intro {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.94rem;
}
.notes-contact-form label {
    margin-bottom: 11px;
}
.notes-contact-form textarea {
    min-height: 105px;
}
.notes-contact-form .button {
    width: 100%;
}
@media (max-width: 900px) {
    .page-hero-compact {
        padding: 24px 0 25px;
    }
    .page-hero-grid-single {
        grid-template-columns: 1fr;
    }
    .notes-contact-form {
        max-width: 680px;
    }
}
@media (max-width: 600px) {
    .page-hero-compact {
        padding: 20px 0 22px;
    }
    .page-hero-compact h1 {
        font-size: 2rem;
    }
    .page-hero-compact .hero-lead {
        font-size: 0.94rem;
    }
    .notes-contact-form {
        padding: 19px;
    }
    .notes-contact-form h2 {
        font-size: 1.3rem;
    }
}

/* v8 branding and cPanel contact form updates */
.nav-wrap {
    min-height: 82px;
}
.brand-name strong {
    font-size: 1.08rem;
    white-space: nowrap;
}
.brand-name small {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.68rem;
    margin-top: 5px;
    font-weight: 650;
}
.hero-panel {
    padding-top: 30px;
}
.contact-grid .section-heading {
    margin-bottom: 0;
}
.cf-turnstile {
    margin: 2px 0 18px;
}
.brand-footer .brand-name small {
    color: #9fc6cb;
}
@media (max-width: 760px) {
    .brand-name strong {
        font-size: 0.9rem;
    }
    .brand-name small {
        font-size: 0.58rem;
        max-width: 205px;
        white-space: normal;
    }
}
@media (max-width: 420px) {
    .brand-atom {
        width: 40px;
        height: 40px;
    }
    .brand-name strong {
        font-size: 0.8rem;
    }
    .brand-name small {
        font-size: 0.52rem;
        line-height: 1.15;
        max-width: 180px;
    }
}

/* v9 fixed header, mobile scroll polish, and customer-number field */
:root {
    --header-height: 82px;
    --anchor-gap: 12px;
}
html {
    scroll-padding-top: calc(var(--header-height) + var(--anchor-gap));
    background: #fff;
    overscroll-behavior-y: none;
}
body {
    padding-top: var(--header-height);
    background: #fff;
    min-height: 100%;
}
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateZ(0);
    isolation: isolate;
    box-shadow: 0 1px 0 rgba(215, 224, 225, 0.95);
}
.nav-wrap {
    min-height: var(--header-height);
    position: relative;
}
#services,
#process,
#contact,
.notes-section,
[id] {
    scroll-margin-top: calc(var(--header-height) + var(--anchor-gap));
}
.primary-nav {
    top: 100%;
}
body.menu-open {
    overflow: hidden;
    touch-action: none;
}
.contact-form input[name="customer_number"] {
    font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) {
    .primary-nav {
        top: calc(100% + 1px);
    }
}
@media (max-width: 600px) {
    :root {
        --header-height: 74px;
        --anchor-gap: 8px;
    }
    body {
        padding-top: var(--header-height);
    }
    .site-header {
        box-shadow: 0 1px 0 rgba(215, 224, 225, 1);
    }
    .primary-nav {
        top: calc(100% + 1px);
    }
}

/* v10 content, resources, branding scale, and measured anchor alignment */
:root {
    --header-height: 96px;
    --anchor-gap: 4px;
}
.brand-atom {
    width: 67px;
    height: 67px;
}
.brand-name strong {
    font-size: 1.24rem;
}
.brand-name small {
    font-size: 0.78rem;
    margin-top: 6px;
}
.nav-wrap {
    min-height: var(--header-height);
}
.panel-kicker {
    font-size: 1.1rem;
}
.hero-panel .panel-kicker {
    margin-bottom: 8px;
}
.invoice-note {
    margin: -2px 0 8px 18px;
    max-width: 28rem;
    font-size: 0.9rem;
    line-height: 1.4;
}
.quick-link-external {
    font-size: 0.94rem;
    line-height: 1.35;
    align-items: flex-start;
}
.quick-link-external b {
    margin-top: 2px;
}
.inline-contact-link {
    color: var(--teal-2);
    font-weight: 800;
    text-underline-offset: 3px;
}
.inline-contact-link:hover {
    text-decoration-thickness: 2px;
}
#services,
#process,
#contact,
.notes-section,
[id] {
    scroll-margin-top: calc(var(--header-height) + var(--anchor-gap));
}
html {
    scroll-padding-top: calc(var(--header-height) + var(--anchor-gap));
}
body {
    padding-top: var(--header-height);
}
@media (max-width: 760px) {
    :root {
        --header-height: 84px;
        --anchor-gap: 3px;
    }
    .brand-atom {
        width: 46px;
        height: 46px;
    }
    .brand-name strong {
        font-size: 1rem;
    }
    .brand-name small {
        font-size: 0.62rem;
        max-width: 220px;
    }
}
@media (max-width: 420px) {
    :root {
        --header-height: 78px;
    }
    .brand-atom {
        width: 43px;
        height: 43px;
    }
    .brand-name strong {
        font-size: 0.9rem;
    }
    .brand-name small {
        font-size: 0.56rem;
        max-width: 195px;
    }
}

/* v11 deterministic fixed header: no runtime measurement or cumulative growth */
:root {
    --header-height: 96px;
    --anchor-gap: 8px;
}
html {
    scroll-padding-top: calc(var(--header-height) + var(--anchor-gap));
}
body {
    padding-top: var(--header-height);
}
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    min-height: var(--header-height);
    max-height: var(--header-height);
    overflow: visible;
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
    contain: layout paint;
}
.nav-wrap {
    height: 100%;
    min-height: 0;
    max-height: 100%;
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
}
.brand {
    height: 100%;
    min-width: 0;
    align-items: center;
    overflow: hidden;
}
.brand-atom {
    width: 67px;
    height: 67px;
    min-width: 67px;
    max-width: 67px;
    min-height: 67px;
    max-height: 67px;
    object-fit: contain;
    flex: 0 0 67px;
}
.brand-name {
    min-width: 0;
    line-height: 1;
}
.brand-name strong {
    line-height: 1.08;
    white-space: nowrap;
}
.brand-name small {
    line-height: 1.05;
    white-space: nowrap;
}
#services,
#process,
#contact,
.notes-section,
[id] {
    scroll-margin-top: calc(var(--header-height) + var(--anchor-gap));
}
@media (max-width: 760px) {
    :root {
        --header-height: 84px;
        --anchor-gap: 6px;
    }
    .brand-atom {
        width: 46px;
        height: 46px;
        min-width: 46px;
        max-width: 46px;
        min-height: 46px;
        max-height: 46px;
        flex-basis: 46px;
    }
    .brand-name strong {
        font-size: 1rem;
        line-height: 1.08;
    }
    .brand-name small {
        font-size: 0.62rem;
        line-height: 1.05;
        white-space: normal;
        max-width: 220px;
    }
}
@media (max-width: 420px) {
    :root {
        --header-height: 78px;
        --anchor-gap: 5px;
    }
    .brand-atom {
        width: 43px;
        height: 43px;
        min-width: 43px;
        max-width: 43px;
        min-height: 43px;
        max-height: 43px;
        flex-basis: 43px;
    }
    .brand-name strong {
        font-size: 0.9rem;
    }
    .brand-name small {
        font-size: 0.56rem;
        max-width: 195px;
    }
}

/* v12 navigation and anchor corrections */
.site-header {
    contain: none;
    overflow: visible;
}
.nav-wrap {
    position: relative;
    overflow: visible;
}
.nav-toggle {
    position: relative;
    z-index: 1002;
    cursor: pointer;
    touch-action: manipulation;
}
.primary-nav {
    z-index: 1001;
}
.anchor-target {
    scroll-margin-top: calc(var(--header-height) + 4px);
}
#services,
#process,
#contact {
    scroll-margin-top: calc(var(--header-height) + 4px);
}
@media (max-width: 900px) {
    .primary-nav {
        top: calc(100% + 1px);
    }
}

/* v13 resources, image refresh, and exact fixed-header anchor alignment */
.anchor-target,
#services,
#process,
#contact {
    scroll-margin-top: var(--header-height);
}
.resource-group {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(12, 71, 85, 0.16);
}
.resource-group-title {
    margin: 0 0 4px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 850;
    letter-spacing: 0.02em;
}
.resource-group .quick-link {
    padding: 9px 0;
}
.resource-group .quick-link span {
    font-size: 0.94rem;
}

/* v14 typography, regulatory heading, and anchor refinement */
.hero-copy .eyebrow {
    font-size: 1.02rem;
    text-transform: none;
    letter-spacing: 0.08em;
}
.hero h1 {
    font-size: clamp(2.16rem, 4vw, 4rem);
}
.resource-group-title {
    color: #9bd0d7;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}
.anchor-target,
#services,
#process,
#contact {
    scroll-margin-top: calc(var(--header-height) + 8px);
}
html {
    scroll-padding-top: calc(var(--header-height) + 8px);
}

/* v15 anchor refinement and hero typography */
:root {
    --anchor-gap: 12px;
}
html {
    scroll-padding-top: calc(var(--header-height) + var(--anchor-gap));
}
.anchor-target,
#services,
#process,
#contact,
.notes-section,
[id] {
    scroll-margin-top: calc(var(--header-height) + var(--anchor-gap));
}
.hero-copy .eyebrow {
    font-size: 1.32rem;
    letter-spacing: 0.04em;
    font-weight: 800;
}
.hero h1 {
    font-size: clamp(1.72rem, 3vw, 3.2rem);
    line-height: 1.08;
}
@media (max-width: 760px) {
    .hero-copy .eyebrow {
        font-size: 1.14rem;
    }
    .hero h1 {
        font-size: clamp(1.58rem, 7vw, 2.55rem);
    }
}
@media (max-width: 420px) {
    .hero-copy .eyebrow {
        font-size: 1.04rem;
    }
    .hero h1 {
        font-size: 1.52rem;
        line-height: 1.12;
    }
}

/* v17 isotope dialog, precise anchor offset, and hero typography */
:root {
    --anchor-gap: 44px;
}
html {
    scroll-padding-top: calc(var(--header-height) + var(--anchor-gap));
}
.anchor-target,
#services,
#process,
#contact,
.notes-section,
[id] {
    scroll-margin-top: calc(var(--header-height) + var(--anchor-gap));
}
.hero h1 {
    font-size: clamp(1.6rem, 3vw, 2.575rem);
}
.page-hero h1,
.page-hero-compact h1 {
    font-size: clamp(1.6rem, 4vw, 2.625rem);
}
.hero .eyebrow,
.page-hero .eyebrow {
    font-size: 1.32rem;
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: none;
    font-weight: 800;
}
.text-dialog-link {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    color: var(--teal-2);
    font: inherit;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.text-dialog-link:hover {
    text-decoration-thickness: 2px;
}
.dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(5, 31, 37, 0.66);
}
.dialog-backdrop[hidden] {
    display: none;
}
.isotope-dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: min(80vh, 720px);
    overflow: auto;
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}
.isotope-dialog h2 {
    margin: 0 42px 10px 0;
    font-size: 1.8rem;
    line-height: 1.15;
}
.isotope-dialog > p:not(.eyebrow) {
    margin: 0 0 20px;
    color: var(--muted);
}
.dialog-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--cream);
    color: var(--ink);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}
.isotope-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.isotope-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fafcfc;
}
.isotope-symbol {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 56px;
    font-size: 1.5rem;
    font-weight: 850;
    color: var(--teal);
}
.isotope-symbol sup {
    font-size: 0.62em;
    line-height: 1;
    margin-right: 2px;
    transform: translateY(-0.15em);
}
body.dialog-open {
    overflow: hidden;
}
@media (max-width: 760px) {
    :root {
        --anchor-gap: 40px;
    }
    .hero h1,
    .page-hero h1,
    .page-hero-compact h1 {
        font-size: 1.6rem;
    }
    .hero .eyebrow,
    .page-hero .eyebrow {
        font-size: 1.14rem;
    }
    .isotope-dialog {
        padding: 26px 20px;
    }
    .isotope-list {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 420px) {
    .hero .eyebrow,
    .page-hero .eyebrow {
        font-size: 1.04rem;
    }
}

/* v18 image correction, isotope scalability, anchor and form consistency */
:root {
    --anchor-gap: 0px;
}
html {
    scroll-padding-top: var(--header-height);
}
.anchor-target,
#services,
#process,
#contact,
.notes-section,
[id] {
    scroll-margin-top: var(--header-height);
}
.hero h1,
.page-hero h1,
.page-hero-compact h1 {
    font-size: clamp(1.6rem, 3vw, 2.575rem);
    line-height: 1.08;
}
.hero .eyebrow,
.page-hero .eyebrow,
.page-hero-compact .eyebrow {
    font-size: 1.32rem;
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: none;
    font-weight: 800;
}
.isotope-dialog {
    width: min(760px, 92vw);
    height: min(620px, 78vh);
    min-width: 360px;
    min-height: 320px;
    max-width: 95vw;
    max-height: 88vh;
    resize: both;
    overflow: auto;
    padding: 28px;
}
.isotope-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.isotope-list li {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
}
.isotope-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 64px;
    height: 100%;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fafcfc;
    text-decoration: none;
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
a.isotope-card:hover,
a.isotope-card:focus-visible {
    border-color: var(--teal-2);
    box-shadow: 0 8px 20px rgba(13, 56, 66, 0.12);
    transform: translateY(-1px);
    outline: none;
}
.isotope-symbol {
    min-width: 43px;
    font-size: 1.18rem;
}
.isotope-name {
    font-size: 0.83rem;
    line-height: 1.2;
    font-weight: 700;
}
.isotope-external {
    position: absolute;
    right: 7px;
    top: 5px;
    color: var(--teal-2);
    font-size: 0.72rem;
}
.contact-form textarea,
.notes-contact-form textarea {
    resize: vertical !important;
    overflow: auto;
    min-height: 140px;
    max-height: none;
}
@media (max-width: 760px) {
    .hero h1,
    .page-hero h1,
    .page-hero-compact h1 {
        font-size: 1.6rem;
    }
    .hero .eyebrow,
    .page-hero .eyebrow,
    .page-hero-compact .eyebrow {
        font-size: 1.14rem;
    }
    .isotope-dialog {
        width: 92vw;
        height: 72vh;
        min-width: 0;
        min-height: 300px;
        resize: vertical;
        padding: 22px 18px;
    }
    .isotope-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 420px) {
    .hero .eyebrow,
    .page-hero .eyebrow,
    .page-hero-compact .eyebrow {
        font-size: 1.04rem;
    }
    .isotope-list {
        grid-template-columns: 1fr;
    }
}

/* v19 final anchor nudge and isotope live search */
:root {
    --anchor-offset: -32px;
}
html {
    scroll-padding-top: calc(var(--header-height) + var(--anchor-offset));
}
.anchor-target,
#services,
#process,
#contact,
.notes-section,
[id] {
    scroll-margin-top: calc(var(--header-height) + var(--anchor-offset));
}
.isotope-search-label {
    display: block;
    margin: 0 0 6px;
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--ink);
}
.isotope-search {
    width: 100%;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #bccbce;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}
.isotope-search:focus {
    outline: 3px solid rgba(18, 102, 122, 0.15);
    border-color: var(--teal-2);
}
.isotope-search-status {
    min-height: 20px;
    margin: 6px 0 10px;
    color: var(--muted);
    font-size: 0.78rem;
}
.isotope-no-results {
    margin: 18px 0 0;
    padding: 18px;
    border: 1px dashed var(--line);
    border-radius: 10px;
    text-align: center;
    color: var(--muted);
}
.isotope-list li[hidden] {
    display: none !important;
}
@media (max-width: 760px) {
    :root {
        --anchor-offset: -28px;
    }
}

/* v20 unified hero title and eyebrow typography */
:root {
    --hero-title-size: clamp(1.6rem, 3vw, 2.575rem);
    --hero-eyebrow-size: 1.32rem;
}
.hero h1,
.page-hero h1,
.page-hero-compact h1 {
    font-size: var(--hero-title-size);
    line-height: 1.08;
}
.hero .eyebrow,
.page-hero .eyebrow,
.page-hero-compact .eyebrow {
    font-size: var(--hero-eyebrow-size);
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: none;
    font-weight: 800;
}
@media (max-width: 760px) {
    :root {
        --hero-title-size: 1.6rem;
        --hero-eyebrow-size: 1.14rem;
    }
}
@media (max-width: 420px) {
    :root {
        --hero-eyebrow-size: 1.04rem;
    }
}

/* v21 content, dialogs, contact fields, footer and spacing refinements */
.quick-link-button {
    width: 100%;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.nav-text-button {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}
.nav-text-button:hover,
.nav-text-button:focus-visible {
    color: var(--teal-2);
}
.customer-entry {
    display: grid;
    grid-template-columns: minmax(105px, 140px) max-content;
    gap: 14px;
    align-items: end;
}
.customer-entry .customer-number-label {
    margin-bottom: 0;
}
.new-customer-check {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px !important;
    min-height: 47px;
    margin: 0 !important;
    white-space: nowrap;
    cursor: pointer;
}
.new-customer-check input {
    width: 18px !important;
    height: 18px;
    margin: 0;
    padding: 0;
    accent-color: var(--teal);
}
.notes-customer-entry {
    margin-bottom: 13px;
}
.info-band {
    padding-top: 42px;
    padding-bottom: 42px;
}
.processing-list > li.address-note {
    margin-top: -8px;
}
.processing-list > li.address-note .inline-address {
    margin-top: 6px;
}
.footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.footer-grid > div:first-child {
    grid-column: auto;
}
.site-footer .brand-footer {
    margin-bottom: 0;
}
.about-dialog {
    position: relative;
    width: min(720px, 92vw);
    max-height: 82vh;
    overflow: auto;
    resize: both;
    min-width: 340px;
    min-height: 260px;
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}
.about-dialog h2 {
    margin: 0 42px 14px 0;
    font-size: 1.8rem;
    line-height: 1.15;
}
.about-dialog-content > *:first-child {
    margin-top: 0;
}
.about-dialog-content > *:last-child {
    margin-bottom: 0;
}
.about-dialog-content h3,
.about-dialog-content h4 {
    line-height: 1.2;
}
.about-dialog-content a {
    color: var(--teal-2);
}
@media (max-width: 900px) {
    .primary-nav .nav-text-button {
        padding: 12px;
        text-align: left;
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }
}
@media (max-width: 700px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid > div:first-child {
        grid-column: 1/-1;
    }
}
@media (max-width: 600px) {
    .customer-entry {
        grid-template-columns: minmax(92px, 120px) max-content;
        gap: 10px;
    }
    .customer-email-row {
        grid-template-columns: 1fr;
    }
    .info-band {
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .processing-list > li.address-note {
        margin-top: -4px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-grid > div:first-child {
        grid-column: auto;
    }
    .about-dialog {
        width: 92vw;
        min-width: 0;
        min-height: 240px;
        resize: vertical;
        padding: 24px 20px;
    }
}

/* v22 final typography, resources, services, and why-testing section */
:root {
    --hero-title-size: clamp(1.6rem, 3vw, 2.575rem);
    --hero-eyebrow-size: 1.32rem;
}
.eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.page-hero-compact .eyebrow {
    font-size: var(--hero-eyebrow-size);
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: none;
    font-weight: 800;
}
.hero h1,
.page-hero h1,
.page-hero-compact h1 {
    font-size: var(--hero-title-size);
    line-height: 1.08;
}
.quick-link-button {
    font-family: inherit;
    font-size: 0.94rem;
    line-height: inherit;
    font-weight: 750;
}
.service-card-body {
    padding-top: 20px;
}
.card-number {
    display: none !important;
}
.why-section {
    padding-top: 68px;
    padding-bottom: 68px;
    background: #fff;
}
.why-grid {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 64px;
    align-items: start;
}
.why-grid .section-heading {
    margin-bottom: 0;
}
.why-content {
    padding: 28px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
}
.why-content p {
    margin: 0 0 15px;
    color: var(--muted);
}
.why-content p:last-child {
    margin-bottom: 0;
}
.why-content a {
    color: var(--teal-2);
    font-weight: 800;
    text-underline-offset: 3px;
}
@media (max-width: 760px) {
    :root {
        --hero-title-size: 1.6rem;
        --hero-eyebrow-size: 1.14rem;
    }
    .why-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .why-content {
        padding: 22px 20px;
    }
}
@media (max-width: 420px) {
    :root {
        --hero-eyebrow-size: 1.04rem;
    }
}

/* v23 expandable Why Leak Tests content */
.why-more {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.42s ease, opacity 0.28s ease;
}
.why-more.is-open {
    opacity: 1;
}
.why-more-inner {
    padding-top: 1px;
}
.why-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 3px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--teal-2);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-underline-offset: 3px;
}
.why-toggle:hover [data-why-toggle-label] {
    text-decoration: underline;
}
.why-toggle:focus-visible {
    outline: 3px solid rgba(18, 102, 122, 0.2);
    outline-offset: 5px;
    border-radius: 4px;
}
.why-toggle-arrow {
    font-size: 1.1em;
    line-height: 1;
    transition: transform 0.25s ease;
}
.why-toggle[aria-expanded="true"] .why-toggle-arrow {
    transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
    .why-more,
    .why-toggle-arrow {
        transition: none;
    }
}

/* v24 tighten spacing after Why Leak Tests */
.why-section {
    padding-bottom: 28px;
}
.why-section + .section {
    padding-top: 44px;
}
@media (max-width: 760px) {
    .why-section {
        padding-bottom: 22px;
    }
    .why-section + .section {
        padding-top: 34px;
    }
}

/* v25 wider About dialog and centered history images */
.about-dialog {
    width: min(1050px, 94vw);
    max-width: 1050px;
}
.about-history-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 260px));
    justify-content: center;
    align-items: start;
    gap: 24px;
    margin: 28px auto 0;
}
.about-history-images figure {
    width: 100%;
    margin: 0;
    text-align: center;
}
.about-history-images picture {
    display: block;
}
.about-history-images img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.about-history-images figcaption {
    margin-top: 8px;
    font-size: 0.88rem;
    color: var(--muted);
}
@media (max-width: 640px) {
    .about-history-images {
        grid-template-columns: minmax(0, 280px);
    }
    .about-history-images img {
        height: 210px;
    }
}

/* v26 isotope acceptance filtering and sticky dialog controls */
.isotope-dialog {
    display: flex;
    flex-direction: column;
    width: min(880px, 94vw);
    height: 80vh;
    min-height: 520px;
    max-height: 88vh;
    overflow: hidden;
    resize: both;
    padding: 0;
}
.isotope-dialog-header {
    position: relative;
    flex: 0 0 auto;
    padding: 28px 30px 10px;
    background: #fff;
    z-index: 2;
    border-bottom: 1px solid var(--line);
}
.isotope-dialog-header h2 {
    margin: 0 44px 8px 0;
    font-size: 1.8rem;
    line-height: 1.15;
}
.isotope-dialog-header > p:not(.eyebrow):not(.isotope-search-status) {
    margin: 0 0 14px;
    color: var(--muted);
}
.isotope-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
}
.isotope-search-wrap {
    display: block;
    min-width: 0;
}
.isotope-rejected-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 2px 2px;
    font-size: 0.86rem;
    font-weight: 750;
    white-space: nowrap;
    cursor: pointer;
}
.isotope-rejected-toggle input {
    width: 18px;
    height: 18px;
    accent-color: var(--teal);
}
.isotope-search-status {
    min-height: 20px;
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}
.isotope-list-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 30px 28px;
}
.isotope-card-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}
.isotope-card-rejected {
    background: #fff0f0;
    border-color: #e4aaaa;
    color: #6f2525;
}
.isotope-card-rejected .isotope-symbol {
    color: #9b3333;
}
.isotope-card-rejected:hover,
.isotope-card-rejected:focus-visible {
    border-color: #bd6464 !important;
    box-shadow: 0 8px 20px rgba(130, 45, 45, 0.12) !important;
}
.isotope-note {
    font-size: 0.72rem;
    line-height: 1.25;
    font-weight: 600;
    color: #8b3d3d;
}
@media (max-width: 700px) {
    .isotope-dialog {
        width: 94vw;
        height: 82vh;
        min-width: 0;
        min-height: 380px;
        resize: vertical;
    }
    .isotope-dialog-header {
        padding: 22px 18px 10px;
    }
    .isotope-controls {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .isotope-rejected-toggle {
        min-height: 34px;
        white-space: normal;
    }
    .isotope-list-scroll {
        padding: 14px 18px 22px;
    }
}

/* v27 isotope decay-mode display */
.isotope-decay {
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
}

/* v28 isotope acceptance guidance and beta-plus mapping */
.isotope-rejected-option {
    max-width: 330px;
    align-self: end;
}
.isotope-rejected-help {
    margin: 2px 0 0 28px;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.3;
    font-weight: 500;
}
@media (max-width: 700px) {
    .isotope-rejected-option {
        max-width: none;
    }
    .isotope-rejected-help {
        margin: 2px 0 2px 26px;
        font-size: 0.7rem;
        line-height: 1.32;
    }
}

/* v29 isotope decay filtering and compact acceptance guidance */
.isotope-controls {
    grid-template-columns: minmax(250px, 1fr) minmax(155px, 190px) minmax(
            255px,
            330px
        );
    gap: 14px;
    align-items: end;
}
.isotope-decay-filter-wrap {
    display: block;
    min-width: 0;
}
.isotope-decay-filter {
    width: 100%;
    min-height: 44px;
    border: 1px solid #bccbce;
    border-radius: 10px;
    padding: 10px 36px 10px 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}
.isotope-decay-filter:focus {
    outline: 3px solid rgba(18, 102, 122, 0.15);
    border-color: var(--teal-2);
}
.isotope-rejected-toggle {
    min-height: 30px;
    padding-bottom: 0;
}
.isotope-rejected-help {
    margin: -1px 0 0 26px;
    line-height: 1.22;
}
@media (max-width: 850px) {
    .isotope-controls {
        grid-template-columns: minmax(0, 1fr) minmax(145px, 185px);
    }
    .isotope-rejected-option {
        grid-column: 1/-1;
        max-width: none;
    }
}
@media (max-width: 600px) {
    .isotope-controls {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .isotope-rejected-option {
        grid-column: auto;
    }
    .isotope-rejected-help {
        margin: -1px 0 0 26px;
    }
}

/* v30 external resource iframe dialog */
.document-dialog-backdrop {
    z-index: 1200;
}
.document-dialog {
    display: flex;
    flex-direction: column;
    width: min(1180px, 95vw);
    height: min(86vh, 900px);
    min-height: 480px;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}
.document-dialog-header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex: 0 0 auto;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.document-dialog-header .eyebrow {
    margin-bottom: 4px;
}
.document-dialog-header h2 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.2;
}
.document-dialog-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 42px;
}
.document-dialog .dialog-close {
    top: 16px;
    right: 18px;
}
.document-new-tab {
    font-size: 0.86rem;
    font-weight: 750;
    color: var(--teal-2);
    text-underline-offset: 3px;
    white-space: nowrap;
}
.document-frame-wrap {
    flex: 1 1 auto;
    min-height: 0;
    background: #f4f6f6;
}
.document-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}
.document-frame-note {
    flex: 0 0 auto;
    margin: 0;
    padding: 8px 24px 10px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.35;
    background: #fafcfc;
}
@media (max-width: 700px) {
    .document-dialog {
        width: 96vw;
        height: 88vh;
        min-height: 420px;
        border-radius: 14px;
    }
    .document-dialog-header {
        padding: 16px 18px 12px;
        gap: 12px;
    }
    .document-dialog-header h2 {
        font-size: 1.16rem;
    }
    .document-dialog-actions {
        padding-right: 34px;
    }
    .document-new-tab {
        font-size: 0.76rem;
    }
    .document-frame-note {
        padding: 7px 16px 9px;
        font-size: 0.7rem;
    }
}

/* v31 proxied external resource dialog */
.document-dialog-backdrop {
    z-index: 3000;
}
.document-dialog {
    position: relative;
    z-index: 3001;
}

/* v32 view-only external resource preview */
.document-frame-wrap {
    position: relative;
}
.document-interaction-notice {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(9, 47, 56, 0.58);
    backdrop-filter: blur(2px);
}
.document-interaction-notice[hidden] {
    display: none;
}
.document-interaction-card {
    width: min(520px, 100%);
    padding: 26px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    text-align: center;
}
.document-interaction-card h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    line-height: 1.2;
}
.document-interaction-card p {
    margin: 0;
    color: var(--muted);
}
.document-interaction-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.document-interaction-actions .button {
    min-width: 160px;
}
@media (max-width: 600px) {
    .document-interaction-notice {
        padding: 14px;
    }
    .document-interaction-card {
        padding: 22px 18px;
    }
    .document-interaction-card h3 {
        font-size: 1.15rem;
    }
    .document-interaction-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .document-interaction-actions .button {
        width: 100%;
    }
}

/* v33 reliable mobile preview interaction notice */
.document-interaction-notice {
    position: absolute !important;
    inset: 0 !important;
    z-index: 20 !important;
}
.document-interaction-card {
    position: relative;
    z-index: 21;
}
@media (max-width: 600px) {
    .document-interaction-notice {
        align-items: center;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .document-interaction-card {
        margin: auto;
    }
}
