/* ==========================================================================
   VIP Auto Glass
   --------------------------------------------------------------------------
   Colours carried over from the current vipglass.ca theme, used in equal
   measure: red #bc1622 (dark #9a1219, light #d41e2c) and navy #101828,
   plus white. The logo's glass blue (#5b9fd1 / #a8cce4) is kept for glass
   details only.

   Corner radius rule: 6px for buttons, inputs and small controls,
   12px for photos and panels, full circles only for icon badges, dots and
   icon-only round buttons (review arrows, FAQ toggles),
   2-3px for the paper-like objects (pinned prints, label tape).

   z-index scale: mobile call bar 40, header 50, skip link 100.
   Breakpoints: 640, 768, 900, 1024, 1200.
   ========================================================================== */

/* Font: Plus Jakarta Sans, self-hosted (SIL Open Font Licence).
   One variable file covers every weight from 400 to 800. ----------------- */

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens ------------------------------------------------------------------ */

:root {
    --red: #bc1622;
    --red-dark: #9a1219;
    --red-light: #d41e2c;
    --navy: #101828;
    --navy-deep: #0a101c;
    --ink: #111827;
    --text: #3a4353;
    --muted: #5b6577;
    --line: #e2e5ea;
    --paper: #ffffff;
    --mist: #fbf4f4; /* warm blush off-white: the brand red at about 5% on white */
    --on-dark-muted: #b3bccb;
    --line-on-dark: rgba(255, 255, 255, 0.12);
    --line-on-red: rgba(255, 255, 255, 0.24);
    --glass: #5b9fd1;
    --glass-light: #a8cce4;
    --star: #f5b301;
    --open: #3ccf7d;
    --focus: var(--red);

    --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-head: var(--font-body);

    --r-sm: 6px;
    --r-md: 12px;

    --container: 1360px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 68px;
    --section-y: clamp(64px, 9vw, 120px);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1024px) {
    :root {
        --header-h: 76px;
    }
}

/* Base -------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video,
iframe,
picture {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-wrap: balance;
}

h2 {
    font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.625rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* a red phrase in a heading, as on the current site */
h2 em {
    font-style: normal;
    color: var(--red);
}

p,
figure,
blockquote {
    margin: 0;
}

p {
    text-wrap: pretty;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

table {
    border-collapse: collapse;
}

::selection {
    background: rgba(188, 22, 34, 0.18);
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

/* sections that focus moves to after a same-page link don't need a ring */
[tabindex="-1"]:focus {
    outline: none;
}

/* Helpers ----------------------------------------------------------------- */

.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}

.section {
    padding-block: var(--section-y);
}

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

.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: var(--r-sm);
    background: #fff;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
}

.eyebrow {
    margin-bottom: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
}

.section-head {
    max-width: 640px;
    margin-bottom: clamp(36px, 4.5vw, 56px);
}

.section-head p {
    margin-top: 14px;
    font-size: 1.125rem;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    font-weight: 600;
    color: var(--red);
    text-decoration: underline;
    text-decoration-color: rgba(188, 22, 34, 0.35);
    text-underline-offset: 0.25em;
    transition: text-decoration-color 0.2s ease;
}

.text-link:hover {
    text-decoration-color: currentColor;
}

.text-link .icon {
    width: 1em;
    height: 1em;
}

/* Buttons ----------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 48px;
    padding: 0.7em 1.3em;
    border: 1.5px solid transparent;
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.005em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn .icon {
    width: 1.15em;
    height: 1.15em;
}

.btn .arrow {
    transition: transform 0.25s var(--ease);
}

.btn:hover .arrow {
    transform: translateX(3px);
}

.btn-lg {
    min-height: 56px;
    padding: 0.8em 1.5em;
    font-size: 1.0625rem;
}

.btn-sm {
    min-height: 42px;
    padding: 0.55em 1.05em;
    font-size: 0.9375rem;
}

.btn-primary {
    background: var(--red);
    color: #fff;
}

.btn-primary:hover {
    background: var(--red-dark);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #fff;
}

.btn-outline-light:hover {
    border-color: #fff;
    background: #fff;
    color: var(--navy);
}

.btn-dark {
    background: var(--navy);
    color: #fff;
}

.btn-dark:hover {
    background: #1d2a40;
}

.btn-outline-dark {
    border-color: #c9cfd8;
    background: #fff;
    color: var(--ink);
}

.btn-outline-dark:hover {
    border-color: var(--ink);
}

.btn-light {
    background: #fff;
    color: var(--red);
}

.btn-light:hover {
    background: var(--navy);
    color: #fff;
}

.btn[disabled] {
    cursor: progress;
    opacity: 0.8;
}

/* Top bar: hours, address, email and social links; it scrolls away ------- */

.topbar {
    --focus: #fff;
    background: var(--red);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8125rem;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
}

.topbar-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.topbar-info li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.topbar-info .topbar-wide {
    display: none;
}

.topbar-info .icon {
    width: 15px;
    height: 15px;
}

.topbar-info a {
    color: inherit;
    text-decoration: none;
}

.topbar-info a:hover {
    text-decoration: underline;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 4px;
}

.topbar-follow {
    display: none;
    margin-right: 6px;
    font-weight: 600;
}

.topbar-social a {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: var(--r-sm);
    color: #fff;
    transition: background-color 0.2s ease;
}

.topbar-social a:hover {
    background: rgba(0, 0, 0, 0.16);
}

.topbar-social .icon {
    width: 18px;
    height: 18px;
}

@media (min-width: 640px) {
    .topbar-follow {
        display: inline;
    }
}

@media (min-width: 900px) {
    .topbar-info .topbar-wide {
        display: inline-flex;
    }
}

/* Header ------------------------------------------------------------------ */

.site-header {
    --focus: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--navy);
    color: #fff;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* turns brand red once the page scrolls, like the current site */
.site-header.is-scrolled {
    background: var(--red);
    box-shadow: 0 10px 30px rgba(90, 8, 14, 0.28);
}

.site-header.is-scrolled .header-phone .icon {
    color: #fff;
}

.site-header.is-scrolled .header-quote {
    background: #fff;
    color: var(--red);
}

.site-header.is-scrolled .header-quote:hover {
    background: var(--navy);
    color: #fff;
}

.site-header.is-scrolled .menu-toggle {
    background: rgba(0, 0, 0, 0.16);
}

/* the open phone menu is navy, so the bar above it matches */
.menu-open .site-header.is-scrolled {
    background: var(--navy);
    box-shadow: none;
}

.header-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--header-h);
}

.brand {
    display: inline-flex;
    flex: none;
}

.brand img {
    width: auto;
    height: 40px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--r-sm);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.header-phone .icon {
    width: 22px;
    height: 22px;
    color: var(--red-light);
}

.header-phone span,
.header-quote {
    display: none;
}

.menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.menu-toggle .icon {
    grid-area: 1 / 1;
    width: 24px;
    height: 24px;
}

.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-open {
    display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
    display: block;
}

