/* =========================================================================
   ELMS homepage layer. Loaded only by index.php (body.page-home).
   Everything that starts hidden is gated behind .hm-js + no-preference so
   content stays visible without JS and for reduced-motion visitors.
   ========================================================================= */

/* ---------- Tokens ---------- */
.page-home {
    --hm-accent: var(--yellow, #FFC107);
    --hm-accent-warm: #FF9A3C;
    --hm-accent-soft: rgba(255, 193, 7, 0.22);
    --hm-accent-ink: #0b0a09;

    --hm-surface-0: #0b0a09;
    --hm-surface-1: var(--black, #0a0a0c);
    --hm-surface-2: #11100e;
    --hm-glass: rgba(14, 13, 12, 0.62);
    --hm-glass-fill: linear-gradient(160deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
    --hm-glass-line: rgba(255, 255, 255, 0.16);
    --hm-line: rgba(255, 255, 255, 0.09);

    --hm-text-1: #ffffff;
    --hm-text-2: rgba(244, 240, 232, 0.8);
    --hm-text-3: rgba(244, 240, 232, 0.58);

    --hm-space-1: 0.5rem;
    --hm-space-2: 1rem;
    --hm-space-3: 1.5rem;
    --hm-space-4: 2.25rem;
    --hm-space-5: 3.5rem;

    --hm-radius: 14px;
    --hm-radius-lg: 22px;
    --hm-radius-sm: 6px;
    --hm-radius-xl: 30px;
    --hm-pill: 999px;
    --hm-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.6);
    --hm-shadow-glass: 0 30px 60px -24px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    --hm-shadow-accent: 0 14px 34px -12px rgba(255, 193, 7, 0.6);
    --hm-focus: var(--hm-accent);

    --hm-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --hm-ease-io: cubic-bezier(0.65, 0, 0.35, 1);

    /* Per-section override for the brand accent. */
    --tint: var(--hm-accent);

    overflow-x: clip;
}

.page-home main#main {
    padding-top: 0;
    min-height: 0;
}

.page-home a:focus-visible,
.page-home button:focus-visible {
    outline: 2px solid var(--hm-focus);
    outline-offset: 3px;
}

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

/* ---------- Header: transparent over hero, frosted once scrolled ---------- */
.page-home .main-header {
    transition: background-color 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease, transform 0.55s var(--hm-ease);
}
.hm-js .page-home .main-header {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: transparent;
}
.hm-js .page-home .main-header.hm-glass {
    background: var(--hm-glass);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border-bottom-color: var(--hm-line);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.page-home .main-header.hm-hidden {
    transform: translate3d(0, -110%, 0);
}
.page-home.menu-open .main-header {
    transform: none;
    background: rgba(10, 10, 12, 0.98);
}
.page-home .dropdown-toggle {
    min-width: 24px;
    min-height: 24px;
    justify-content: center;
}

/* ======================= Hero ======================= */
.hm-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: min(100vh, 860px);
    min-height: min(100svh, 860px);
    padding: 132px 0 64px;
    background: var(--hm-surface-0);
    color: var(--hm-text-1);
}

/* Stage: photo, survey point cloud, scan beam, light, shade, grain */
.hm-stage {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}
.hm-photo,
.hm-cloud,
.hm-shade,
.hm-grain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hm-photo {
    display: block;
    object-fit: cover;
    object-position: 62% 50%;
    filter: saturate(1.08) contrast(1.04);
}
.hm-cloud {
    pointer-events: none;
}
.hm-beam {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: #ffe39a;
    box-shadow: 0 0 18px 3px rgba(255, 193, 7, 0.75), 0 0 60px 10px rgba(255, 154, 60, 0.35);
    opacity: 0;
    pointer-events: none;
    will-change: transform;
}
.hm-beam::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 22vw;
    background: linear-gradient(90deg, rgba(255, 193, 7, 0), rgba(255, 193, 7, 0.16));
}
.hm-sun {
    position: absolute;
    left: -6%;
    top: -14%;
    width: 58vw;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 220, 150, 0.34), rgba(255, 170, 70, 0.12) 48%, rgba(255, 170, 70, 0) 72%);
    mix-blend-mode: screen;
    pointer-events: none;
}
.hm-shade {
    background:
        linear-gradient(to top, rgba(11, 10, 9, 0.96) 0%, rgba(11, 10, 9, 0.7) 32%, rgba(11, 10, 9, 0) 64%),
        linear-gradient(90deg, rgba(11, 10, 9, 0.6) 0%, rgba(11, 10, 9, 0.3) 40%, rgba(11, 10, 9, 0) 70%),
        linear-gradient(to bottom, rgba(11, 10, 9, 0.55) 0%, rgba(11, 10, 9, 0) 20%);
}
.hm-grain {
    opacity: 0.16;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hm-hero-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 372px;
    gap: 3rem;
    align-items: end;
}
.hm-copy {
    min-width: 0;
    container-type: inline-size;
}

/* Kicker pill */
.hm-pill {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    margin: 0 0 1.75rem;
    padding: 0.55rem 1.05rem 0.55rem 0.85rem;
    border: 1px solid var(--hm-glass-line);
    border-radius: var(--hm-pill);
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    color: var(--hm-text-2);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.hm-pill-dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tint);
}
.hm-pill-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--tint);
    opacity: 0;
}
.hm-pill-sep {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.24);
}

/* Headline */
.page-home .hm-title {
    margin: 0 0 1.6rem;
    color: var(--hm-text-1);
    font-size: clamp(2.6rem, 6.1vw, 6.6rem);
    font-size: clamp(2.2rem, 10.4cqi, 6.6rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.048em;
    text-transform: none;
}
.hm-line {
    display: block;
    white-space: nowrap;
}
.hm-w {
    display: inline-block;
    padding-bottom: 0.06em;
}
.hm-accent {
    background: linear-gradient(100deg, #ffd95a 0%, var(--tint) 45%, var(--hm-accent-warm) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-right: 0.04em;
}

.hm-tagline {
    max-width: 520px;
    margin: 0 0 2rem;
    color: var(--hm-text-2);
    font-size: clamp(1.05rem, 1.2vw, 1.2rem);
    line-height: 1.6;
}

/* Actions */
.hm-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}
.hm-cta {
    display: inline-flex;
    align-items: center;
    gap: 1.1rem;
    padding: 0.45rem 0.45rem 0.45rem 1.6rem;
    border-radius: var(--hm-pill);
    background: var(--tint);
    color: var(--hm-accent-ink);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: var(--hm-shadow-accent), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transition: transform 0.55s var(--hm-ease), box-shadow 0.4s ease, background-color 0.3s ease;
}
.hm-cta:hover {
    background: #ffcd33;
    box-shadow: 0 20px 44px -14px rgba(255, 193, 7, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.hm-cta-label {
    transition: transform 0.45s var(--hm-ease);
}
.hm-cta-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--hm-accent-ink);
    color: var(--tint);
    font-size: 0.95rem;
    transition: transform 0.45s var(--hm-ease);
}
.hm-cta-icon i {
    transition: transform 0.45s var(--hm-ease);
}
.hm-cta:hover .hm-cta-icon i,
.hm-cta:focus-visible .hm-cta-icon i {
    transform: rotate(-45deg);
}
.hm-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.35rem;
    border: 1px solid var(--hm-glass-line);
    border-radius: var(--hm-pill);
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: var(--hm-text-1);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.hm-phone i {
    color: var(--tint);
}
.hm-phone:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
}