.caret {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.has-dropdown.is-open .caret {
    transform: rotate(180deg);
}

@media (min-width: 640px) {
    .header-quote {
        display: inline-flex;
    }
}

/* Phone and tablet: the menu opens as a full panel under the header */
@media (max-width: 1023.98px) {
    .site-nav {
        position: fixed;
        inset: var(--menu-top, var(--header-h)) 0 0 0;
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding: 12px var(--gutter) calc(28px + env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
        border-top: 1px solid var(--line-on-dark);
        background: var(--navy);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.35s var(--ease), visibility 0s linear 0.35s;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity 0.25s ease, transform 0.35s var(--ease), visibility 0s;
    }

    .nav-list > li {
        border-bottom: 1px solid var(--line-on-dark);
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 0;
        border: 0;
        background: none;
        color: #fff;
        font-family: var(--font-head);
        font-size: 1.3125rem;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: -0.02em;
        text-align: left;
        text-decoration: none;
    }

    .nav-link[aria-current="page"] {
        color: var(--red-light);
    }

    .nav-link .caret {
        width: 20px;
        height: 20px;
    }

    .dropdown {
        display: none;
        padding-bottom: 14px;
    }

    .has-dropdown.is-open .dropdown {
        display: block;
    }

    .dropdown a {
        display: block;
        padding: 10px 0 10px 16px;
        border-left: 2px solid var(--line-on-dark);
        color: var(--on-dark-muted);
        text-decoration: none;
    }

    .dropdown a:hover {
        border-left-color: var(--red-light);
        color: #fff;
    }

    .nav-extra {
        display: grid;
        gap: 12px;
        margin-top: auto;
    }

    .nav-extra-status,
    .nav-extra-address {
        color: var(--on-dark-muted);
        font-size: 0.9375rem;
        text-align: center;
    }

    .nav-extra-status {
        margin-top: 8px;
        color: #fff;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Desktop: one-line navigation with a hover/click dropdown */
@media (min-width: 1024px) {
    .brand img {
        height: 46px;
    }

    .menu-toggle,
    .nav-extra {
        display: none;
    }

    .site-nav {
        margin-left: auto;
    }

    .nav-list {
        display: flex;
        align-items: center;
        gap: 2px;
    }

    .nav-link {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 10px 14px;
        border: 0;
        border-radius: var(--r-sm);
        background: none;
        color: rgba(255, 255, 255, 0.82);
        font-size: 0.9375rem;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

    .nav-link:hover,
    .has-dropdown.is-open > .nav-link {
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
    }

    .nav-link[aria-current="page"],
    .nav-link.is-current {
        color: #fff;
    }

    .nav-link[aria-current="page"]::after {
        content: "";
        position: absolute;
        right: 14px;
        bottom: 3px;
        left: 14px;
        height: 2px;
        border-radius: 2px;
        background: var(--red-light);
    }

    .site-header.is-scrolled .nav-link {
        color: rgba(255, 255, 255, 0.92);
    }

    .site-header.is-scrolled .nav-link:hover,
    .site-header.is-scrolled .has-dropdown.is-open > .nav-link {
        background: rgba(0, 0, 0, 0.14);
        color: #fff;
    }

    .site-header.is-scrolled .nav-link[aria-current="page"]::after {
        background: #fff;
    }

    .has-dropdown {
        position: relative;
    }

    .dropdown {
        --focus: var(--red);
        position: absolute;
        top: calc(100% + 10px);
        left: -8px;
        min-width: 260px;
        padding: 8px;
        border-radius: var(--r-md);
        background: #fff;
        box-shadow: 0 18px 48px rgba(5, 10, 20, 0.28);
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition: opacity 0.2s ease, transform 0.25s var(--ease), visibility 0s linear 0.25s;
    }

    /* keeps the menu open while the pointer crosses the gap */
    .dropdown::before {
        content: "";
        position: absolute;
        inset: -12px 0 auto;
        height: 12px;
    }

    .has-dropdown.is-open .dropdown,
    html:not(.js) .has-dropdown:hover .dropdown,
    html:not(.js) .has-dropdown:focus-within .dropdown {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition-delay: 0s;
    }

    .dropdown a {
        display: block;
        padding: 10px 14px;
        border-radius: var(--r-sm);
        color: var(--ink);
        font-weight: 500;
        text-decoration: none;
    }

    .dropdown a:hover {
        background: var(--mist);
        color: var(--red);
    }

    .header-actions {
        gap: 14px;
        margin-left: 20px;
    }
}

@media (min-width: 1200px) {
    .header-phone {
        padding-inline: 4px;
    }

    .header-phone span {
        display: inline;
    }
}

/* Hero -------------------------------------------------------------------- */

.hero {
    --focus: #fff;
    overflow: hidden;
    padding-block: clamp(28px, 5vw, 64px) clamp(48px, 6vw, 84px);
    background: var(--navy);
    color: #fff;
}

.shop-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.05);
    color: #dfe4ec;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.3;
}

.status-dot {
    position: relative;
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8a93a3;
}

.shop-status.is-open .status-dot {
    background: var(--open);
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.375rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.hero h1 em {
    font-style: normal;
    color: var(--red-light);
}

.hero-lead {
    max-width: 34em;
    margin-top: 20px;
    color: var(--on-dark-muted);
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

/* the video covers the banner behind the text */
.hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
}

@media (max-width: 559.98px) {
    .hero-actions .btn {
        width: 100%;
    }
}

/* the video fills the banner behind the text */

.hero--full {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    padding-block: 0;
}

/* phones and tablets: the video runs across the top and fades into the navy under the text */
.hero-bg {
    position: relative;
    height: clamp(260px, 66vw, 440px);
    background: var(--navy);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 24, 40, 0) 45%, rgba(16, 24, 40, 0.65) 75%, var(--navy) 100%);
}

.hero-full-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: -48px;
    padding-bottom: 24px;
}

.hero--full .hero-copy {
    max-width: 640px;
}

/* desktop: the video fills the whole banner behind the text */
@media (min-width: 1024px) {
    .hero--full {
        flex-direction: row;
        min-height: clamp(600px, calc(100dvh - 114px), 820px);
    }

    .hero-bg {
        position: absolute;
        inset: 0;
        z-index: -1;
        height: auto;
    }

    /* keeps the text readable over any photo, and fades into the dotted edge below */
    .hero-bg::after {
        background:
            linear-gradient(90deg, rgba(16, 24, 40, 0.95) 0%, rgba(16, 24, 40, 0.82) 36%, rgba(16, 24, 40, 0.3) 70%, rgba(16, 24, 40, 0.15) 100%),
            linear-gradient(0deg, var(--navy) 0%, rgba(16, 24, 40, 0) 26%);
    }

    .hero-full-inner {
        margin-top: 0;
        padding-block: 64px 32px;
    }

    /* the text sits in the middle of the banner */
    .hero--full .hero-copy {
        margin-block: auto;
    }
}

/* The VIP decal a glass shop puts on the windshield after the job */
.vip-sticker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 9px;
    border-radius: var(--r-sm);
    background: #fff;
    color: var(--muted);
    box-shadow: 0 10px 24px rgba(5, 10, 20, 0.3);
    font-size: 0.8125rem;
    line-height: 1.3;
    text-decoration: none;
    transform: rotate(-3deg);
}

.vip-sticker img {
    width: auto;
    height: 36px;
}

.vip-sticker strong {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--ink);
    font-size: 0.9375rem;
    font-weight: 800;
}

.vip-sticker strong .icon {
    width: 15px;
    height: 15px;
    color: var(--star);
}

/* The dotted band along the edge of every windshield (the frit), used
   where one section hands over to the next */
.frit,
.site-footer::before {
    --frit-ink: var(--navy);
    --frit-paper: var(--red);
    height: 40px;
    background-color: var(--frit-paper);
    background-image:
        linear-gradient(var(--frit-ink), var(--frit-ink)),
        radial-gradient(circle at 6px 6px, var(--frit-ink) 5px, transparent 5.6px),
        radial-gradient(circle at 6px 6px, var(--frit-ink) 4px, transparent 4.6px),
        radial-gradient(circle at 6px 6px, var(--frit-ink) 3px, transparent 3.6px),
        radial-gradient(circle at 6px 6px, var(--frit-ink) 2px, transparent 2.6px),
        radial-gradient(circle at 6px 6px, var(--frit-ink) 1.2px, transparent 1.8px);
    background-position: 0 0, 0 -3px, 6px 4px, 0 11px, 6px 18px, 0 25px;
    background-repeat: no-repeat, repeat-x, repeat-x, repeat-x, repeat-x, repeat-x;
    background-size: 100% 3px, 12px 12px, 12px 12px, 12px 12px, 12px 12px, 12px 12px;
}

/* red dots rising out of the quote section into the section above it */
.frit--into-quote {
    --frit-ink: var(--red);
    --frit-paper: var(--paper);
    transform: scaleY(-1);
}

/* At a glance ------------------------------------------------------------- */

.proof {
    background: var(--red);
    color: #fff;
}

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

.proof-item {
    padding: 18px 16px 24px;
}

.proof-item:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid var(--line-on-red);
}

.proof-item:nth-child(even) {
    padding-left: 20px;
}

.proof-item:nth-child(n + 3) {
    border-top: 1px solid var(--line-on-red);
}

.proof-value {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    color: #fff;
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.125rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.proof-star {
    width: 0.62em;
    height: 0.62em;
    color: #fff;
}

.proof-label {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9375rem;
    line-height: 1.4;
}

@media (min-width: 900px) {
    .proof-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .proof-item,
    .proof-item:nth-child(n) {
        padding: 14px 28px 40px;
        border: 0;
    }

    .proof-item:first-child {
        padding-left: 0;
    }

    .proof-item + .proof-item {
        border-left: 1px solid var(--line-on-red);
    }
}

/* Services ---------------------------------------------------------------- */

.service-grid {
    display: grid;
    gap: 40px 24px;
}

.service {
    position: relative;
}

.service-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-md);
    background: var(--mist);
}

/* a glint of light passing over glass, tinted with the logo's blue,
   across a service photo on hover */
.service-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(105deg, transparent 36%, rgba(214, 234, 250, 0.45) 50%, transparent 64%);
    transform: translateX(-130%);
    pointer-events: none;
}

.service-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.service:hover .service-media img {
    transform: scale(1.035);
}

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

.service h3 {
    font-size: clamp(1.3125rem, 1.15rem + 0.55vw, 1.625rem);
    transition: color 0.2s ease;
}

.service:hover h3 {
    color: var(--red);
}

.service-link {
    color: inherit;
    text-decoration: none;
}

/* the whole card is clickable, but only the title is the link */
.service-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: var(--r-md);
}

.service-link:focus-visible {
    outline: none;
}

.service-link:focus-visible::after {
    outline: 3px solid var(--focus);
    outline-offset: 6px;
}

.service p {
    max-width: 46ch;
    margin-top: 8px;
}

.service-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--red);
    font-weight: 600;
}

.service-more .icon {
    width: 18px;
    height: 18px;
    transition: transform 0.25s var(--ease);
}

.service:hover .service-more .icon {
    transform: translateX(4px);
}

/* phones: the three smaller services sit as compact rows (all four, on a service page) */
@media (max-width: 767.98px) {
    .service:nth-child(n + 3),
    .service-grid--four .service {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 16px;
        align-items: start;
    }

    .service:nth-child(n + 3) .service-media img,
    .service-grid--four .service .service-media img {
        aspect-ratio: 1;
    }

    .service:nth-child(n + 3) .service-body,
    .service-grid--four .service .service-body {
        padding-top: 0;
    }

    .service:nth-child(n + 3) h3,
    .service-grid--four .service h3 {
        font-size: 1.1875rem;
    }

    .service:nth-child(n + 3) p,
    .service-grid--four .service p {
        font-size: 0.9375rem;
    }

    .service:nth-child(n + 3) .service-more,
    .service-grid--four .service .service-more {
        margin-top: 8px;
    }
}

/* four cards (the other services, on a service page) sit in an even row */
@media (min-width: 768px) {
    .service-grid--four .service:first-child {
        grid-column: auto;
    }

    .service-grid--four .service:first-child .service-media img {
        aspect-ratio: 16 / 10;
    }
}