/* Google rating card */
.hm-rating {
    position: relative;
    padding: 1.35rem 1.45rem 1.2rem;
    border: 1px solid var(--hm-glass-line);
    border-radius: var(--hm-radius-lg);
    background: var(--hm-glass-fill);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    box-shadow: var(--hm-shadow-glass);
}
.hm-rating-top {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
}
.hm-g {
    width: 20px;
    height: 20px;
    flex: none;
}
.hm-rating-label {
    color: var(--hm-text-2);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.hm-rating-score {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}
.hm-score {
    color: var(--hm-text-1);
    font-size: 3.3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.045em;
    font-variant-numeric: tabular-nums;
    min-width: 2.1ch;
}
.hm-score-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.hm-stars {
    position: relative;
    display: inline-block;
    font-size: 1.1rem;
    letter-spacing: 3px;
    line-height: 1;
    white-space: nowrap;
}
.hm-stars-base {
    color: rgba(255, 255, 255, 0.2);
}
.hm-stars-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--fill, 100%);
    overflow: hidden;
    color: var(--tint);
}
.hm-count {
    color: var(--hm-text-3);
    font-size: 0.84rem;
    font-weight: 600;
}
.hm-quotes {
    display: grid;
    margin: 1.05rem 0 0.95rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hm-quote {
    grid-area: 1 / 1;
    margin: 0;
}
.hm-quote blockquote {
    margin: 0;
    color: rgba(248, 245, 240, 0.92);
    font-size: 0.94rem;
    font-style: normal;
    line-height: 1.55;
}
.hm-quote figcaption {
    margin-top: 0.65rem;
    color: var(--hm-text-1);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}
.hm-quote figcaption span {
    color: var(--hm-text-3);
    font-weight: 500;
    text-transform: none;
}
.hm-quotes.is-stacked .hm-quote {
    visibility: hidden;
    opacity: 0;
    transform: translate3d(0, 6px, 0);
    transition: opacity 0.5s ease, transform 0.6s var(--hm-ease), visibility 0s linear 0.5s;
}
.hm-quotes.is-stacked .hm-quote.is-on {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease 0.1s, transform 0.7s var(--hm-ease) 0.1s, visibility 0s;
}
.hm-rating-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.hm-dots {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}
.hm-dots[hidden] {
    display: none;
}
.hm-dot,
.hm-pause {
    display: grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.hm-dot::before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-radius: var(--hm-pill);
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.4s var(--hm-ease), background-color 0.3s ease;
}
.hm-dot[aria-current="true"]::before {
    width: 20px;
    background: var(--tint);
}
.hm-pause {
    margin-left: 0.2rem;
    color: var(--hm-text-3);
    font-size: 0.62rem;
}
.hm-pause:hover {
    color: var(--hm-text-1);
}
.hm-rating-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    color: var(--tint);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.hm-rating-link i {
    font-size: 0.7rem;
}
.hm-rating-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Proof row (static) ---------- */
.hm-proof {
    position: relative;
    z-index: 2;
    background: var(--hm-surface-2);
    border-top: 1px solid var(--hm-line);
    border-bottom: 1px solid var(--hm-line);
}
.hm-proof-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    list-style: none;
}
.hm-proof-list li {
    padding: 1.6rem 1.5rem 1.7rem;
    border-left: 1px solid var(--hm-line);
    color: rgba(244, 240, 232, 0.88);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.45;
}
.hm-proof-list li:first-child {
    padding-left: 0;
    border-left: 0;
}
.hm-proof-n {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--tint);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    font-variant-numeric: tabular-nums;
}

/* ======================= Below the fold ======================= */

/* ---------- Section system: spacing, labels, headings ---------- */
.page-home .services-award,
.page-home .built-award,
.page-home .tech-award,
.page-home .about-award,
.page-home .reviews-award {
    padding: clamp(5rem, 9vw, 8rem) 0;
}
.page-home .warranty-award {
    padding: clamp(3rem, 6vw, 5rem) 0;
}
.page-home .built-award-header {
    margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.page-home .section-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: fit-content;
    margin-bottom: 1.5rem;
    padding: 0.45rem 0.95rem 0.45rem 0.8rem;
    border: 1px solid var(--hm-line);
    border-radius: var(--hm-pill);
    background: rgba(255, 255, 255, 0.035);
    color: var(--hm-text-2);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
}
.page-home .section-label::before {
    content: '';
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tint);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.8);
}
.page-home .built-award-header .section-label,
.page-home .section-label.text-center {
    margin-inline: auto;
}

.page-home .award-heading,
.page-home .award-heading-large,
.page-home .tech-award-heading,
.page-home .cta-award-heading,
.page-home .warranty-award-content h2,
.page-home .about-award-text h2 {
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-transform: none;
    text-wrap: balance;
}
.page-home .award-heading {
    font-size: clamp(2.6rem, 4.6vw, 4.6rem);
}
.page-home .award-heading-large,
.page-home .cta-award-heading {
    font-size: clamp(2.5rem, 5.4vw, 5rem);
}
.page-home .tech-award-heading,
.page-home .warranty-award-content h2,
.page-home .about-award-text h2 {
    font-size: clamp(2.4rem, 4.6vw, 4.2rem);
}
.page-home .award-subheading,
.page-home .award-subheading-large,
.page-home .tech-award-sub,
.page-home .cta-award-sub {
    color: var(--hm-text-2);
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.65;
    text-wrap: pretty;
}

/* ---------- Buttons below the fold: same pill as the hero CTA ---------- */
.page-home .btn-award {
    gap: 1.1rem;
    padding: 0.45rem 0.45rem 0.45rem 1.6rem;
    border-radius: var(--hm-pill);
    font-size: 1rem;
    letter-spacing: 0.01em;
    text-transform: none;
}
.page-home .btn-primary-award {
    box-shadow: var(--hm-shadow-accent), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.page-home .btn-primary-award::after {
    display: none;
}
.page-home .btn-primary-award:hover {
    background: #ffcd33;
}
.page-home .btn-award .btn-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--hm-accent-ink);
    color: var(--tint);
    font-size: 0.95rem;
}
.page-home .btn-award .btn-icon i {
    transition: transform 0.45s var(--hm-ease);
}
.page-home .btn-award:hover .btn-icon i,
.page-home .btn-award:focus-visible .btn-icon i {
    transform: rotate(-45deg);
}
.page-home .btn-award .btn-text,
.page-home .btn-award .btn-icon {
    transition: color 0.4s ease, transform 0.45s var(--hm-ease);
}
.page-home .btn-award.hm-mag {
    transition: transform 0.55s var(--hm-ease), opacity 0.9s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.4s ease;
}