@media (min-width: 1200px) {
    .service-grid--four .service:nth-child(n) {
        grid-column: span 3;
    }

    .service-grid--four .service:nth-child(n) .service-media img {
        height: 200px;
        aspect-ratio: auto;
    }

    .service-grid--four .service:nth-child(n) h3 {
        font-size: 1.3125rem;
    }

    /* three cards (the home page) sit in an even row */
    .service-grid--three .service:nth-child(n) {
        display: flex;
        flex-direction: column;
        grid-column: span 4;
    }

    /* "Learn more" lines up along the bottom, however long the text */
    .service-grid--three .service-body {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: flex-start;
    }

    .service-grid--three .service p {
        flex: 1;
    }

    .service-grid--three .service:nth-child(n) .service-media img {
        height: 300px;
        aspect-ratio: auto;
    }

    .service-grid--three .service:nth-child(n) h3 {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 28px;
    }

    .service:first-child {
        grid-column: 1 / -1;
    }

    .service:first-child .service-media img {
        aspect-ratio: 21 / 9;
    }
}

@media (min-width: 1200px) {
    .service-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 56px 28px;
    }

    .service:nth-child(1) {
        grid-column: span 7;
    }

    .service:nth-child(2) {
        grid-column: span 5;
    }

    .service:nth-child(3),
    .service:nth-child(5) {
        grid-column: span 3;
    }

    .service:nth-child(4) {
        grid-column: span 6;
    }

    .service:nth-child(-n + 2) .service-media img {
        height: 400px;
        aspect-ratio: auto;
    }

    .service:nth-child(n + 3) .service-media img {
        height: 240px;
        aspect-ratio: auto;
    }

    .service:nth-child(n + 3) h3 {
        font-size: 1.3125rem;
    }
}

/* Every make: a red band with the makes running past ---------------------- */

.makes {
    overflow: hidden;
    padding-top: 26px;
    background: var(--red);
    color: #fff;
}

.makes-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* without motion, the wrapped list lines up with the page container */
.makes-marquee {
    display: flex;
    padding: 14px max(var(--gutter), calc((100% - var(--container)) / 2)) 28px;
}

/* without motion the makes simply wrap */
.makes-track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.makes-track[aria-hidden="true"] {
    display: none;
}

.makes-track li {
    display: flex;
    align-items: center;
    gap: 26px;
    padding-right: 26px;
    color: #fff;
    font-size: clamp(1.375rem, 1rem + 1.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.makes-track li::after {
    content: "";
    width: 24px;
    height: 20px;
    background: url("../images/brand/vip-shield.png") center / contain no-repeat;
}

/* How it works: the steps sit along a road ------------------------------- */

.road {
    position: relative;
    display: grid;
    gap: 36px;
}

/* phones: the road runs down the left */
.road::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 21px;
    width: 14px;
    border-radius: 7px;
    background: #2b3444;
}

.road::after {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 27px;
    width: 2px;
    background: repeating-linear-gradient(180deg, #fff 0 14px, transparent 14px 26px);
}

.road-stop {
    position: relative;
    z-index: 1;
    padding-left: 78px;
}

.road-marker {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 6px var(--paper);
    color: #fff;
}

.road-marker .icon {
    width: 26px;
    height: 26px;
}

.road-stop h3 {
    padding-top: 4px;
    font-size: 1.25rem;
}

.road-stop p {
    max-width: 36ch;
    margin-top: 6px;
}

.steps-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: 52px;
}

@media (min-width: 900px) {
    .road {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 32px;
    }

    /* desktop: the road runs across through the markers and carries on past
       the last one, on to wherever you're driving */
    .road::before {
        top: 21px;
        right: 0;
        bottom: auto;
        left: 0;
        width: auto;
        height: 14px;
    }

    .road::after {
        top: 27px;
        right: 16px;
        bottom: auto;
        left: 16px;
        width: auto;
        height: 2px;
        background: repeating-linear-gradient(90deg, #fff 0 18px, transparent 18px 34px);
    }

    .road-stop {
        padding-top: 84px;
        padding-left: 0;
    }
}

/* Chip check -------------------------------------------------------------- */

.chip-check {
    background: var(--mist);
}

.chip-grid {
    display: grid;
    gap: 40px;
}

.chip-copy h2 {
    margin-bottom: 16px;
}

.chip-intro {
    color: var(--ink);
    font-size: 1.125rem;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 22px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--ink);
    font-size: 1.0625rem;
    font-weight: 600;
}

.check-list .icon {
    width: 26px;
    height: 26px;
    margin-top: 1px;
    padding: 5px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
}

.cold-note {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: var(--r-md);
    background: #fff;
    font-size: 0.9375rem;
}

.cold-note .icon {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    color: var(--red);
}

.chip-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-top: 28px;
}

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

/* a pale tint of the logo's glass blue behind the chip diagram */
.chip-figure {
    position: relative;
}

.chip-figure-frame {
    overflow: hidden;
    border-radius: var(--r-md);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.14);
}

.chip-figure-frame img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* a label-maker tape stuck on the corner of the photo */
.chip-figure-tag {
    position: absolute;
    top: 18px;
    left: -8px;
}

.chip-figure figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.9375rem;
}

@media (min-width: 1024px) {
    .chip-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        gap: clamp(48px, 6vw, 88px);
        align-items: center;
    }

    .chip-figure {
        grid-row: 1;
        grid-column: 1;
    }

    .chip-copy {
        grid-column: 2;
    }
}

/* Calgary is hard on glass ---------------------------------------------- */

.seasons {
    --focus: #fff;
    /* chart colours, checked with the colour-blind validator against navy */
    --roads: #4f93cc;
    --chinook: #bf821d;
    --hail: #d6303b;
    background: var(--navy);
    color: var(--on-dark-muted);
}

.seasons h2,
.seasons h3 {
    color: #fff;
}

.seasons .section-head p {
    color: var(--on-dark-muted);
}

.season-row--roads,
.season-note--roads {
    --bar: var(--roads);
}

.season-row--chinook,
.season-note--chinook {
    --bar: var(--chinook);
}

.season-row--hail,
.season-note--hail {
    --bar: var(--hail);
}

.season-chart {
    display: grid;
    gap: 16px;
    padding: 22px 18px 24px;
    border: 1px solid var(--line-on-dark);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.03);
}

.season-months {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    color: var(--on-dark-muted);
    font-size: 0.6875rem;
    text-align: center;
}

.season-spacer {
    display: none;
}

.season-row {
    display: grid;
    gap: 8px;
}

.season-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
}

.season-swatch {
    flex: none;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: var(--bar);
}

/* one faint solid line per month */
.season-track {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    height: 22px;
    background-image: linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px);
    background-size: calc(100% / 12) 100%;
}

.season-bar {
    position: relative;
    height: 12px;
    margin-inline: 2px;
    border-radius: 4px;
    background: var(--bar);
}

.season-table {
    margin-top: 16px;
}

.season-table summary {
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
}

.season-table table {
    width: 100%;
    margin-top: 12px;
    font-size: 0.9375rem;
}

.season-table th,
.season-table td {
    padding: 10px 14px 10px 0;
    border-bottom: 1px solid var(--line-on-dark);
    text-align: left;
    vertical-align: top;
}

.season-table th {
    color: #fff;
    font-weight: 700;
}

.season-notes {
    display: grid;
    gap: 32px;
    margin-top: 44px;
}

.season-note {
    padding-top: 22px;
    border-top: 3px solid var(--bar);
}

.season-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.season-icon .icon {
    width: 22px;
    height: 22px;
}

.season-note h3 {
    font-size: 1.25rem;
}

.season-when {
    margin-top: 4px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
}

.season-note p:last-child {
    margin-top: 10px;
}

@media (min-width: 768px) {
    .season-chart {
        padding: 26px 28px 28px;
    }

    .season-months {
        grid-template-columns: 166px repeat(12, minmax(0, 1fr));
    }

    .season-spacer {
        display: block;
    }

    .season-row {
        grid-template-columns: 150px minmax(0, 1fr);
        align-items: center;
        gap: 16px;
    }

    /* hover detail on larger screens; the labels and the table carry the same information */
    .season-bar::after {
        content: attr(data-tip);
        position: absolute;
        bottom: calc(100% + 10px);
        left: 0;
        z-index: 2;
        padding: 6px 10px;
        border-radius: var(--r-sm);
        background: #fff;
        color: var(--ink);
        font-size: 0.8125rem;
        font-weight: 600;
        white-space: nowrap;
        opacity: 0;
        transform: translateY(4px);
        pointer-events: none;
        transition: opacity 0.15s ease, transform 0.15s ease;
    }

    .season-bar--late::after {
        right: 0;
        left: auto;
    }

    .season-bar:hover::after {
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 900px) {
    .season-notes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 40px;
    }
}

/* About and team ---------------------------------------------------------- */

.about-top {
    display: grid;
    gap: 36px;
}

.about h2 {
    max-width: 15em;
}

.about-lead {
    max-width: 52ch;
    margin-top: 18px;
    font-size: 1.0625rem;
}

.promises {
    display: grid;
    gap: 22px;
}

.promises li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.promises p {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.promises strong {
    display: block;
    color: var(--ink);
    font-size: 1rem;
}

/* a small glossy badge in the logo's glass blue */
.glass-icon {
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(160deg, #7cbcec 0%, #3d8bcb 48%, #1f5d9a 100%);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45), 0 4px 10px rgba(31, 93, 154, 0.3);
    color: #fff;
}

.glass-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.1) 44%, transparent 45%);
}

.glass-icon .icon {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 22px;
}