/* ---------- Mid CTA: inset yellow panel ---------- */
.page-home .cta-award-mid {
    padding: clamp(1rem, 3vw, 2rem) 0 clamp(4rem, 7vw, 6rem);
    background: var(--black, #0a0a0c);
}
.page-home .cta-award-mid > .container {
    position: relative;
    overflow: hidden;
    width: min(100% - 4rem, 1336px);
    max-width: none;
    padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 4vw, 2rem);
    border-radius: var(--hm-radius-xl);
    background:
        radial-gradient(90% 120% at 50% -10%, #ffdb66 0%, rgba(255, 219, 102, 0) 60%),
        linear-gradient(160deg, #ffc61a, #f5ac00);
    box-shadow: 0 40px 80px -40px rgba(255, 193, 7, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.page-home .cta-award-mid .cta-award-sub {
    color: rgba(11, 10, 9, 0.72);
}
.page-home .cta-award-mid .btn-primary-award {
    background: var(--hm-accent-ink);
    color: var(--hm-text-1);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
}
.page-home .cta-award-mid .btn-primary-award:hover {
    background: #1d1b18;
}
.page-home .cta-award-mid .btn-primary-award:hover .btn-text {
    color: var(--hm-text-1);
}
.page-home .cta-award-mid .btn-award .btn-icon,
.page-home .cta-award-mid .btn-primary-award:hover .btn-icon {
    background: var(--tint);
    color: var(--hm-accent-ink);
}

/* ---------- Final CTA: glowing panel ---------- */
.page-home .cta-award-final {
    padding: clamp(4rem, 7vw, 6rem) 0;
    border-top: 0;
    background: var(--black, #0a0a0c);
}
.page-home .cta-final-box {
    max-width: 1100px;
    padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 4vw, 2rem);
    border: 1px solid var(--hm-line);
    border-radius: var(--hm-radius-xl);
    background:
        radial-gradient(60% 80% at 50% 0%, rgba(255, 193, 7, 0.16), transparent 70%),
        radial-gradient(40% 60% at 85% 100%, rgba(255, 154, 60, 0.08), transparent 70%),
        var(--hm-surface-2);
    box-shadow: var(--hm-shadow);
}

/* Solutions: scroll spine + active card */
.page-home .services-award-list {
    position: relative;
}
/* Header row on top, the three cards side by side underneath (no sticky column). */
.page-home .services-award-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4rem);
}
.page-home .services-award-sticky {
    position: static;
}
.page-home .sticky-content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-areas:
        "label ."
        "head  sub"
        "head  btn";
    column-gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
}
.page-home .sticky-content .section-label {
    grid-area: label;
}
.page-home .sticky-content .award-heading {
    grid-area: head;
    margin-bottom: 0;
}
.page-home .sticky-content .award-subheading {
    grid-area: sub;
    max-width: 520px;
    margin-bottom: 0;
}
.page-home .sticky-content .btn-award {
    grid-area: btn;
    justify-self: start;
    align-self: start;
}
.page-home .services-award-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.page-home .services-award-list .hm-spine {
    display: none;
}
.page-home .services-award-list .card-content h3 {
    font-size: clamp(1.5rem, 1.9vw, 1.9rem);
}
@media (max-width: 1100px) {
    .page-home .services-award-list {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 768px) {
    .page-home .sticky-content {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "label" "head" "sub" "btn";
    }
    .page-home .sticky-content .award-heading {
        margin-bottom: 1.25rem;
    }
}
.hm-spine {
    position: absolute;
    left: -2.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}
.hm-spine span {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 193, 7, 0.2), var(--tint));
    transform-origin: 50% 0;
    transform: scaleY(0);
}
.page-home .service-award-card {
    padding: clamp(2rem, 3.4vw, 3.25rem);
    border-color: var(--hm-line);
    border-radius: var(--hm-radius-lg);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012) 60%);
    transition: border-color 0.6s ease, background-color 0.6s ease;
}
.page-home .service-award-card:hover {
    transform: none;
    background-color: rgba(255, 255, 255, 0.02);
}
.page-home .services-award-list {
    gap: 1.5rem;
}
.page-home .card-content h3 {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}
.page-home .card-desc {
    font-size: 1rem;
    margin-bottom: 1.25rem;
}
.page-home .card-content li {
    padding: 0.85rem 0;
    border-bottom-color: var(--hm-line);
    color: var(--hm-text-2);
    font-size: 1rem;
}
.page-home .service-award-card .card-num {
    transition: color 0.6s ease, -webkit-text-stroke-color 0.6s ease;
}
.page-home .service-award-card.is-active .card-num {
    -webkit-text-stroke: 1px var(--tint);
    color: rgba(255, 193, 7, 0.12);
}
.page-home .service-award-card.is-active {
    border-color: var(--hm-accent-soft);
}

/* Why ELMS: masked image reveal + parallax */
.hm-imgmask {
    position: relative;
    overflow: hidden;
    border-radius: var(--hm-radius-lg);
}
.page-home .built-image-wrapper img {
    height: clamp(320px, 38vw, 540px);
}
.page-home .built-award-grid {
    gap: clamp(5rem, 9vw, 8rem);
}
.page-home .built-item-content h3 {
    letter-spacing: -0.035em;
    line-height: 1.08;
}
.page-home .built-item-content p {
    color: var(--hm-text-2);
}
.page-home .built-image-wrapper .hm-imgmask img {
    display: block;
    transform: scale(1.12);
}
.hm-curtain {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--tint);
    transform-origin: 100% 50%;
    pointer-events: none;
}
.page-home .built-image-wrapper img {
    transition: filter 0.9s ease;
}
.page-home .built-award-item.is-active .built-image-wrapper img {
    filter: grayscale(0%);
}
.page-home .built-item-number {
    z-index: 3;
}

/* Tech */
.page-home .tech-award-inner {
    overflow: hidden;
    padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 4vw, 4rem);
    border-color: var(--hm-line);
    border-radius: var(--hm-radius-xl);
    background:
        radial-gradient(70% 60% at 50% 0%, rgba(255, 193, 7, 0.09), transparent 70%),
        var(--hm-surface-2);
}
.page-home .tech-award-inner::before {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tint), transparent);
    transform-origin: 50% 50%;
}
.page-home .tech-award-card {
    border: 1px solid var(--hm-line);
    border-radius: var(--hm-radius-lg);
}
.page-home .tech-card-image img {
    filter: brightness(0.55) saturate(0.6);
}
.page-home .tech-award-card:hover .tech-card-image img {
    filter: brightness(0.75) saturate(1);
}
.page-home .tech-card-content {
    padding: 1.75rem;
    transform: none;
    background: linear-gradient(to top, rgba(8, 8, 8, 0.95) 10%, rgba(8, 8, 8, 0.6) 60%, transparent);
}
.page-home .tech-card-content h3 {
    letter-spacing: -0.02em;
}
.page-home .tech-card-content p {
    margin: 0;
    color: var(--hm-text-2);
    font-size: 0.95rem;
    line-height: 1.55;
    opacity: 1;
}

/* Warranty: five-segment ring around the shield, one per year */
.hm-meter-ring {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 132px;
    height: 132px;
    margin-bottom: 2rem;
}
.hm-meter-ring svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    overflow: visible;
}
.hm-meter-ring .hm-seg-track,
.hm-meter-ring .hm-seg {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
}
.hm-meter-ring .hm-seg-track {
    stroke: rgba(255, 255, 255, 0.1);
}
.hm-meter-ring .hm-seg {
    stroke: var(--tint);
}
.page-home .hm-meter-ring .warranty-icon {
    margin: 0;
    font-size: 3rem;
}
.page-home .warranty-award-box {
    padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 2rem);
    border-color: var(--hm-accent-soft);
    border-radius: var(--hm-radius-xl);
    background:
        radial-gradient(60% 70% at 50% 0%, rgba(255, 193, 7, 0.12), transparent 70%),
        var(--hm-surface-0);
    box-shadow: var(--hm-shadow);
}
.page-home .warranty-award-box::after {
    border-color: var(--hm-line);
    border-radius: calc(var(--hm-radius-xl) + 10px);
}
.page-home .warranty-award-lead {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.6;
    text-wrap: pretty;
}

/* About */
.page-home .about-award-image img {
    border-radius: var(--hm-radius-lg);
}
.page-home .about-award-badge {
    z-index: 2;
    padding: 2.25rem 2.5rem;
    border-radius: var(--hm-radius-lg);
    box-shadow: var(--hm-shadow-accent), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.page-home .about-award-desc p {
    color: var(--hm-text-2);
    font-size: 1.1rem;
}

/* Service area: city links as chips; the "·" separators collapse to zero width */
.page-home .service-area-strip {
    padding: clamp(3.5rem, 6vw, 5rem) 0;
}
.page-home .service-area-cities {
    max-width: 1120px;
    margin: 0 auto 1.5rem;
    font-size: 0;
}
.page-home .service-area-cities a {
    display: inline-block;
    margin: 0.25rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--hm-line);
    border-radius: var(--hm-pill);
    background: rgba(255, 255, 255, 0.03);
    color: var(--hm-text-2);
    font-size: 0.88rem;
    letter-spacing: 0;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.page-home .service-area-cities a:hover {
    border-color: var(--hm-accent-soft);
    background: rgba(255, 193, 7, 0.08);
    color: var(--hm-text-1);
}

/* Reviews */
.page-home .review-card {
    position: relative;
    padding: 1.75rem;
    border-color: var(--hm-line);
    border-radius: var(--hm-radius-lg);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015) 60%);
    transition: border-color 0.4s ease, transform 0.55s var(--hm-ease);
}
.page-home .review-card:hover {
    border-color: var(--hm-glass-line);
    transform: translate3d(0, -4px, 0);
}
.page-home .review-card-tag {
    align-self: flex-start;
    padding: 0.3rem 0.65rem;
    border-radius: var(--hm-pill);
    background: rgba(255, 193, 7, 0.1);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}