/* the team, pinned up on a pegboard like the one on a shop wall */
.pegboard {
    margin-top: clamp(40px, 5vw, 64px);
    padding: 22px 18px 44px;
    border-radius: var(--r-md);
    background-color: #e8ebf0;
    background-image:
        radial-gradient(circle, rgba(16, 24, 40, 0.3) 2.3px, transparent 3px),
        radial-gradient(circle, rgba(255, 255, 255, 0.9) 2.3px, transparent 3px);
    background-position: 14px 14px, 14px 15.5px;
    background-size: 28px 28px;
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.06);
}

.pegboard-title {
    margin-bottom: 24px;
    font-size: 0.75rem;
}

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

/* a printed photo; radius is kept small on purpose, prints have sharp-ish corners */
.print {
    position: relative;
    padding: 6px 6px 0;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(16, 24, 40, 0.22), 0 1px 3px rgba(16, 24, 40, 0.12);
    transform: translateY(var(--shift, 0)) rotate(var(--tilt, 0deg));
}

.print img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* the push pin */
.print::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    z-index: 1;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ff7a82 0%, var(--red-light) 45%, #7d0d15 100%);
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.4);
    transform: translateX(-50%);
}

.print figcaption {
    padding: 8px 4px 10px;
    color: var(--muted);
    font-size: 0.75rem;
    text-align: center;
}

.team-wall li:nth-child(1) .print {
    --tilt: -2deg;
}

.team-wall li:nth-child(2) .print {
    --tilt: 1.5deg;
    --shift: 18px;
}

.team-wall li:nth-child(3) .print {
    --tilt: 1deg;
}

.team-wall li:nth-child(4) .print {
    --tilt: -1.5deg;
    --shift: 18px;
}

/* a label-maker name tape */
.dymo {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 2px;
    background: linear-gradient(180deg, #d42330 0%, #ad1420 100%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: rotate(-2deg);
}

.print .dymo {
    position: absolute;
    bottom: 34px;
    left: -6px;
}

@media (min-width: 640px) {
    .pegboard {
        padding: 32px 32px 64px;
    }

    .team-wall {
        gap: 40px 28px;
    }

    .print {
        padding: 9px 9px 0;
    }

    .print figcaption {
        padding: 10px 4px 12px;
        font-size: 0.875rem;
    }

    .print .dymo {
        bottom: 44px;
        left: -10px;
        font-size: 0.75rem;
    }

    .team-wall li:nth-child(even) .print {
        --shift: 28px;
    }
}

@media (min-width: 900px) {
    .team-wall {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .team-wall li:nth-child(3) .print {
        --shift: 8px;
    }
}

@media (min-width: 1024px) {
    .about-top {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        align-items: end;
        gap: clamp(48px, 6vw, 96px);
    }

    .pegboard {
        padding: 40px 48px 72px;
    }
}

/* The work, up close ---------------------------------------------------- */

.gallery {
    background: var(--mist);
}

.gallery-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
    margin-bottom: clamp(32px, 4vw, 48px);
}

.gallery-head p {
    max-width: 52ch;
    margin-top: 12px;
    color: var(--muted);
    font-size: 1.125rem;
}

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

.mosaic-item:first-child {
    grid-column: 1 / -1;
}

.mosaic figure {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: var(--r-md);
    background: var(--line);
}

.mosaic img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.mosaic-item:first-child img {
    aspect-ratio: 4 / 3;
}

.mosaic figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 40px 14px 12px;
    background: linear-gradient(rgba(10, 16, 28, 0), rgba(10, 16, 28, 0.85));
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
}

@media (min-width: 900px) {
    .mosaic {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-template-rows: repeat(2, 280px);
        gap: 16px;
    }

    .mosaic-item:nth-child(1) {
        grid-row: 1 / 3;
        grid-column: 1 / 6;
    }

    .mosaic-item:nth-child(2) {
        grid-row: 1;
        grid-column: 6 / 9;
    }

    .mosaic-item:nth-child(3) {
        grid-row: 1;
        grid-column: 9 / 13;
    }

    .mosaic-item:nth-child(4) {
        grid-row: 2;
        grid-column: 6 / 10;
    }

    .mosaic-item:nth-child(5) {
        grid-row: 2;
        grid-column: 10 / 13;
    }

    .mosaic img,
    .mosaic-item:first-child img {
        aspect-ratio: auto;
    }

    .mosaic figcaption {
        padding: 56px 18px 16px;
        font-size: 0.875rem;
    }
}

/* every photo opens the full gallery */
.mosaic-item {
    position: relative;
}

@media (prefers-reduced-motion: no-preference) {
    .mosaic img {
        transition: scale 0.6s var(--ease);
    }

    .mosaic-item:hover img {
        scale: 1.04;
    }
}

.mosaic-zoom {
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 0;
    border-radius: var(--r-md);
    background: transparent;
    cursor: zoom-in;
}

html:not(.js) .mosaic-zoom {
    display: none;
}

/* Gallery popup ----------------------------------------------------------- */

.lightbox {
    --focus: #fff;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    color: #fff;
}

.lightbox[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.lightbox::backdrop {
    background: #070b14;
}

/* the page behind stays put while the gallery is open */
html.is-locked {
    overflow: hidden;
}

.lightbox-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px clamp(12px, 3vw, 32px);
}

.lightbox-count {
    font-size: 0.9375rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}

.lightbox-count span + span {
    color: var(--on-dark-muted);
    font-weight: 500;
}

.lightbox-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(10, 16, 28, 0.6); /* stays visible over light photos too */
    color: #fff;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lightbox-button:hover {
    border-color: var(--red);
    background: var(--red);
}

.lightbox-button .icon {
    width: 20px;
    height: 20px;
}

.lightbox-stage {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    padding-inline: clamp(12px, 3vw, 32px);
}

/* the photos sit on top of each other and fade from one to the next; each photo
   and its caption stay together in the middle of the space */
.lightbox-slide {
    display: grid;
    grid-area: 1 / 1;
    grid-template-rows: minmax(0, auto) auto;
    align-content: center;
    gap: 14px;
    min-height: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.lightbox-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

/* one cell exactly the size of the space, so the photo can't spill over the caption */
.lightbox-slide picture {
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    place-items: center;
    min-height: 0;
    max-width: none;
}

/* fills the space, but never stretches a small photo past 1.5 times its size */
.lightbox-slide img {
    grid-area: 1 / 1; /* not after the <source>, which also counts as a grid item */
    width: 100%;
    max-width: calc(var(--w) * 1.5px);
    height: 100%;
    max-height: calc(var(--h) * 1.5px);
    object-fit: contain;
}

.lightbox-slide figcaption {
    justify-self: center;
    max-width: 60ch;
    padding-inline: 8px;
    color: var(--on-dark-muted);
    font-size: 0.9375rem;
    text-align: center;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    z-index: 1;
    translate: 0 -50%;
}

.lightbox-arrow--prev {
    left: clamp(12px, 2vw, 32px);
}

.lightbox-arrow--next {
    right: clamp(12px, 2vw, 32px);
}

/* phones: the arrows, the count and a swipe are enough */
.lightbox-thumbs {
    display: none;
}

@media (min-width: 768px) {
    .lightbox-stage {
        padding-inline: 96px;
    }

    .lightbox-button {
        width: 52px;
        height: 52px;
    }

    .lightbox-thumbs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 18px clamp(12px, 3vw, 32px) 22px;
    }

    .lightbox-thumbs button {
        width: 64px;
        padding: 0;
        overflow: hidden;
        border: 0;
        border-radius: var(--r-sm);
        background: none;
        opacity: 0.5;
        transition: opacity 0.2s ease;
    }

    .lightbox-thumbs button:hover {
        opacity: 0.85;
    }

    .lightbox-thumbs button[aria-current="true"] {
        opacity: 1;
        outline: 2px solid var(--red-light);
        outline-offset: 2px;
    }

    .lightbox-thumbs img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
}

/* Reviews: one at a time, on a windshield -------------------------------- */

/* frit dots fade in from two corners, and a soft blush light sits behind the glass,
   so the windshield isn't floating in empty space */
.reviews {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 45% at 50% 58%, rgba(188, 22, 34, 0.06), transparent 100%),
        var(--paper);
}

.reviews::before,
.reviews::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: clamp(220px, 38vw, 680px);
    aspect-ratio: 1;
    background: url("../images/patterns/frit-corner.svg") 0 0 / 100% 100% no-repeat;
    pointer-events: none;
}

.reviews::before {
    top: 0;
    left: 0;
}

.reviews::after {
    right: 0;
    bottom: 0;
    rotate: 180deg;
}

.reviews-title {
    margin-bottom: clamp(32px, 4vw, 48px);
    text-align: center;
}

.windshield {
    --frit-ink: #04070d;
    /* phones: a properly slanted outline so the glass still reads as a windshield;
       the wider outline is set further down */
    --windshield-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cpath d='M80 3Q200 -3 320 3Q350 4 358 30L396 258Q400 290 370 294Q200 302 30 294Q0 290 4 258L42 30Q50 4 80 3Z'/%3E%3C/svg%3E");
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    max-width: 1000px;
    margin-inline: auto;
    padding: 58px clamp(30px, 9vw, 120px) 52px;
    color: #fff;
    text-align: center;
}

/* the glass: the logo's blue with the same shine as its shield, and frit
   along the top and bottom edges, all cut to a windshield outline */
.windshield::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: #2f74b5;
    background-image:
        linear-gradient(var(--frit-ink), var(--frit-ink)),
        radial-gradient(circle at 6px 6px, var(--frit-ink) 5px, transparent 5.6px),
        radial-gradient(circle at 6px 6px, var(--frit-ink) 4px, transparent 4.6px),
        radial-gradient(circle at 6px 6px, var(--frit-ink) 3px, transparent 3.6px),
        radial-gradient(circle at 6px 6px, var(--frit-ink) 2px, transparent 2.6px),
        linear-gradient(var(--frit-ink), var(--frit-ink)),
        radial-gradient(circle at 6px 6px, var(--frit-ink) 5px, transparent 5.6px),
        radial-gradient(circle at 6px 6px, var(--frit-ink) 4px, transparent 4.6px),
        radial-gradient(circle at 6px 6px, var(--frit-ink) 3px, transparent 3.6px),
        radial-gradient(circle at 6px 6px, var(--frit-ink) 2px, transparent 2.6px),
        linear-gradient(118deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.07) 25%, transparent 25.2%),
        linear-gradient(104deg, transparent 60%, rgba(255, 255, 255, 0.13) 64%, rgba(255, 255, 255, 0.03) 71%, transparent 75%),
        linear-gradient(180deg, #4f9ad6 0%, #2f74b5 45%, #1d5590 78%, #163f6c 100%);
    background-position:
        0 0, 0 2px, 6px 9px, 0 16px, 6px 23px,
        0 100%, 0 calc(100% - 2px), 6px calc(100% - 9px), 0 calc(100% - 16px), 6px calc(100% - 23px),
        0 0, 0 0, 0 0;
    background-repeat:
        no-repeat, repeat-x, repeat-x, repeat-x, repeat-x,
        no-repeat, repeat-x, repeat-x, repeat-x, repeat-x,
        no-repeat, no-repeat, no-repeat;
    background-size:
        100% 8px, 12px 12px, 12px 12px, 12px 12px, 12px 12px,
        100% 8px, 12px 12px, 12px 12px, 12px 12px, 12px 12px,
        100% 100%, 100% 100%, 100% 100%;
    -webkit-mask: var(--windshield-shape) 0 0 / 100% 100% no-repeat;
    mask: var(--windshield-shape) 0 0 / 100% 100% no-repeat;
}

.windshield-mirror {
    position: absolute;
    top: 16px;
    left: 50%;
    width: 64px;
    height: 20px;
    border-radius: 12px;
    background: #070b13;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 14px rgba(0, 0, 0, 0.35);
    transform: translateX(-50%);
}

.windshield-mirror::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 12px;
    height: 16px;
    border-radius: 3px 3px 0 0;
    background: #070b13;
    transform: translateX(-50%);
}

.windshield-quotes {
    display: grid;
    max-width: 720px;
}

.windshield-quote {
    display: grid;
    align-content: center;
    gap: 18px;
    grid-area: 1 / 1;
}

.windshield-quote blockquote p {
    color: #fff;
    font-size: clamp(1.0625rem, 0.9rem + 1.3vw, 1.875rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.windshield-quote figcaption {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
    color: #d4e7f6;
    font-size: 0.9375rem;
}

.windshield-quote figcaption strong {
    color: #fff;
}

/* every review sits in the same spot, so switching never changes the height */
.js .windshield-quote {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.js .windshield-quote.is-active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

/* without JavaScript, all the reviews are simply listed */
html:not(.js) .windshield-quotes {
    gap: 36px;
}

html:not(.js) .windshield-quote {
    grid-area: auto;
}

html:not(.js) .review-tabs,
html:not(.js) .review-arrow {
    display: none;
}

/* phones: the decal sits across the bottom edge of the glass */
.windshield-sticker {
    position: absolute;
    bottom: -26px;
    left: 50%;
    z-index: 1;
    width: max-content;
    transform: none;
    translate: -50% 0;
    rotate: -3deg;
    transition: translate 0.25s var(--ease), rotate 0.25s var(--ease);
}

.windshield-sticker:hover {
    translate: -50% -2px;
    rotate: 0deg;
}

/* the windshield with an arrow either side; on phones the arrows sit either side of the dots */
.reviews-stage {
    display: grid;
    grid-template-areas:
        "glass glass glass"
        "prev  tabs  next";
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 20px 8px;
}

.reviews-stage .windshield {
    grid-area: glass;
    width: 100%;
}

.review-arrow--prev {
    grid-area: prev;
}

.review-arrow--next {
    grid-area: next;
}

.review-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.1);
    color: var(--ink);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.review-arrow:hover {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
}

.review-arrow:active {
    transform: scale(0.96);
}

.review-arrow .icon {
    width: 20px;
    height: 20px;
}

/* a dot for each review; screen readers still hear the reviewer's name.
   Eight dots fit between the arrows on the smallest phones. */
.review-tabs {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    grid-area: tabs;
    justify-content: center;
}

.review-tabs [role="tab"] {
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: 24px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: var(--r-sm);
    background: none;
}

.review-tabs [role="tab"]::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #c3c9d3;
    transition: width 0.25s var(--ease), background-color 0.2s ease;
}

.review-tabs [role="tab"]:hover::before {
    background: #8c95a4;
}

.review-tabs [aria-selected="true"]::before,
.review-tabs [aria-selected="true"]:hover::before {
    width: 22px;
    background: var(--red);
}

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

/* phones: the glass leaves room for the decal that sits across its bottom edge */
@media (max-width: 767.98px) {
    .reviews-stage .windshield {
        margin-bottom: 26px;
    }
}

/* desktop: the dots become the reviewers' names (index.php only asks for this
   when there are few enough reviews to fit on one line) */
@media (min-width: 1024px) {
    .review-tabs--names {
        flex-wrap: nowrap;
        justify-content: flex-start;
        justify-content: safe center;
        gap: 8px;
        padding: 4px 2px 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .review-tabs--names::-webkit-scrollbar {
        display: none;
    }

    .review-tabs--names [role="tab"] {
        width: auto;
        height: auto;
        padding: 11px 18px 13px;
        border: 1px solid transparent;
        transition: background-color 0.2s ease, border-color 0.2s ease;
    }

    .review-tabs--names [role="tab"]::before {
        content: none;
    }

    .review-tabs--names [role="tab"]:hover {
        background: rgba(16, 24, 40, 0.05);
    }

    .review-tabs--names [aria-selected="true"],
    .review-tabs--names [aria-selected="true"]:hover {
        border-color: var(--line);
        background: #fff;
        box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
    }

    .review-tabs--names [aria-selected="true"]::after {
        content: "";
        position: absolute;
        right: 18px;
        bottom: -1px;
        left: 18px;
        height: 3px;
        border-radius: 2px 2px 0 0;
        background: var(--red);
    }

    .review-tabs--names .review-tab-name {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip-path: none;
        color: var(--ink);
        font-size: 0.9375rem;
        font-weight: 700;
    }
}

@media (min-width: 768px) {
    .windshield {
        --windshield-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 420' preserveAspectRatio='none'%3E%3Cpath d='M150 4Q500 -4 850 4Q896 6 908 42L993 366Q1003 406 960 412Q500 424 40 412Q-3 406 7 366L92 42Q104 6 150 4Z'/%3E%3C/svg%3E");
        min-height: 340px;
        justify-content: center;
        padding: 68px clamp(64px, 12vw, 160px) 96px;
    }

    .windshield-mirror {
        top: 24px;
        width: clamp(76px, 12%, 124px);
        height: clamp(24px, 3vw, 32px);
    }

    /* the decal sits low in the corner of the glass, just above the dotted edge */
    .windshield-sticker {
        bottom: 24px;
        left: 10%;
        translate: none;
    }

    .windshield-sticker:hover {
        translate: 0 -2px;
    }

    .reviews-stage {
        grid-template-areas:
            "prev glass next"
            ".    tabs  .";
        grid-template-columns: 56px minmax(0, 1000px) 56px;
        justify-content: center;
        column-gap: clamp(12px, 2vw, 28px);
    }

    .review-arrow {
        width: 56px;
        height: 56px;
    }

    .review-arrow .icon {
        width: 24px;
        height: 24px;
    }
}

/* Service areas: Calgary's four quadrants -------------------------------- */

.areas {
    background: var(--mist);
}

.areas-grid {
    display: grid;
    gap: 40px;
}

.areas-copy p {
    max-width: 46ch;
    margin-top: 16px;
    font-size: 1.0625rem;
}

.areas-copy .btn {
    margin-top: 28px;
}

.quadrants {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.quadrant {
    padding: 20px 16px;
    background: #fff;
}

.quadrant:nth-child(1) {
    border-top-left-radius: var(--r-md);
}

.quadrant:nth-child(2) {
    border-top-right-radius: var(--r-md);
}

.quadrant:nth-child(3) {
    border-bottom-left-radius: var(--r-md);
}

.quadrant:nth-child(4) {
    border-bottom-right-radius: var(--r-md);
}

.quadrant h3 {
    font-size: 1rem;
}

.quadrant ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.875rem;
}

.quadrant.is-home {
    background: var(--red);
}

.quadrant.is-home h3 {
    color: #fff;
}

.quadrant.is-home ul {
    color: rgba(255, 255, 255, 0.9);
}

.quadrant-pin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 4px 10px 4px 8px;
    border-radius: var(--r-sm);
    background: #fff;
    color: var(--red);
    font-size: 0.8125rem;
    font-weight: 700;
}

.quadrant-pin .icon {
    width: 16px;
    height: 16px;
}

/* where the four quadrants meet; on phones the tiles get too tall for it to
   sit clear of the text, so it only shows from 640px up */
.quadrants-compass {
    position: absolute;
    top: 50%;
    left: 50%;
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    box-shadow: 0 0 0 6px var(--mist);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 800;
    transform: translate(-50%, -50%);
}

@media (min-width: 640px) {
    .quadrant {
        min-height: 170px;
        padding: 26px 24px;
    }

    .quadrants-compass {
        display: grid;
    }
}

@media (min-width: 1024px) {
    .areas-grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        align-items: center;
        gap: clamp(48px, 6vw, 88px);
    }
}

/* FAQ --------------------------------------------------------------------- */