.page-home .review-card blockquote {
    color: var(--hm-text-1);
    font-size: 1rem;
    font-style: normal;
    line-height: 1.65;
}
.page-home .review-card-meta {
    padding-top: 1.1rem;
    border-top: 1px solid var(--hm-line);
}
.hm-star {
    display: inline-block;
}
.hm-meter {
    position: relative;
    display: inline-block;
    width: 150px;
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}
.hm-meter span {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.55), var(--tint));
    transform-origin: 0 50%;
    transform: scaleX(0.98);
}

/* ======================= Motion (opt-in) ======================= */
@media (prefers-reduced-motion: no-preference) {
    /* Survey scan: the photo is hidden until the beam passes over it. */
    .hm-js .hm-hero:not(.hm-scanned) .hm-photo {
        clip-path: inset(0 100% 0 0);
    }

    /* Headline pulls into focus word by word. */
    .hm-js .hm-hero .hm-w {
        filter: blur(14px);
        transform: translate3d(0, 0.32em, 0);
    }
    .hm-js .hm-hero.hm-play .hm-w {
        filter: none;
        transform: none;
        transition:
            filter 0.9s var(--hm-ease) calc(var(--i, 0) * 70ms + 60ms),
            transform 1s var(--hm-ease) calc(var(--i, 0) * 70ms + 60ms);
    }
    .hm-js .hm-hero .hm-in {
        opacity: 0;
        transform: translate3d(0, 16px, 0);
    }
    .hm-js .hm-hero.hm-play .hm-in {
        opacity: 1;
        transform: none;
        transition: opacity 0.8s ease var(--t, 0ms), transform 1s var(--hm-ease) var(--t, 0ms);
    }
    .hm-js .hm-hero .hm-stars-fill {
        width: 0;
    }
    .hm-js .hm-hero.hm-play .hm-stars-fill {
        width: var(--fill, 100%);
        transition: width 1.4s var(--hm-ease) 1.1s;
    }

    .hm-pill-dot::after {
        animation: hmPing 2.4s var(--hm-ease) infinite;
    }
    .hm-sun {
        animation: hmSun 10s ease-in-out infinite alternate;
    }
    .hm-hero.hm-paused .hm-sun,
    .hm-hero.hm-paused .hm-pill-dot::after {
        animation-play-state: paused;
    }

    /* Scroll reveals */
    .hm-js [data-hm-reveal] {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
        transition: opacity 0.9s ease, transform 1.1s var(--hm-ease);
        transition-delay: calc(var(--hm-i, 0) * 90ms);
    }
    .hm-js [data-hm-reveal="left"] {
        transform: translate3d(-24px, 0, 0);
    }
    .hm-js [data-hm-reveal="scale"] {
        transform: scale(0.96);
    }
    .hm-js [data-hm-reveal].is-in {
        opacity: 1;
        transform: none;
    }
    .hm-js .page-home :is(.award-heading, .award-heading-large, .tech-award-heading, .cta-award-heading, .warranty-award-content h2, .about-award-text h2)[data-hm-reveal] {
        filter: blur(10px);
        transition-property: opacity, transform, filter;
        transition-duration: 0.9s, 1.1s, 1s;
        transition-timing-function: ease, var(--hm-ease), var(--hm-ease);
    }
    .hm-js .page-home :is(.award-heading, .award-heading-large, .tech-award-heading, .cta-award-heading, .warranty-award-content h2, .about-award-text h2)[data-hm-reveal].is-in {
        filter: none;
    }

    .hm-js .page-home .tech-award-inner::before {
        transform: scaleX(0);
        transition: transform 1.4s var(--hm-ease) 0.2s;
    }
    .hm-js .page-home .tech-award-inner.is-in::before {
        transform: none;
    }

    .hm-js .hm-curtain {
        transform: scaleX(1);
        transition: transform 1.1s var(--hm-ease-io) 0.1s;
    }
    .hm-js .built-award-item.is-in .hm-curtain {
        transform: scaleX(0);
    }

    .hm-js .hm-meter-ring .hm-seg {
        opacity: 0;
        transition: opacity 0.5s ease calc(var(--s) * 180ms + 250ms);
    }
    .hm-js .hm-meter-ring.is-in .hm-seg {
        opacity: 1;
    }

    .hm-js .hm-stars-row .hm-star {
        opacity: 0.18;
        transition: opacity 0.4s ease;
        transition-delay: calc(var(--s) * 90ms + var(--hm-i, 0) * 120ms + 350ms);
    }
    .hm-js .is-in .hm-stars-row .hm-star {
        opacity: 1;
    }
    .hm-js .hm-meter span {
        transform: scaleX(0);
        transition: transform 1.6s var(--hm-ease) 0.3s;
    }
    .hm-js .hm-meter.is-in span {
        transform: scaleX(0.98);
    }
}

@keyframes hmPing {
    0% { transform: scale(0.6); opacity: 0.9; }
    70%, 100% { transform: scale(1.9); opacity: 0; }
}
@keyframes hmSun {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
    100% { transform: translate3d(2%, 3%, 0) scale(1.08); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .marquee-track,
    .hm-sun,
    .hm-pill-dot::after {
        animation: none !important;
    }
    .page-home .main-header,
    .page-home .btn-award,
    .hm-cta,
    .hm-quotes.is-stacked .hm-quote {
        transition: none !important;
    }
}

/* ======================= Responsive ======================= */
@media (max-width: 1180px) {
    .hm-hero-grid {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .hm-hero {
        padding: 120px 0 48px;
    }
    .hm-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.25rem;
    }
    .page-home .hm-title {
        font-size: clamp(2.2rem, 10.4cqi, 5.2rem);
    }
    .hm-rating {
        max-width: 460px;
    }
    .hm-shade {
        background:
            linear-gradient(to top, rgba(11, 10, 9, 0.97) 0%, rgba(11, 10, 9, 0.8) 45%, rgba(11, 10, 9, 0.35) 75%, rgba(11, 10, 9, 0.5) 100%);
    }
}

@media (max-width: 1024px) {
    .hm-spine {
        left: -1.25rem;
    }
    .hm-proof-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hm-proof-list li:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }
    .hm-proof-list li:nth-child(n+3) {
        border-top: 1px solid var(--hm-line);
    }
}

@media (max-width: 768px) {
    .hm-hero {
        padding: 104px 0 36px;
    }
    .hm-photo {
        object-position: 70% 50%;
    }
    .hm-sun {
        width: 120vw;
        left: -40%;
        top: -10%;
    }
    .hm-pill {
        margin-bottom: 1.25rem;
        padding: 0;
        border: 0;
        background: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        font-size: 0.72rem;
    }
    .hm-pill-sep {
        display: none;
    }
    .page-home .hm-title {
        margin-bottom: 1.25rem;
        /* style.css forces every mobile h1 to 2.25rem !important */
        font-size: clamp(1.75rem, 10.4cqi, 3.6rem) !important;
        line-height: 0.98;
        letter-spacing: -0.045em;
    }
    .hm-tagline {
        margin-bottom: 1.5rem;
    }
    .hm-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }
    .hm-cta {
        justify-content: space-between;
    }
    .hm-phone {
        justify-content: center;
    }
    .hm-rating {
        padding: 1.1rem 1.15rem 1rem;
        border-radius: 18px;
    }
    .hm-score {
        font-size: 2.7rem;
    }
    .hm-quote blockquote {
        font-size: 0.9rem;
    }
    .hm-proof-list li {
        padding: 1.2rem 1rem 1.3rem;
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }
    .hm-proof-list li:nth-child(odd) {
        padding-left: 0;
    }
    .page-home .services-award {
        padding-top: 4.5rem;
    }
    .page-home .cta-award-mid > .container {
        width: calc(100% - 2rem);
        border-radius: var(--hm-radius-lg);
    }
    .page-home .cta-final-box,
    .page-home .warranty-award-box,
    .page-home .tech-award-inner {
        border-radius: var(--hm-radius-lg);
    }
    .page-home .btn-award {
        font-size: 0.95rem;
    }
    .page-home .tech-award-card {
        height: 320px;
    }
    .hm-meter-ring {
        width: 112px;
        height: 112px;
    }
    .page-home .hm-meter-ring .warranty-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 380px) {
    .hm-rating-foot {
        flex-wrap: wrap;
    }
}