.faq-grid {
    display: grid;
    gap: 36px;
}

.faq-intro p {
    max-width: 40ch;
    margin-top: 14px;
    color: var(--muted);
    font-size: 1.0625rem;
}

.faq-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border-radius: var(--r-md);
    background: var(--mist);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    background: #fff;
    box-shadow: 0 0 0 1px var(--line), 0 12px 30px rgba(16, 24, 40, 0.08);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--r-md);
    color: var(--ink);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-toggle {
    display: grid;
    flex: none;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    color: var(--red);
    transition: transform 0.25s var(--ease), background-color 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-toggle {
    background: var(--red);
    color: #fff;
    transform: rotate(45deg);
}

.faq-toggle .icon {
    width: 16px;
    height: 16px;
}

.faq-item p {
    max-width: 70ch;
    padding: 0 20px 20px;
}

@media (min-width: 1024px) {
    .faq-grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        align-items: start;
        gap: clamp(48px, 6vw, 88px);
    }

    .faq-intro {
        position: sticky;
        top: calc(var(--header-h) + 32px);
    }
}

/* Quote and contact ------------------------------------------------------- */

.quote {
    --focus: #fff;
    --line-on-dark: var(--line-on-red);
    background: var(--red);
    color: rgba(255, 255, 255, 0.9);
}

.quote h2,
.quote h3 {
    color: #fff;
}

.quote-grid {
    display: grid;
    gap: 48px;
}

.quote-lead {
    max-width: 36ch;
    margin-top: 14px;
    font-size: 1.125rem;
}

.contact-list {
    display: grid;
    gap: 4px;
}

.contact-list a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.4;
    text-decoration: none;
}

.contact-list strong {
    display: block;
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 700;
}

.contact-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    transition: background-color 0.2s ease;
}

.contact-icon .icon {
    width: 22px;
    height: 22px;
}

.contact-list a:hover .contact-icon {
    background: var(--navy);
}

.contact-list a:hover strong {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.visit {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--line-on-dark);
}

.visit h3 {
    font-size: 1.25rem;
}

.visit-address {
    margin: 10px 0 8px;
    color: #fff;
}

.quote .text-link {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.4);
}

.quote .text-link:hover {
    text-decoration-color: #fff;
}

.hours {
    width: 100%;
    max-width: 440px;
    margin-top: 22px;
}

.hours th,
.hours td {
    padding: 9px 0;
    border-bottom: 1px solid var(--line-on-dark);
    font-weight: 400;
    text-align: left;
}

.hours td {
    color: #fff;
    text-align: right;
    white-space: nowrap;
}

.hours .is-today th,
.hours .is-today td {
    color: #fff;
    font-weight: 600;
}

.today-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 7px;
    border-radius: 4px;
    background: #fff;
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: 2px;
}

.quote-panel {
    --focus: var(--red);
    padding: clamp(22px, 3.5vw, 40px);
    border-radius: var(--r-md);
    background: #fff;
    box-shadow: 0 24px 60px rgba(70, 6, 12, 0.35);
    color: var(--text);
}

/* phones: heading, then the form, then the other ways to reach us.
   desktop: heading and contact details on the left, form on the right */
@media (min-width: 1024px) {
    .quote-grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        grid-template-rows: auto 1fr;
        column-gap: clamp(48px, 6vw, 96px);
        row-gap: 0;
        align-items: start;
    }

    .quote-intro {
        grid-row: 1;
        grid-column: 1;
    }

    .quote-details {
        grid-row: 2;
        grid-column: 1;
        margin-top: 28px;
    }

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

/* Form */

.quote-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    gap: 20px;
}

.field {
    display: grid;
    align-content: start;
    gap: 8px;
}

.field label {
    color: var(--ink);
    font-weight: 600;
}

.optional {
    color: var(--muted);
    font-weight: 400;
}

.field-hint {
    margin-top: -4px;
    color: var(--muted);
    font-size: 0.9375rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1.5px solid #c9cfd8;
    border-radius: var(--r-sm);
    background: #fff;
    color: var(--ink);
    font-size: 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
    min-height: 120px;
    line-height: 1.5;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #6f7889;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #98a1b0;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--navy);
    outline: none;
    box-shadow: 0 0 0 3px rgba(188, 22, 34, 0.22);
}

.field select:disabled {
    background: #f3f5f8;
    cursor: not-allowed;
}

.field [aria-invalid="true"] {
    border-color: var(--red);
}

.field-error {
    color: var(--red-dark);
    font-size: 0.9375rem;
    font-weight: 500;
}

.field-error:empty {
    display: none;
}

.select-wrap {
    position: relative;
}

.select-wrap select {
    padding-right: 44px;
    appearance: none;
    cursor: pointer;
}

.select-caret {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 18px;
    height: 18px;
    color: var(--muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.hp-field {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.form-alert {
    padding: 12px 14px;
    border-radius: var(--r-sm);
    background: #fdecee;
    color: var(--red-dark);
    font-weight: 500;
}

.form-alert a {
    color: inherit;
    font-weight: 600;
}

.form-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin-top: 4px;
}

.form-note {
    color: var(--muted);
    font-size: 0.9375rem;
}

.form-success {
    display: grid;
    justify-items: start;
    gap: 12px;
    padding-block: 24px;
}

.form-success:focus {
    outline: none;
}

.form-success .icon {
    width: 48px;
    height: 48px;
    color: var(--red);
}

.quote .form-success h3 {
    color: var(--ink);
    font-size: 1.5rem;
}

.form-success a {
    color: var(--red);
    font-weight: 600;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Inner pages: the banner ------------------------------------------------- */

.page-hero {
    --focus: #fff;
    padding-block: clamp(24px, 4vw, 52px) clamp(40px, 5vw, 72px);
    background: var(--navy);
    color: #fff;
}

.page-hero-grid {
    display: grid;
    gap: 36px;
}

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 22px;
    color: var(--on-dark-muted);
    font-size: 0.875rem;
}

.crumbs li + li::before {
    content: "/";
    margin-inline: 10px;
    color: rgba(255, 255, 255, 0.3);
}

.crumbs a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 0.25em;
}

.crumbs a:hover {
    text-decoration-color: #fff;
}

.page-hero-eyebrow {
    margin-bottom: 14px;
    color: var(--glass-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-hero h1 {
    max-width: 18ch;
    color: #fff;
    font-size: clamp(2.125rem, 1.3rem + 2.6vw, 3.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.page-hero h1 em {
    font-style: normal;
    color: var(--red-light);
}

.page-hero-lead {
    max-width: 38em;
    margin-top: 18px;
    color: var(--on-dark-muted);
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
    line-height: 1.6;
}

/* the numbers that matter for this service, like a spec sheet */
.page-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.page-facts li {
    padding: 8px 14px;
    border: 1px solid var(--line-on-dark);
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.04);
    color: var(--on-dark-muted);
    font-size: 0.9375rem;
    line-height: 1.3;
}

.page-facts strong {
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 800;
}

.page-hero-media {
    position: relative;
    margin: 0;
}

.page-hero-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--r-md);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.page-hero-tag {
    position: absolute;
    top: 18px;
    left: -8px;
}

@media (min-width: 1024px) {
    .page-hero--media .page-hero-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        align-items: center;
        column-gap: clamp(40px, 5vw, 80px);
    }
}

/* the dotted edge under the banner fades into the section below */
.frit--down {
    --frit-paper: var(--paper);
}

.frit--to-mist {
    --frit-paper: var(--mist);
}

/* Inner pages: shared pieces ---------------------------------------------- */

/* words on one side, something to look at on the other */
.split {
    display: grid;
    gap: 48px;
    align-items: center;
}

.split-copy h2 {
    margin-bottom: 18px;
}

.split-copy p + p {
    margin-top: 14px;
}

.split-copy .check-list {
    margin-bottom: 0;
}

.split-copy > .btn,
.split-copy > .text-link {
    margin-top: 24px;
}

@media (min-width: 1024px) {
    .split {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        column-gap: clamp(48px, 7vw, 112px);
    }
}

/* a printed work order from the shop, torn off the pad; the shadow sits on the
   wrapper so it follows the torn edge */
.receipt {
    width: min(100%, 420px);
    justify-self: center;
    filter: drop-shadow(0 14px 24px rgba(16, 24, 40, 0.16)) drop-shadow(0 2px 3px rgba(16, 24, 40, 0.08));
    rotate: 1.5deg;
}

.receipt-paper {
    --paper-edge: 10px;
    padding: 26px 26px calc(24px + var(--paper-edge));
    border-radius: 3px 3px 0 0;
    background: #fff;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    /* the torn, zigzag bottom edge */
    -webkit-mask:
        linear-gradient(#000 0 0) top / 100% calc(100% - var(--paper-edge)) no-repeat,
        conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0) bottom / calc(var(--paper-edge) * 2) var(--paper-edge) repeat-x;
    mask:
        linear-gradient(#000 0 0) top / 100% calc(100% - var(--paper-edge)) no-repeat,
        conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0) bottom / calc(var(--paper-edge) * 2) var(--paper-edge) repeat-x;
}

.receipt-head {
    display: flex;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 2px dashed var(--line);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.receipt-head span {
    color: var(--muted);
    font-weight: 600;
}

.receipt-lines {
    display: grid;
    gap: 10px;
    padding-block: 18px;
    font-size: 0.9375rem;
}

/* dotted leaders between the item and its value */
.receipt-lines div {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.receipt-lines div::before {
    content: "";
    order: 1;
    flex: 1;
    border-bottom: 2px dotted #c9ced8;
}

.receipt-lines dd {
    order: 2;
    margin: 0;
    font-weight: 700;
}

.receipt-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 2px solid var(--ink);
    font-weight: 700;
}

.receipt-total strong {
    color: var(--red);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.receipt-note {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* a rubber stamp at the bottom, a little crooked */
.receipt-stamp {
    display: block;
    width: fit-content;
    margin: 16px 6px 0 auto;
    padding: 6px 10px;
    border: 2.5px solid currentColor;
    border-radius: 4px;
    color: rgba(188, 22, 34, 0.75);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    rotate: -7deg;
}

/* the chip types: the chart beside what each one means */
.chip-types {
    display: grid;
    gap: 36px;
    align-items: center;
}

.chip-types-chart {
    margin: 0;
    padding: clamp(14px, 3vw, 28px);
    border: 1px solid #d6e7f4;
    border-radius: var(--r-md);
    background: linear-gradient(150deg, #e6f1fb 0%, #ffffff 58%);
}

.chip-types-chart img {
    width: 100%;
}

.chip-types-list {
    display: grid;
    gap: 18px 28px;
}

.chip-types-list dt {
    color: var(--ink);
    font-weight: 700;
}

.chip-types-list dd {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .chip-types-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .chip-types {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: clamp(40px, 5vw, 72px);
    }
}

/* the steps of a job, along the road, with the intro pinned beside them */
.process {
    background: var(--mist);
}

.process .road-marker {
    box-shadow: 0 0 0 6px var(--mist);
}

.process-grid {
    display: grid;
    gap: 40px;
}

.process-intro h2 {
    margin-bottom: 14px;
}

.process-intro p {
    max-width: 40ch;
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 1.125rem;
}

.road-step {
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.road--down .road-step + h3 {
    padding-top: 2px;
}

@media (min-width: 900px) {
    /* service pages have more steps, so the road keeps running down the page */
    .road--down {
        grid-template-columns: none;
        gap: 36px;
    }

    .road--down::before {
        top: 8px;
        right: auto;
        bottom: 8px;
        left: 21px;
        width: 14px;
        height: auto;
    }

    .road--down::after {
        top: 18px;
        right: auto;
        bottom: 18px;
        left: 27px;
        width: 2px;
        height: auto;
        background: repeating-linear-gradient(180deg, #fff 0 14px, transparent 14px 26px);
    }

    .road--down .road-stop {
        padding-top: 0;
        padding-left: 84px;
    }

    .road--down .road-stop p:last-child {
        max-width: 52ch;
    }
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: clamp(48px, 6vw, 96px);
        align-items: start;
    }

    .process-intro {
        position: sticky;
        top: calc(var(--header-h) + 40px);
    }
}

/* two short notes on navy, like insurance and the guarantee */
.notes-band {
    --focus: #fff;
    background: var(--navy);
    color: var(--on-dark-muted);
}

.notes {
    display: grid;
    gap: 40px;
}

.note h3 {
    margin: 18px 0 10px;
    color: #fff;
    font-size: 1.375rem;
}

.note p {
    max-width: 52ch;
}

.notes-band a {
    color: #fff;
}

@media (min-width: 768px) {
    .notes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(32px, 6vw, 96px);
    }
}

.more-services {
    background: var(--mist);
}

/* a photo beside the words, with a short caption */
.split-photo {
    margin: 0;
}

.split-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--r-md);
}

.split-photo figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.9375rem;
}

/* the note the technician hands over with the keys: lined paper, pinned at the top */
.tech-note {
    position: relative;
    width: min(100%, 440px);
    justify-self: center;
    padding: 30px 28px 26px 48px;
    border-radius: 3px;
    background-color: #fffdf7;
    background-image:
        linear-gradient(90deg, transparent 33px, rgba(188, 22, 34, 0.35) 33px 35px, transparent 35px),
        repeating-linear-gradient(180deg, transparent 0 31px, #dfe5ee 31px 32px);
    background-position: 0 0, 0 18px;
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.14), 0 2px 4px rgba(16, 24, 40, 0.06);
    color: var(--ink);
    line-height: 32px;
    rotate: -1.2deg;
}

.tech-note::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ff7a82 0%, var(--red-light) 45%, #7d0d15 100%);
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.35);
    translate: -50% 0;
}

.tech-note h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 1.0625rem;
    line-height: 32px;
}

.tech-note h3 .icon {
    color: var(--red);
}

.tech-note ul {
    display: grid;
    list-style: disc;
    padding-left: 18px;
    font-size: 0.9375rem;
}

.tech-note li::marker {
    color: var(--red);
}

.tech-note-sign {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.875rem;
    font-style: italic;
}

/* two options side by side */
.glass-choice {
    background: var(--mist);
}

.compare {
    display: grid;
    gap: 20px;
}

.compare-card {
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
}

.compare-label {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 10px;
    border-radius: var(--r-sm);
    background: var(--navy);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.compare-card h3 {
    margin-bottom: 10px;
    font-size: 1.375rem;
}

.compare-card p {
    max-width: 48ch;
}

@media (min-width: 768px) {
    .compare {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}

/* less space above and below, for a short section like a row of cards */
.section--tight {
    padding-block: clamp(40px, 5vw, 72px);
}

/* a section on navy, for a change of pace between light ones */
.section--dark {
    --focus: #fff;
    background: var(--navy);
    color: var(--on-dark-muted);
}

.section--dark h2,
.section--dark h3 {
    color: #fff;
}

.section--dark .eyebrow {
    color: var(--glass-light);
}

.section--dark .split-photo {
    margin-top: 28px;
}

.section--dark .tech-note h3 {
    color: var(--ink);
}

/* Window tinting ------------------------------------------------------------ */

.films {
    display: grid;
    gap: 24px;
}

.film {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
}

/* a sample of the film on glass, with light catching it */
.film-swatch {
    position: relative;
    height: 150px;
    background:
        linear-gradient(112deg, transparent 30%, rgba(255, 255, 255, 0.16) 38%, rgba(255, 255, 255, 0.04) 46%, transparent 47%),
        linear-gradient(180deg, #3a3f47 0%, #24282e 100%);
}

.film--ceramic .film-swatch {
    background:
        linear-gradient(112deg, transparent 30%, rgba(214, 234, 250, 0.22) 38%, rgba(214, 234, 250, 0.05) 46%, transparent 47%),
        linear-gradient(180deg, #24324a 0%, #121a28 100%);
}

.film-tag {
    position: absolute;
    top: 18px;
    right: 16px;
}

.film-body {
    padding: clamp(22px, 3vw, 32px);
}

.film-body h3 {
    font-size: 1.5rem;
}

.film-tagline {
    margin-top: 4px;
    color: var(--muted);
}

.film .check-list li {
    font-size: 1rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .films {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}

/* the tint rules, on a car seen from above */
.tint-law {
    background: var(--mist);
}

.tint-map {
    display: grid;
    gap: 22px;
    justify-items: center;
    margin: 0;
}

.tint-map svg {
    width: min(100%, 210px);
    height: auto;
    overflow: visible;
}

.tint-map-body {
    fill: #fff;
    stroke: var(--navy);
    stroke-width: 2.5;
}

.tint-map-wheel {
    fill: var(--navy);
}

.tint-map-mirror {
    fill: #fff;
    stroke: var(--navy);
    stroke-width: 2.5;
}

.tint-map-label {
    fill: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.tint-map-roof {
    fill: #eef1f5;
}

.tint-map-clear {
    fill: #d9eaf7;
    stroke: var(--red);
    stroke-width: 2.5;
    stroke-dasharray: 5 4;
}

.tint-map-dark {
    fill: #1f2a3c;
}

.tint-key {
    display: grid;
    gap: 10px;
    font-size: 0.9375rem;
}

.tint-key li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
}

.tint-key span {
    flex: none;
    width: 26px;
    height: 18px;
    border-radius: 3px;
}

.tint-key-clear span {
    border: 2.5px dashed var(--red);
    background: #d9eaf7;
}

.tint-key-dark span {
    background: #1f2a3c;
}

/* what tint does: four short points */
.benefits {
    display: grid;
    gap: 32px;
}

.benefits h3 {
    margin: 16px 0 6px;
    font-size: 1.1875rem;
}

.benefits p {
    max-width: 38ch;
    color: var(--muted);
}

@media (min-width: 640px) {
    .benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .benefits {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 40px;
    }
}

/* ADAS calibration ---------------------------------------------------------- */

.system-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.system-list li {
    padding: 6px 12px;
    border-radius: var(--r-sm);
    background: var(--mist);
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 600;
}

/* a static calibration target on its stand: a checkerboard with a bullseye */
.adas-target {
    display: grid;
    justify-items: center;
    gap: 24px;
    margin: 0;
}

.adas-target-art {
    display: grid;
    justify-items: center;
    width: min(100%, 360px);
}

.adas-board {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    border: 10px solid #fff;
    border-radius: var(--r-sm);
    background: repeating-conic-gradient(var(--navy) 0 25%, #fff 0 50%) 50% 50% / 44px 44px;
    box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(16, 24, 40, 0.16);
}

.adas-bullseye {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--red) 0 7px, #fff 8px 15px, var(--red) 16px 23px, #fff 24px);
    box-shadow: 0 0 0 3px var(--red);
    translate: -50% -50%;
}

.adas-pole {
    display: block;
    width: 14px;
    height: 84px;
    background: linear-gradient(90deg, #8a93a3, #dfe4ec 45%, #8a93a3);
}

.adas-feet {
    display: block;
    width: 62%;
    height: 12px;
    border-radius: 6px;
    background: var(--navy);
}

.adas-target figcaption {
    max-width: 40ch;
    color: var(--muted);
    font-size: 0.9375rem;
    text-align: center;
}

/* a checklist on a card, one reason per line */
.check-list--card {
    margin: 0;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.check-list--card li + li {
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

/* About ------------------------------------------------------------------- */

/* the sign on the shop wall, screwed on at the corners */
.shop-sign {
    position: relative;
    width: min(100%, 470px);
    justify-self: center;
    border-radius: var(--r-sm);
    background: #fff;
    box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(16, 24, 40, 0.14);
}

.shop-sign::before,
.shop-sign::after {
    content: "";
    position: absolute;
    right: 10px;
    left: 10px;
    height: 10px;
    background:
        radial-gradient(circle at 5px 5px, #eef1f5 0 2.5px, #8a93a3 3px 4.5px, transparent 5px) left / 10px 10px no-repeat,
        radial-gradient(circle at 5px 5px, #eef1f5 0 2.5px, #8a93a3 3px 4.5px, transparent 5px) right / 10px 10px no-repeat;
}

.shop-sign::before {
    top: 10px;
}

.shop-sign::after {
    bottom: 10px;
}

.shop-sign-head {
    padding: 16px 28px;
    border-radius: var(--r-sm) var(--r-sm) 0 0;
    background: var(--red);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
}

.shop-rules {
    padding: 8px 28px 26px;
    counter-reset: rule;
}

.shop-rules li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 14px;
    padding-block: 13px;
    border-bottom: 1px dashed var(--line);
    counter-increment: rule;
}

.shop-rules li:last-child {
    border-bottom: 0;
}

.shop-rules li::before {
    content: counter(rule);
    display: grid;
    grid-row: span 2;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 800;
}

.shop-rules strong {
    color: var(--ink);
}

.shop-rules span {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Gallery page ------------------------------------------------------------ */

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

html:not(.js) .gallery-filters {
    display: none;
}

.gallery-filters button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: #fff;
    color: var(--ink);
    font-weight: 600;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.gallery-filters button:hover {
    border-color: var(--ink);
}

.gallery-filters button[aria-pressed="true"] {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}

.gallery-filters span {
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 500;
}

.gallery-filters [aria-pressed="true"] span {
    color: var(--on-dark-muted);
}

/* the photos keep their own shapes, like prints laid out on a table */
.photo-wall {
    columns: 2;
    column-gap: 12px;
}

.photo-wall-item {
    break-inside: avoid;
    margin-bottom: 12px;
}

.photo-wall-item[hidden] {
    display: none;
}

.photo-wall-item a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--r-md);
    background: var(--mist);
    color: #fff;
    cursor: zoom-in;
}

.photo-wall-item img {
    width: 100%;
}

.photo-wall-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 40px 14px 12px;
    background: linear-gradient(rgba(10, 16, 28, 0), rgba(10, 16, 28, 0.85));
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
}

@media (min-width: 768px) {
    .photo-wall {
        columns: 3;
        column-gap: 16px;
    }

    .photo-wall-item {
        margin-bottom: 16px;
    }

    .photo-wall-caption {
        padding: 56px 18px 16px;
        font-size: 0.875rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .photo-wall-item img {
        transition: scale 0.6s var(--ease);
    }

    .photo-wall-item a:hover img {
        scale: 1.04;
    }
}

/* a call to send a photo, between sections */
.cta-band {
    background: var(--mist);
}

.cta-band-inner {
    display: grid;
    gap: 24px;
    align-items: center;
}

.cta-band h2 {
    margin-bottom: 10px;
}

.cta-band p {
    max-width: 52ch;
    color: var(--muted);
    font-size: 1.125rem;
}

.cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
}

@media (min-width: 1024px) {
    .cta-band-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 48px;
    }
}

/* Contact page ------------------------------------------------------------ */

.contact-cards {
    display: grid;
    gap: 16px;
}

.contact-card {
    display: grid;
    gap: 4px;
    height: 100%;
    padding: 26px 24px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, translate 0.2s ease;
}

.contact-card:hover {
    border-color: var(--red);
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.1);
    translate: 0 -2px;
}

.contact-card .glass-icon {
    margin-bottom: 14px;
}

.contact-card-label {
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-card strong {
    font-size: 1.1875rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.contact-card-note {
    color: var(--muted);
    font-size: 0.9375rem;
}

@media (min-width: 640px) {
    .contact-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .contact-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* the map beside the address and hours */
.visit-grid {
    display: grid;
    gap: 40px;
}

.visit-map {
    overflow: hidden;
    min-height: 320px;
    border-radius: var(--r-md);
    background: var(--navy-deep);
}

.visit-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

.visit-info h2 {
    margin-bottom: 12px;
}

.visit-address-lg {
    margin: 18px 0 22px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.visit-hours-title {
    margin-top: 36px;
    font-size: 1.125rem;
}

.visit-section .hours {
    margin-top: 6px;
}

.visit-note {
    margin-top: 16px;
    font-size: 0.9375rem;
}

@media (min-width: 1024px) {
    .visit-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        gap: clamp(40px, 5vw, 80px);
        align-items: stretch;
    }

    .visit-map,
    .visit-map iframe {
        min-height: 520px;
    }
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
    --focus: #fff;
    position: relative;
    background: var(--navy-deep);
    color: var(--on-dark-muted);
    font-size: 1rem;
}

/* the footer's top edge breaks into frit dots over the section above it */
.site-footer::before {
    --frit-ink: var(--navy-deep);
    --frit-paper: transparent;
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    transform: scaleY(-1);
    pointer-events: none;
}

/* the call to action: the number with WhatsApp and the quote button beside it */
.footer-call-label {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.footer-phone {
    display: inline-block;
    margin-top: 2px;
    color: #fff;
    font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-phone:hover {
    color: var(--red-light);
}

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

.footer-call .shop-status {
    margin: 14px 0 0;
}

.site-footer .text-link {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.35);
}

.site-footer .text-link:hover {
    text-decoration-color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
    padding-block: clamp(48px, 6vw, 72px);
}

.footer-brand,
.footer-call,
.footer-find {
    grid-column: 1 / -1;
}

.footer-brand .brand img {
    height: 52px;
}

.footer-brand p {
    max-width: 38ch;
    margin-top: 18px;
}

.social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.social a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transition: background-color 0.2s ease;
}

.social a:hover {
    background: var(--red);
}

.social .icon {
    width: 22px;
    height: 22px;
}

.footer-title {
    margin-bottom: 16px;
    color: #fff;
    font-size: 1rem;
}

.footer-col ul {
    display: grid;
    gap: 10px;
}

.footer-col a {
    color: var(--on-dark-muted);
    text-decoration: none;
}

.footer-col a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-map {
    height: 180px;
    overflow: hidden;
    border: 1px solid var(--line-on-dark);
    border-radius: var(--r-md);
    background: var(--navy);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.35);
}

.footer-find-details {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    font-size: 0.9375rem;
}

.footer-find-details a {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    padding-block: 22px;
    border-top: 1px solid var(--line-on-dark);
    font-size: 0.9375rem;
}

.footer-credit a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.back-to-top .icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.back-to-top:hover .icon {
    transform: translateY(-3px);
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.4fr);
    }

    .footer-brand {
        grid-column: auto;
    }

    /* the call row sits under brand, services and company, with the map column beside both rows */
    .footer-call {
        grid-column: 1 / 4;
        grid-row: 2;
    }

    .footer-find {
        grid-column: 4;
        grid-row: 1 / 3;
    }
}

/* leave room for the call bar on phones */
@media (max-width: 767.98px) {
    .footer-bottom {
        padding-bottom: calc(96px + env(safe-area-inset-bottom));
    }
}

/* Mobile call bar --------------------------------------------------------- */

.mobile-cta {
    --focus: #fff;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--red);
    box-shadow: 0 -8px 24px rgba(90, 8, 14, 0.25);
    visibility: hidden;
    transform: translateY(105%);
    transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
}

.mobile-cta.is-visible {
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

body.menu-open .mobile-cta {
    visibility: hidden;
    transform: translateY(105%);
}

.mobile-cta .btn {
    min-height: 50px;
    padding-inline: 0.8em;
}

@media (min-width: 768px) {
    .mobile-cta {
        display: none;
    }
}

/* Motion ------------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
    /* The headline and photo are never faded from zero, so they count as the
       page's main paint for Google's speed scores. Only the details rise in. */
    .hero .shop-status,
    .hero-lead,
    .hero-actions {
        animation: rise 0.7s var(--ease) both;
    }

    .hero-lead {
        animation-delay: 0.08s;
    }

    .hero-actions {
        animation-delay: 0.16s;
    }

    .service:hover .service-media::after {
        animation: glint 0.9s ease-in-out;
    }

    /* the makes run past in a loop; two copies make it seamless */
    .makes-marquee {
        padding-inline: 0;
        overflow: hidden;
    }

    .makes-track,
    .makes-track[aria-hidden="true"] {
        display: flex;
        flex: none;
        flex-wrap: nowrap;
        min-width: 100%;
        animation: marquee 60s linear infinite;
    }

    .makes-marquee:hover .makes-track {
        animation-play-state: paused;
    }

    /* the open-now dot pulses because it is live information */
    .shop-status.is-open .status-dot::after {
        content: "";
        position: absolute;
        inset: -4px;
        border: 2px solid var(--open);
        border-radius: 50%;
        opacity: 0;
        animation: ping 2.4s ease-out infinite;
    }

    .js [data-reveal] {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
        transition-delay: calc(var(--d, 0) * 90ms);
    }

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

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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


@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes glint {
    from {
        transform: translateX(-130%);
    }

    to {
        transform: translateX(130%);
    }
}

@keyframes ping {
    0% {
        opacity: 0.7;
        transform: scale(0.6);
    }

    80%,
    100% {
        opacity: 0;
        transform: scale(1.7);
    }
}
