﻿/* Page-level styles only. Shared styles belong in tyresmart-components.css. */

.mobile-fitting-page .split-feature {
    padding-block: clamp(2rem, 3vw, 3rem) var(--ts-section-space);
}

.mobile-fitting-page .split-feature__content {
    padding-top: 1rem;
}

    .mobile-fitting-page .split-feature__content p {
        color: var(--ts-green);
    }

    .mobile-fitting-page .split-feature__content .ts-muted {
        color: var(--ts-grey-300);
    }

/* Mobile tyre fitting page alignment */

.mobile-fitting-page .page-banner__inner {
    padding-inline: clamp(1.75rem, 1.8vw, 2.25rem);
}

.mobile-fitting-page .page-banner__subtitle {
    margin-top: .8rem;
    font-family: var(--ts-font-ui);
    font-size: .55rem;
    letter-spacing: .42em;
    text-transform: uppercase;
}

/* ================================================================
   WHEEL ALIGNMENT PAGE
   ================================================================ */

.wheel-alignment-page {
    background: #000;
}

/* Wheel Alignment heading/status strip */

.alignment-banner {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(57,255,20,.30);
    border-bottom: 1px solid #111;
    background: #000;
    font-family: var(--ts-font-secondary);
}

.alignment-banner__scan {
    position: absolute;
    z-index: 3;
    right: 0;
    left: 0;
    height: 1px;
    pointer-events: none;
    background: linear-gradient( 90deg, transparent 0%, rgba(57,255,20,.5) 50%, transparent 100% );
    animation: ts-alignment-scan 3s ease-in-out infinite;
}

.alignment-banner__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 3rem;
    min-height: 8rem;
    padding-block: 1.1rem .85rem;
}

.alignment-banner__heading {
    min-width: 0;
}

.alignment-banner .ts-eyebrow {
    color: rgba(57,255,20,.4);
    font-family: var(--ts-font-ui);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

    .alignment-banner .ts-eyebrow::before {
        width: 24px;
        opacity: .5;
    }

.alignment-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .15em;
    margin: .55rem 0 0;
    font-family: var(--ts-font-heading);
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.alignment-title__accent {
    color: #39ff14;
    animation: ts-alignment-title-left .7s cubic-bezier(.23,1,.32,1) .2s both;
}

.alignment-title__light {
    color: #fff;
    animation: ts-alignment-title-right .7s cubic-bezier(.23,1,.32,1) .3s both;
}

.alignment-banner__tech {
    margin-top: .65rem;
    color: rgba(255,255,255,.16);
    font-family: var(--ts-font-ui);
    font-size: 7px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Animated Hunter-style alignment indicators */

.alignment-indicators {
    display: flex;
    min-width: 175px;
    flex-direction: column;
    gap: 8px;
    padding-right: .35rem;
}

.alignment-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.alignment-indicator__label {
    width: 44px;
    flex: 0 0 44px;
    color: rgba(255,255,255,.20);
    font-family: var(--ts-font-ui);
    font-size: 7px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.alignment-indicator__track {
    position: relative;
    display: block;
    width: 100px;
    height: 2px;
    flex: 0 0 100px;
    overflow: visible;
    background: #111;
}

.alignment-indicator__centre {
    position: absolute;
    top: -2px;
    left: 50%;
    width: 1px;
    height: 7px;
    background: rgba(57,255,20,.25);
}

.alignment-indicator__before,
.alignment-indicator__after {
    position: absolute;
    top: 0;
    height: 2px;
    opacity: 0;
}

.alignment-indicator__before {
    right: 50%;
    background: #ff4444;
    animation: ts-alignment-before .8s cubic-bezier(.23,1,.32,1) forwards;
}

.alignment-indicator__after {
    left: 50%;
    background: #39ff14;
    animation: ts-alignment-after .8s cubic-bezier(.23,1,.32,1) forwards;
}

.alignment-indicator__before--toe {
    --alignment-width: 28%;
    animation-delay: .8s;
}

.alignment-indicator__after--toe {
    animation-delay: 1.6s;
}

.alignment-indicator__before--camber {
    --alignment-width: 18%;
    animation-delay: 1s;
}

.alignment-indicator__after--camber {
    animation-delay: 1.8s;
}

.alignment-indicator__before--caster {
    --alignment-width: 35%;
    animation-delay: 1.2s;
}

.alignment-indicator__after--caster {
    animation-delay: 2s;
}

.alignment-indicator__tick {
    color: #39ff14;
    font-family: var(--ts-font-secondary);
    font-size: 9px;
    line-height: 1;
    opacity: 0;
    animation: ts-alignment-fade .3s ease 1.8s forwards;
}

.alignment-indicator:nth-child(2) .alignment-indicator__tick {
    animation-delay: 2s;
}

.alignment-indicator:nth-child(3) .alignment-indicator__tick {
    animation-delay: 2.2s;
}

.alignment-indicators__status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: rgba(57,255,20,.5);
    font-family: var(--ts-font-ui);
    font-size: 7px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.alignment-indicators__dot {
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: #39ff14;
    animation: ts-alignment-dot 1.5s ease-in-out infinite;
}

/* Main Wheel Alignment content */

.wheel-alignment-intro {
    padding-block: 0 var(--ts-section-space);
}

    .wheel-alignment-intro.split-feature {
        grid-template-columns: minmax(0, 1.68fr) minmax(18rem, .92fr);
        align-items: center;
        gap: var(--ts-grid-gap);
    }

    .wheel-alignment-intro .split-feature__media {
        margin-top: 0;
    }

.wheel-alignment-copy {
    align-self: center;
}

    .wheel-alignment-copy p {
        color: #39ff14;
    }

        .wheel-alignment-copy p:first-child {
            color: #00ff22;
        }

.wheel-alignment-gallery,
.wheel-alignment-hunter {
    background: #000;
}

.wheel-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.65rem, 1.25vw, 1.25rem);
}

    .wheel-gallery-grid figure,
    .wheel-hunter-grid figure {
        margin: 0;
        overflow: hidden;
        background: #080808;
    }

    .wheel-gallery-grid img,
    .wheel-hunter-grid img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .35s ease, opacity .35s ease;
    }

    .wheel-gallery-grid img {
        aspect-ratio: 3 / 2;
    }

    .wheel-gallery-grid figure:hover img,
    .wheel-hunter-grid figure:hover img {
        transform: scale(1.025);
        opacity: .92;
    }

.wheel-hunter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 2rem);
}

    .wheel-hunter-grid img {
        aspect-ratio: 3 / 2;
    }

/* Motion */

@keyframes ts-alignment-scan {
    0% {
        top: -1px;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes ts-alignment-title-left {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

@keyframes ts-alignment-title-right {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

@keyframes ts-alignment-before {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: var(--alignment-width);
        opacity: 1;
    }
}

@keyframes ts-alignment-after {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 50%;
        opacity: 1;
    }
}

@keyframes ts-alignment-fade {
    to {
        opacity: 1;
    }
}

@keyframes ts-alignment-dot {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

@media (max-width: 991.98px) {
    .alignment-banner__inner {
        align-items: flex-end;
    }

    .wheel-alignment-intro.split-feature {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 575.98px) {
    .alignment-banner__inner {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .alignment-indicators {
        width: 100%;
        margin-top: .5rem;
    }

    .wheel-gallery-grid,
    .wheel-hunter-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .alignment-banner__scan,
    .alignment-title__accent,
    .alignment-title__light,
    .alignment-indicator__before,
    .alignment-indicator__after,
    .alignment-indicator__tick,
    .alignment-indicators__dot {
        animation: none;
        opacity: 1;
    }
}

/* ========================================================================
   WHEEL ALIGNMENT - Squarespace layout fidelity pass
   ======================================================================== */

@media (min-width: 992px) {
    .wheel-alignment-page .alignment-banner__inner {
        padding-inline: 4vw;
    }

    .wheel-alignment-intro {
        padding-top: .75rem;
        padding-right: 4vw;
        padding-bottom: clamp(1.5rem, 2.5vw, 2.75rem);
        padding-left: 4vw;
    }

        .wheel-alignment-intro.split-feature {
            grid-template-columns: minmax(0, 1.47fr) minmax(0, 1fr);
            gap: clamp(6rem, 7.8vw, 9rem);
        }

    .wheel-alignment-copy {
        max-width: 37rem;
        padding-top: .5rem;
        font-size: clamp(1.02rem, .9rem + .18vw, 1.18rem);
        line-height: 1.72;
    }

        .wheel-alignment-copy.prose > * + * {
            margin-top: 1.25rem;
        }
}

/* Scrolling vehicle gallery copied from the original Squarespace concept */

.wa-scroll-gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 0 clamp(2rem, 3vw, 3.5rem);
    background: #000;
}

.wa-scroll-gallery__track {
    display: flex;
    width: max-content;
    gap: 4px;
    animation: wa-gallery-scroll 25s linear infinite;
}

    .wa-scroll-gallery__track:hover {
        animation-play-state: paused;
    }

.wa-scroll-gallery__tile {
    position: relative;
    width: 280px;
    height: 200px;
    flex: 0 0 280px;
    overflow: hidden;
    background: #050505;
}

    .wa-scroll-gallery__tile img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

    .wa-scroll-gallery__tile:hover img {
        transform: scale(1.06);
    }

    .wa-scroll-gallery__tile::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 2px;
        transform: scaleX(0);
        transform-origin: left;
        background: #39ff14;
        transition: transform .3s ease;
    }

    .wa-scroll-gallery__tile:hover::after {
        transform: scaleX(1);
    }

@keyframes wa-gallery-scroll {
    from {
        transform: translateX(0);
    }

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

/* Two images placed side-by-side as on Squarespace */

.wa-two-image-section {
    padding-top: clamp(2rem, 4vw, 4.5rem);
    padding-bottom: 0;
    background: #000;
}

.wa-two-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    max-width: 1160px;
}

    .wa-two-image-grid figure {
        margin: 0;
    }

    .wa-two-image-grid img {
        display: block;
        width: 100%;
        aspect-ratio: 1.5;
        object-fit: cover;
    }

/* Full printout message from the original Squarespace code block */

.wa-printout {
    padding: 3rem 2rem 3.25rem;
    background: #000;
    font-family: var(--ts-font-secondary);
}

.wa-printout__inner {
    display: flex;
    max-width: 600px;
    margin-inline: auto;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    text-align: center;
}

.wa-printout__divider {
    width: 40px;
    height: 1px;
    margin: .15rem 0 .35rem;
    background: #39ff14;
    opacity: .4;
}

.wa-printout__line1,
.wa-printout__line3 {
    color: #39ff14;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.9;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.wa-printout__line2 {
    margin-block: .15rem .2rem;
    color: #39ff14;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    text-transform: uppercase;
}

/* Lower alignment images */

.wa-lower-image {
    padding-block: 0 clamp(2rem, 3vw, 3.5rem);
    background: #000;
}

.wa-lower-image__inner {
    max-width: 925px;
}

    .wa-lower-image__inner img {
        display: block;
        width: 100%;
        height: auto;
    }

.wa-lower-image--last {
    padding-top: clamp(.5rem, 1.5vw, 1.5rem);
    padding-bottom: clamp(3rem, 6vw, 6rem);
}

@media (max-width: 991.98px) {
    .wheel-alignment-intro {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    .wheel-alignment-copy {
        line-height: 1.65;
    }

    .wa-two-image-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .wa-scroll-gallery__tile {
        width: 220px;
        height: 157px;
        flex-basis: 220px;
    }

    .wa-printout {
        padding-inline: 1.25rem;
    }

    .wa-printout__line1,
    .wa-printout__line3 {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .wa-printout__line2 {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa-scroll-gallery__track {
        animation: none;
    }
}

/* ========================================================================
   WHEEL ALIGNMENT BANNER - Squarespace fidelity override
   ======================================================================== */

@media (min-width: 992px) {
    .wheel-alignment-page .alignment-banner__inner {
        width: 100%;
        max-width: none;
        min-height: 8.7rem;
        justify-content: flex-start;
        padding-top: 1.05rem;
        padding-right: 1.35rem;
        padding-bottom: 1.35rem;
        padding-left: 1.45rem;
    }

    .alignment-banner__heading {
        align-self: flex-start;
    }

    .alignment-banner .ts-eyebrow {
        margin-bottom: .8rem;
    }

    .alignment-title {
        gap: .12em;
        font-size: clamp(34px, 2.45vw, 46px);
        font-weight: 900;
        line-height: .92;
        letter-spacing: -1.6px;
    }

    .alignment-title__accent,
    .alignment-title__light {
        font-family: var(--ts-font-heading);
        font-weight: 900;
    }

    .alignment-banner__tech {
        margin-top: .75rem;
        font-size: 6px;
        letter-spacing: 2.1px;
    }

    .alignment-indicators {
        position: absolute;
        top: 1rem;
        right: 1.25rem;
        min-width: 175px;
        padding-right: 0;
    }
}

/* ========================================================================
   WHEEL ALIGNMENT BANNER - remove static top rule
   Squarespace uses the animated scan only; there is no permanent green line.
   ======================================================================== */

.alignment-banner {
    border-top: 0;
}

/* ========================================================================
   WHEEL BALANCING PAGE
   Uses generic .service-tech-* and .service-detail components.
   ======================================================================== */

.wheel-balancing-page {
    background: #000;
}

    .wheel-balancing-page .service-tech-banner {
        /* Squarespace balancing block includes a moving scan; keep it subtle. */
        border-top: 0;
    }

    .wheel-balancing-page .service-tech-banner__scan {
        position: absolute;
        z-index: 3;
        right: 0;
        left: 0;
        height: 1px;
        pointer-events: none;
        background: linear-gradient(90deg, transparent, rgba(57,255,20,.5), transparent);
        animation: wb-service-scan 3s ease-in-out infinite;
    }

    .wheel-balancing-page .media-frame {
        border-color: #b7ffb8;
    }

.wheel-balancing-location-section {
    display: grid;
    grid-template-columns: minmax(16rem, .55fr) minmax(0, 1.45fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 8rem);
    padding-block: clamp(2.5rem, 5vw, 5.5rem);
}

.service-location-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    gap: 1rem;
    color: inherit;
    font-family: var(--ts-font-secondary);
    text-align: center;
    text-decoration: none;
}

.service-location-card__pin {
    position: relative;
    display: flex;
    width: 140px;
    height: 140px;
    align-items: center;
    justify-content: center;
}

.service-location-card__ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(57,255,20,.3);
    border-radius: 50%;
    animation: service-location-ring 2s ease-out infinite;
}

    .service-location-card__ring:nth-child(2) {
        animation-delay: .7s;
    }

    .service-location-card__ring:nth-child(3) {
        animation-delay: 1.4s;
    }

.service-location-card__circle {
    position: relative;
    z-index: 2;
    display: flex;
    width: 110px;
    height: 110px;
    align-items: center;
    justify-content: center;
    border: 2px solid #39ff14;
    border-radius: 50%;
    background: #000;
    box-shadow: 0 0 25px rgba(57,255,20,.22);
}

    .service-location-card__circle svg {
        width: 48px;
        height: 48px;
        fill: #39ff14;
    }

.service-location-card__label {
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.service-location-card__address {
    color: #444;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.service-location-card__button {
    padding: 8px 20px;
    background: #39ff14;
    color: #000;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.wheel-balancing-location-section__image img {
    display: block;
    width: 100%;
    height: auto;
}

.wheel-balancing-damage {
    padding-bottom: clamp(3rem, 6vw, 6rem);
}

    .wheel-balancing-damage .service-detail {
        padding-top: clamp(2rem, 4vw, 4.5rem);
    }

@keyframes wb-service-scan {
    0% {
        top: -1px;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes service-location-ring {
    from {
        transform: scale(.8);
        opacity: .8;
    }

    to {
        transform: scale(1.4);
        opacity: 0;
    }
}

@media (max-width: 991.98px) {
    .wheel-balancing-location-section {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wheel-balancing-page .service-tech-banner__scan,
    .service-location-card__ring {
        animation: none;
    }
}

/* ========================================================================
   WHEEL ALIGNMENT - shared service-tech animation compatibility
   Restores animation after the alignment page was refactored from
   .alignment-* names to the shared .service-tech-* design-system names.
   No scan line is used.
   ======================================================================== */

.service-tech--alignment .service-tech-banner__scan {
    display: none !important;
    animation: none !important;
    background: none !important;
}

/* Re-run the title entrance on the shared title spans */

.service-tech--alignment .service-tech-title__accent {
    animation: ts-service-alignment-title-left .7s cubic-bezier(.23,1,.32,1) .2s both;
}

.service-tech--alignment .service-tech-title__light {
    animation: ts-service-alignment-title-right .7s cubic-bezier(.23,1,.32,1) .3s both;
}

/* Alignment meter tracks need to allow the centre marker to protrude */

.service-tech--alignment .service-tech-meter__track {
    overflow: visible;
}

    /* Centre datum */

    .service-tech--alignment .service-tech-meter__track::after {
        content: "";
        position: absolute;
        top: -2px;
        left: 50%;
        width: 1px;
        height: 7px;
        background: rgba(57,255,20,.25);
    }

/* Start with both bars hidden, then animate into place */

.service-tech--alignment .service-tech-meter__red,
.service-tech--alignment .service-tech-meter__green {
    opacity: 0;
}

.service-tech--alignment .service-tech-meter__red {
    right: 50%;
    left: auto;
    width: 0;
    background: #ff4444;
    animation: ts-service-alignment-red .8s cubic-bezier(.23,1,.32,1) forwards;
}

.service-tech--alignment .service-tech-meter__green {
    left: 50%;
    width: 0;
    background: #39ff14;
    animation: ts-service-alignment-green .8s cubic-bezier(.23,1,.32,1) forwards;
}

/* Toe */

.service-tech--alignment .service-tech-meter:nth-child(1) .service-tech-meter__red {
    --alignment-red-width: 28%;
    animation-delay: .8s;
}

.service-tech--alignment .service-tech-meter:nth-child(1) .service-tech-meter__green {
    animation-delay: 1.6s;
}

/* Camber */

.service-tech--alignment .service-tech-meter:nth-child(2) .service-tech-meter__red {
    --alignment-red-width: 18%;
    animation-delay: 1s;
}

.service-tech--alignment .service-tech-meter:nth-child(2) .service-tech-meter__green {
    animation-delay: 1.8s;
}

/* Caster */

.service-tech--alignment .service-tech-meter:nth-child(3) .service-tech-meter__red {
    --alignment-red-width: 35%;
    animation-delay: 1.2s;
}

.service-tech--alignment .service-tech-meter:nth-child(3) .service-tech-meter__green {
    animation-delay: 2s;
}

/* Ticks appear after each bar finishes */

.service-tech--alignment .service-tech-meter__tick {
    opacity: 0;
    animation: ts-service-alignment-fade .3s ease forwards;
}

.service-tech--alignment .service-tech-meter:nth-child(1) .service-tech-meter__tick {
    animation-delay: 1.8s;
}

.service-tech--alignment .service-tech-meter:nth-child(2) .service-tech-meter__tick {
    animation-delay: 2s;
}

.service-tech--alignment .service-tech-meter:nth-child(3) .service-tech-meter__tick {
    animation-delay: 2.2s;
}

/* ALIGNED status pulse */

.service-tech--alignment .service-tech-statusline::before {
    animation: ts-service-alignment-dot 1.5s ease-in-out infinite;
}

@keyframes ts-service-alignment-title-left {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ts-service-alignment-title-right {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ts-service-alignment-red {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: var(--alignment-red-width);
        opacity: 1;
    }
}

@keyframes ts-service-alignment-green {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 50%;
        opacity: 1;
    }
}

@keyframes ts-service-alignment-fade {
    to {
        opacity: 1;
    }
}

@keyframes ts-service-alignment-dot {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-tech--alignment .service-tech-title__accent,
    .service-tech--alignment .service-tech-title__light,
    .service-tech--alignment .service-tech-meter__red,
    .service-tech--alignment .service-tech-meter__green,
    .service-tech--alignment .service-tech-meter__tick,
    .service-tech--alignment .service-tech-statusline::before {
        animation: none;
        opacity: 1;
    }

    .service-tech--alignment .service-tech-meter__red {
        width: var(--alignment-red-width);
    }

    .service-tech--alignment .service-tech-meter__green {
        width: 50%;
    }
}

/* ========================================================================
   WHEEL ALIGNMENT - restore moving scan line only
   Keeps the permanent top border removed.
   ======================================================================== */

.service-tech--alignment {
    border-top: none !important;
}

    .service-tech--alignment .service-tech-banner__scan {
        display: block !important;
        position: absolute;
        z-index: 3;
        right: 0;
        left: 0;
        height: 1px;
        pointer-events: none;
        background: linear-gradient( 90deg, transparent 0%, rgba(57,255,20,.45) 50%, transparent 100% ) !important;
        animation: ts-service-alignment-scan 3s ease-in-out infinite !important;
    }

@keyframes ts-service-alignment-scan {
    0% {
        top: 0;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-tech--alignment .service-tech-banner__scan {
        display: none !important;
        animation: none !important;
    }
}

/* ========================================================================
   WHEEL BALANCING - Pot Holes Squarespace fidelity
   Original Squarespace:
   - 3s top-to-bottom green scan
   - POT slides from left, HOLES from right
   - desktop image block approximately 45.83vw wide
   ======================================================================== */

/* The scan is generated with CSS, so WheelBalancing.aspx needs no extra element. */

.wheel-balancing-page .service-feature-banner::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: -1px;
    right: 0;
    left: 0;
    height: 1px;
    pointer-events: none;
    background: linear-gradient( 90deg, transparent 0%, rgba(57,255,20,.5) 50%, transparent 100% );
    animation: wb-pothole-scan 3s ease-in-out infinite;
}

.wheel-balancing-page .service-feature-banner__title-accent {
    animation: wb-pothole-title-left .7s cubic-bezier(.23,1,.32,1) .2s both;
}

.wheel-balancing-page .service-feature-banner__title-light {
    animation: wb-pothole-title-right .7s cubic-bezier(.23,1,.32,1) .5s both;
}

/* Match the original ph-content block. */

.wheel-balancing-page .service-feature-banner__inner {
    position: relative;
    z-index: 2;
    gap: .5rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #111;
}

.wheel-balancing-page .service-feature-banner__eyebrow {
    gap: 8px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 4px;
}

.wheel-balancing-page .service-feature-banner__title {
    gap: .5rem;
    font-size: clamp(38px, 7vw, 60px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
}

/*
   Squarespace reports the desktop image at 45.83vw.
   Keep the same approximate width rather than allowing the generic
   service-detail grid to grow the image beyond half the viewport.
*/

@media (min-width: 992px) {
    .wheel-balancing-damage .service-detail {
        width: 100%;
        max-width: none;
        grid-template-columns: minmax(0, 45.83vw) minmax(18rem, 1fr);
        align-items: center;
        gap: clamp(3.75rem, 4.6vw, 5.5rem);
        padding-top: clamp(3.9rem, 4.4vw, 5rem);
        padding-right: clamp(4rem, 7vw, 8.5rem);
        padding-bottom: clamp(3.5rem, 5vw, 6rem);
        padding-left: clamp(3rem, 6.5vw, 7.75rem);
    }

        .wheel-balancing-damage .service-detail .split-feature__media {
            width: 100%;
            max-width: none;
            justify-self: start;
        }

    .wheel-balancing-damage .service-detail__copy {
        width: 100%;
        max-width: 36rem;
        justify-self: start;
        padding-top: 0;
        font-size: clamp(1rem, .9rem + .18vw, 1.15rem);
        line-height: 1.65;
    }
}

@keyframes wb-pothole-scan {
    0% {
        top: -1px;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes wb-pothole-title-left {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes wb-pothole-title-right {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 991.98px) {
    .wheel-balancing-damage .service-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-inline: var(--ts-page-gutter);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wheel-balancing-page .service-feature-banner::before {
        display: none;
        animation: none;
    }

    .wheel-balancing-page .service-feature-banner__title-accent,
    .wheel-balancing-page .service-feature-banner__title-light {
        animation: none;
    }
}

/* ========================================================================
   MOBILE TYRE FITTING PAGE
   Page-only geometry. Shared banner/callout styles live in
   tyresmart-components.css.
   ======================================================================== */

.mobile-fitting-page {
    background: #000;
}

    .mobile-fitting-page .service-detail {
        padding-top: clamp(1rem, 2vw, 2rem);
    }

    .mobile-fitting-page .service-detail__copy p {
        color: #00ff08;
    }

    .mobile-fitting-page .service-callout-row {
        display: flex;
        justify-content: flex-end;
        margin-top: clamp(1.5rem, 3vw, 3rem);
    }

.mobile-fitting-secondary {
    padding-top: clamp(2rem, 5vw, 5rem);
    padding-bottom: clamp(3rem, 6vw, 6rem);
}

    .mobile-fitting-secondary .service-wide-media {
        width: min(70.83vw, 1180px);
        margin-inline: auto;
    }

@media (max-width: 991.98px) {
    .mobile-fitting-page .service-callout-row {
        justify-content: flex-start;
    }

    .mobile-fitting-secondary .service-wide-media {
        width: 100%;
    }
}

/* ========================================================================
   MOBILE TYRE FITTING - Squarespace fidelity pass
   ======================================================================== */

/* Make sure the shared scan is active on the mobile service banner. */

.service-tech--mobile .service-tech-banner__scan {
    display: block !important;
    background: linear-gradient( 90deg, transparent 0%, rgba(57,255,20,.5) 50%, transparent 100% ) !important;
    animation: service-tech-scan 3s ease-in-out infinite !important;
}

/*
   Main image/copy proportions. The Squarespace screenshot places the image
   at roughly half the viewport and keeps the copy narrower on the right.
*/

@media (min-width: 992px) {
    .mobile-fitting-page .service-detail {
        width: 100%;
        max-width: none;
        grid-template-columns: minmax(0, 49.5vw) minmax(20rem, 1fr);
        gap: clamp(6rem, 7.5vw, 9rem);
        padding-top: 1.25rem;
        padding-right: clamp(2rem, 3vw, 3.5rem);
        padding-bottom: clamp(1.5rem, 2.5vw, 2.75rem);
        padding-left: clamp(1.5rem, 1.75vw, 2rem);
    }

    .mobile-fitting-page .service-detail__copy {
        max-width: 28rem;
        justify-self: start;
        padding-top: .25rem;
        line-height: 1.62;
    }

        .mobile-fitting-page .service-detail__copy.prose > * + * {
            margin-top: 1.35rem;
        }
}

/*
   Lower Squarespace composition:
   - call panel sits independently on the left
   - the 9DSC03309 image begins around 39vw
   - image width is approximately 70.83vw and extends toward/off the right edge
*/

.mobile-fitting-lower {
    width: 100%;
    overflow: hidden;
    background: #000;
}

.mobile-fitting-lower__grid {
    display: grid;
    grid-template-columns: minmax(18rem, 28vw) 70.83vw;
    align-items: center;
    gap: 2vw;
    width: max-content;
    padding-top: clamp(2rem, 3.2vw, 3.25rem);
    padding-bottom: clamp(3rem, 5vw, 5.5rem);
    padding-left: 9vw;
}

.mobile-fitting-lower__call {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.mobile-fitting-lower__media {
    width: 70.83vw;
    margin: 0;
}

    .mobile-fitting-lower__media img {
        display: block;
        width: 100%;
        height: auto;
    }

/* Keep the source callout dimensions rather than stretching it. */

.mobile-fitting-lower .service-callout {
    width: auto;
    min-width: 0;
    max-width: none;
    justify-self: center;
}

/* The first version's separate centred secondary block is no longer used. */

.mobile-fitting-secondary {
    display: none;
}

@media (max-width: 991.98px) {
    .mobile-fitting-lower__grid {
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 2rem;
        padding: 2.5rem var(--ts-page-gutter) 4rem;
    }

    .mobile-fitting-lower__call {
        width: 100%;
        justify-content: flex-start;
    }

    .mobile-fitting-lower__media {
        width: 100%;
    }
}

/* ========================================================================
   MOBILE TYRE FITTING - lower layout final desktop correction
   Keeps the second image fully visible and matches the Squarespace screenshot.
   ======================================================================== */

@media (min-width: 992px) {
    .mobile-fitting-lower {
        overflow: hidden;
    }

    .mobile-fitting-lower__grid {
        display: grid;
        grid-template-columns: minmax(300px, 20vw) minmax(0, 53vw);
        align-items: center;
        gap: 3vw;
        width: 100%;
        max-width: none;
        padding-top: clamp(2rem, 3.2vw, 3.25rem);
        padding-right: 4vw;
        padding-bottom: clamp(3rem, 5vw, 5.5rem);
        padding-left: 9vw;
        box-sizing: border-box;
    }

    .mobile-fitting-lower__call {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    .mobile-fitting-lower__media {
        width: 53vw;
        max-width: 100%;
        margin: 0;
        justify-self: start;
    }

        .mobile-fitting-lower__media img {
            display: block;
            width: 100%;
            height: auto;
        }

    .mobile-fitting-lower .service-callout {
        max-width: 100%;
    }
}

@media (min-width: 1600px) {
    .mobile-fitting-lower__grid {
        grid-template-columns: 360px minmax(0, 970px);
        gap: 75px;
        padding-left: max(8vw, 150px);
    }

    .mobile-fitting-lower__media {
        width: 970px;
    }
}

/* ========================================================================
   ALLOY WHEELS / WHEEL & TYRE SHOWROOM PAGE
   Page geometry only. Shared title/status/media styles live in
   tyresmart-components.css.
   ======================================================================== */

.alloy-wheels-page {
    background: #000;
}

.service-image-hero {
    position: relative;
    width: 100%;
    height: clamp(300px, 25.5vw, 470px);
    overflow: hidden;
    background: #000;
}

    .service-image-hero img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 50%;
    }

    .service-image-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: rgba(0,0,0,.15);
    }

/* The first showroom photograph is 83.33vw in the Squarespace source. */

.alloy-showroom-content {
    padding-top: clamp(2.25rem, 4vw, 4.5rem);
    padding-bottom: clamp(3rem, 5vw, 5.5rem);
}

.alloy-showroom-media {
    width: min(83.33vw, 1400px);
    margin-inline: auto;
}

.alloy-showroom-copy {
    width: min(83.33vw, 1400px);
    margin: clamp(1.5rem, 2.5vw, 2.5rem) auto 0;
    color: #00ff40;
    font-size: clamp(1rem, .9rem + .18vw, 1.15rem);
    line-height: 1.65;
}

/* Remaining two photographs are approximately 91.67vw in Squarespace. */

.alloy-showroom-gallery {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 4.5rem);
    padding-bottom: clamp(3rem, 6vw, 6rem);
}

    .alloy-showroom-gallery .service-wide-media {
        width: min(91.67vw, 1540px);
        margin-inline: auto;
    }

@media (max-width: 767.98px) {
    .service-image-hero {
        height: clamp(250px, 62vw, 420px);
    }

    .alloy-showroom-media,
    .alloy-showroom-copy,
    .alloy-showroom-gallery .service-wide-media {
        width: calc(100% - (2 * var(--ts-page-gutter)));
    }
}

/* ========================================================================
   ALLOY WHEELS - showroom hero crop fidelity
   Match the Squarespace background-image focal position.
   ======================================================================== */

.alloy-wheels-page .service-image-hero {
    height: clamp(300px, 25.35vw, 490px);
}

    .alloy-wheels-page .service-image-hero img {
        object-fit: cover;
        object-position: 50% 74%;
    }

/* ========================================================================
   ALLOY WHEELS - showroom content width fidelity
   Match the visual proportions in the supplied Squarespace screenshots.
   ======================================================================== */

@media (min-width: 992px) {
    /*
       The rendered Squarespace page visually uses a much narrower content
       column than the raw Fluid Engine "sizes" metadata suggests.
    */
    .alloy-wheels-page .alloy-showroom-media {
        width: 58vw;
        max-width: 1120px;
        margin-inline: auto;
    }
    /*
       Allow the copy to span the same visual column as the image.
       This overrides the shared .service-detail__copy max-width.
    */
    .alloy-wheels-page .alloy-showroom-copy {
        width: 58vw;
        max-width: 1120px;
        margin-top: clamp(1.75rem, 2.6vw, 2.75rem);
        margin-right: auto;
        margin-left: auto;
        padding-top: 0;
        font-size: clamp(1rem, .9rem + .18vw, 1.15rem);
        line-height: 1.65;
    }
    /*
       Subsequent showroom images use the same centred visual width,
       rather than expanding to ~92vw.
    */
    .alloy-wheels-page .alloy-showroom-gallery .service-wide-media {
        width: 58vw;
        max-width: 1120px;
        margin-inline: auto;
    }

    .alloy-wheels-page .alloy-showroom-content {
        padding-top: clamp(2rem, 3vw, 3rem);
        padding-bottom: clamp(2.5rem, 4vw, 4rem);
    }

    .alloy-wheels-page .alloy-showroom-gallery {
        gap: clamp(2.5rem, 4vw, 4.5rem);
    }
}

/* Keep good use of available width on tablets/mobile. */

@media (max-width: 991.98px) {
    .alloy-wheels-page .alloy-showroom-media,
    .alloy-wheels-page .alloy-showroom-copy,
    .alloy-wheels-page .alloy-showroom-gallery .service-wide-media {
        width: calc(100% - (2 * var(--ts-page-gutter)));
        max-width: none;
    }
}

/* ========================================================================
   ALLOY WHEEL REFURBISHMENT PAGE
   Page geometry only; common service components are reused.
   ======================================================================== */

.alloy-refurbishment-page {
    background: #000;
}

    /* Main new-style image + minimal introduction */

    .alloy-refurbishment-page .refurb-intro {
        padding-top: clamp(2.25rem, 4vw, 4.5rem);
        padding-bottom: clamp(3rem, 5vw, 5rem);
    }

        .alloy-refurbishment-page .refurb-intro.service-detail {
            grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .8fr);
        }

    .alloy-refurbishment-page .refurb-copy {
        max-width: 32rem;
    }

/* A restrained three-step process rather than reproducing the long old page */

.refurb-process {
    padding: clamp(2.5rem, 5vw, 5rem) var(--ts-page-gutter);
    background: #000;
}

.refurb-process__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(76vw, 1220px);
    margin-inline: auto;
    border-top: 1px solid rgba(57,255,20,.22);
    border-bottom: 1px solid rgba(57,255,20,.22);
}

.refurb-process__item {
    position: relative;
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
}

    .refurb-process__item + .refurb-process__item {
        border-left: 1px solid rgba(57,255,20,.16);
    }

.refurb-process__number {
    display: block;
    margin-bottom: .8rem;
    color: rgba(57,255,20,.45);
    font: 700 8px/1 var(--ts-font-ui);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.refurb-process__title {
    margin: 0 0 .65rem;
    color: #39ff14;
    font-family: var(--ts-font-heading);
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.refurb-process__text {
    margin: 0;
    color: #8a8a8a;
    font-size: .95rem;
    line-height: 1.55;
}

/* Finish image + short return/cost details */

.refurb-finish {
    padding-bottom: clamp(3rem, 6vw, 6rem);
}

    .refurb-finish .service-detail {
        padding-top: clamp(2rem, 4vw, 4.5rem);
    }

.refurb-price {
    display: inline-flex;
    flex-direction: column;
    gap: .35rem;
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(57,255,20,.45);
    font-family: var(--ts-font-secondary);
}

.refurb-price__label {
    color: rgba(57,255,20,.55);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.refurb-price__value {
    color: #fff;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 900;
    line-height: 1;
}

.refurb-cta-row {
    display: flex;
    margin-top: 1.5rem;
}

@media (max-width: 991.98px) {
    .alloy-refurbishment-page .refurb-intro.service-detail {
        grid-template-columns: 1fr;
    }

    .refurb-process__grid {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .refurb-process__item + .refurb-process__item {
        border-top: 1px solid rgba(57,255,20,.16);
        border-left: 0;
    }
}

/* ========================================================================
   ABOUT US PAGE
   Company-page layout, intentionally different from service pages.
   ======================================================================== */

.about-page {
    background: #000;
}

.about-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    gap: clamp(3.5rem, 5vw, 6rem);
    align-items: start;
    width: min(76vw, 1400px);
    margin-inline: auto;
    padding-top: clamp(1rem, 2vw, 2rem);
    padding-bottom: clamp(4rem, 6vw, 7rem);
}

.about-story__copy {
    color: #00ff40;
    font-size: clamp(1rem, .92rem + .18vw, 1.15rem);
    line-height: 1.55;
}

    .about-story__copy p {
        margin: 0 0 1.25rem;
    }

.about-story__media {
    margin: 0;
}

    .about-story__media img {
        display: block;
        width: 100%;
        height: auto;
    }

.about-values {
    width: min(76vw, 1400px);
    margin-inline: auto;
    padding-bottom: clamp(4rem, 6vw, 7rem);
}

.about-values__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(57,255,20,.22);
    border-bottom: 1px solid rgba(57,255,20,.22);
}

.about-value {
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
}

    .about-value + .about-value {
        border-left: 1px solid rgba(57,255,20,.16);
    }

.about-value__eyebrow {
    display: block;
    margin-bottom: .7rem;
    color: rgba(57,255,20,.45);
    font: 700 8px/1 var(--ts-font-ui);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.about-value__title {
    margin: 0 0 .65rem;
    color: #fff;
    font-family: var(--ts-font-heading);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

    .about-value__title strong {
        color: #39ff14;
        font-weight: inherit;
    }

.about-value__text {
    margin: 0;
    color: #777;
    font-size: .95rem;
    line-height: 1.55;
}

@media (max-width: 991.98px) {
    .about-story {
        grid-template-columns: 1fr;
        width: calc(100% - (2 * var(--ts-page-gutter)));
    }

    .about-story__media {
        grid-row: 1;
    }

    .about-values {
        width: calc(100% - (2 * var(--ts-page-gutter)));
    }
}

@media (max-width: 767.98px) {
    .about-values__grid {
        grid-template-columns: 1fr;
    }

    .about-value + .about-value {
        border-top: 1px solid rgba(57,255,20,.16);
        border-left: 0;
    }
}

/* ========================================================================
   CONTACT US PAGE
   Brand/company layout with a purpose-built Web Forms contact form.
   ======================================================================== */

.contact-page {
    background: #000;
}

    .contact-page .brand-page-banner__inner {
        min-height: 8rem;
    }

    .contact-page .brand-page-banner__status {
        align-self: center;
    }

.contact-main {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(420px, 1.28fr);
    gap: clamp(4rem, 8vw, 9rem);
    width: min(76vw, 1380px);
    margin-inline: auto;
    padding-top: clamp(3rem, 5vw, 5.5rem);
    padding-bottom: clamp(4rem, 7vw, 7rem);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: .9rem;
    color: rgba(57,255,20,.5);
    font: 700 8px/1 var(--ts-font-ui);
    letter-spacing: 3px;
    text-transform: uppercase;
}

    .contact-section-label::before {
        content: "";
        width: 24px;
        height: 1px;
        background: #39ff14;
        opacity: .5;
    }

.contact-heading {
    margin: 0 0 1rem;
    color: #fff;
    font-family: var(--ts-font-heading);
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.5px;
    text-transform: uppercase;
}

    .contact-heading strong {
        color: #39ff14;
        font-weight: inherit;
    }

.contact-address {
    margin: 0;
    color: #8a8a8a;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.65;
}

.contact-links {
    display: grid;
    gap: .7rem;
    margin-top: 1.25rem;
}

.contact-link {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    color: #fff;
    text-decoration: none;
}

.contact-link__label {
    width: 54px;
    flex: 0 0 54px;
    color: #444;
    font: 700 8px/1 var(--ts-font-body);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-link__value {
    color: #39ff14;
    font-size: 1rem;
}

.contact-link:hover .contact-link__value {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-hours {
    width: 100%;
    border-collapse: collapse;
}

    .contact-hours tr {
        border-bottom: 1px solid #111;
    }

    .contact-hours th,
    .contact-hours td {
        padding: .65rem 0;
        font-size: .95rem;
        font-weight: 400;
    }

    .contact-hours th {
        color: #777;
        text-align: left;
    }

    .contact-hours td {
        color: #fff;
        text-align: right;
    }

.contact-distance {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem 1.25rem;
}

.contact-distance__item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .45rem;
    border-bottom: 1px solid #111;
}

.contact-distance__town {
    color: #777;
}

.contact-distance__miles {
    color: #39ff14;
}

.contact-direction {
    display: inline-flex;
    margin-top: 1rem;
    align-items: center;
    gap: .6rem;
    color: #39ff14;
    font-family: var(--ts-font-heading);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
}

    .contact-direction::after {
        content: "→";
        transition: transform .2s ease;
    }

    .contact-direction:hover::after {
        transform: translateX(4px);
    }

.contact-form-panel {
    position: relative;
    padding-left: clamp(2rem, 4vw, 4.5rem);
    border-left: 1px solid rgba(57,255,20,.18);
}

    .contact-form-panel::before {
        content: "";
        position: absolute;
        top: 0;
        left: -1px;
        width: 1px;
        height: 70px;
        background: #39ff14;
        opacity: .55;
    }

.contact-form-panel__title {
    margin: 0 0 .75rem;
    color: #fff;
    font-family: var(--ts-font-heading);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    text-transform: uppercase;
}

    .contact-form-panel__title strong {
        color: #39ff14;
        font-weight: inherit;
    }

.contact-form-panel__intro {
    max-width: 40rem;
    margin: 0 0 2rem;
    color: #777;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-note {
    margin-top: 2rem;
    padding: 1rem 1.1rem;
    border: 1px solid #171717;
    color: #555;
    font-size: .85rem;
    line-height: 1.5;
}

    .contact-note strong {
        color: rgba(57,255,20,.65);
        font-weight: 700;
    }

@media (max-width: 991.98px) {
    .contact-main {
        grid-template-columns: 1fr;
        width: calc(100% - (2 * var(--ts-page-gutter)));
        gap: 3.5rem;
    }

    .contact-form-panel {
        padding-top: 2.5rem;
        padding-left: 0;
        border-top: 1px solid rgba(57,255,20,.18);
        border-left: 0;
    }

        .contact-form-panel::before {
            top: -1px;
            left: 0;
            width: 70px;
            height: 1px;
        }
}

@media (max-width: 575.98px) {
    .contact-distance {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================
   CONTACT MAP
   Dark framed Google Map styled to match the TyreSmart visual system.
   ======================================================================== */

.contact-map-block {
    margin-top: .5rem;
}

.contact-map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    padding: 1px;
    border: 1px solid var(--ts-green-soft);
    background: var(--ts-green);
}

    .contact-map-frame iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
        filter: grayscale(.25) contrast(1.05) brightness(.72);
    }

.contact-map-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(57,255,20,.4);
    background: rgba(0,0,0,.88);
    color: #fff;
    font-family: var(--ts-font-ui);
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    pointer-events: none;
}

.contact-map-badge__dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #39ff14;
    box-shadow: 0 0 8px rgba(57,255,20,.8);
    animation: contact-map-dot 1.5s ease-in-out infinite;
}

.contact-map-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1rem;
}

    .contact-map-meta > div {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: .35rem;
    }

.contact-map-meta__label {
    color: rgba(57,255,20,.5);
    font-family: var(--ts-font-ui);
    font-size: 7px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-map-meta__value {
    color: #888;
    font-size: .95rem;
    line-height: 1.5;
}

@keyframes contact-map-dot {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}

@media (max-width: 575.98px) {
    .contact-map-meta {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-map-badge__dot {
        animation: none;
    }
}

/* ========================================================================
   PEOPLE / TEAM PAGE
   Reusable company-page layout for staff / people content.
   Intentionally different from service-tech pages.
   ======================================================================== */

.people-page {
    background: #000;
}

.people-hero {
    width: min(48vw, 900px);
    margin: 0 auto;
    padding-top: clamp(2rem, 4vw, 4.5rem);
}

    .people-hero .media-frame {
        margin: 0;
    }

    .people-hero img {
        display: block;
        width: 100%;
        height: auto;
    }

.people-intro {
    width: min(48vw, 900px);
    margin: clamp(2rem, 3.5vw, 3.5rem) auto 0;
}

.people-intro__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: .85rem;
    color: rgba(57,255,20,.5);
    font: 700 8px/1 var(--ts-font-ui);
    letter-spacing: 4px;
    text-transform: uppercase;
}

    .people-intro__eyebrow::before,
    .people-intro__eyebrow::after {
        content: "";
        width: 24px;
        height: 1px;
        background: #39ff14;
        opacity: .45;
    }

.people-intro__title {
    color: #fff;
    font-family: var(--ts-font-heading);
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
}

    .people-intro__title strong {
        color: #39ff14;
        font-weight: inherit;
    }

.people-intro__text {
    max-width: 42rem;
    margin: 1rem auto 0;
    color: #777;
    font-size: 1rem;
    line-height: 1.6;
}

.people-grid {
    display: grid;
    gap: clamp(1.5rem, 2.5vw, 2.75rem);
    width: min(76vw, 1320px);
    margin: clamp(3rem, 5vw, 5rem) auto 0;
    padding-bottom: clamp(4rem, 7vw, 7rem);
}

.people-card {
    margin: 0;
}

.people-card__image {
    position: relative;
    overflow: hidden;
}

    .people-card__image img {
        display: block;
        width: 100%;
        height: auto;
    }

.people-card__index {
    display: block;
    margin-top: .75rem;
    color: rgba(57,255,20,.42);
    font: 700 7px/1 var(--ts-font-ui);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Workshop/action photographs span the width of two portrait cards. */

.people-card--wide {
    grid-column: span 2;
}

    .people-card--wide .people-card__image img {
        aspect-ratio: 3 / 2;
    }

/* Keeps a single final portrait visually balanced if the grid row is incomplete. */

.people-card--portrait {
    align-self: start;
}

@media (max-width: 991.98px) {
    .people-hero,
    .people-intro {
        width: calc(100% - (2 * var(--ts-page-gutter)));
    }

    .people-grid {
        width: calc(100% - (2 * var(--ts-page-gutter)));
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .people-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 575.98px) {
    .people-grid {
        grid-template-columns: 1fr;
    }

    .people-card--wide {
        grid-column: auto;
    }
}

/* ========================================================================
   TEAM PAGE - Squarespace fidelity pass
   ======================================================================== */

.people-intro {
    width: min(58vw, 980px);
    margin: clamp(2.4rem, 4vw, 4rem) auto 0;
    text-align: center;
}

.people-intro__eyebrow {
    margin-bottom: 1rem;
    color: rgba(57,255,20,.48);
}

.people-intro__title {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .55rem;
    margin: 0;
    font-size: clamp(2.4rem, 4.2vw, 4rem);
    line-height: .95;
    letter-spacing: -1.4px;
}

.people-intro__title-accent {
    color: #39ff14;
}

.people-intro__title-light {
    color: #fff;
}

.people-intro__subtitle {
    margin-top: .9rem;
    color: #222;
    font-family: var(--ts-font-ui);
    font-size: 7px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.people-intro__stats {
    display: inline-flex;
    align-items: center;
    gap: 1.4rem;
    margin-top: 1.7rem;
}

.people-intro__initials {
    display: flex;
    align-items: center;
}

.people-initial {
    display: inline-flex;
    width: 46px;
    height: 46px;
    margin-left: -5px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.04);
    border-radius: 50%;
    font-family: var(--ts-font-heading);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

    .people-initial:first-child {
        margin-left: 0;
    }

.people-initial--1 {
    background: #06220d;
    color: #39ff14;
}

.people-initial--2 {
    background: #071a2a;
    color: #44c9ff;
}

.people-initial--3 {
    background: #2b0d0d;
    color: #ff5b55;
}

.people-initial--4 {
    background: #1d0d2d;
    color: #d474ff;
}

.people-initial--more {
    background: #111;
    color: #444;
}

.people-intro__experience {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: .9rem;
    padding-left: 1.25rem;
    border-left: 1px solid #1a1a1a;
    text-align: left;
}

    .people-intro__experience strong {
        color: #39ff14;
        font-family: var(--ts-font-heading);
        font-size: 2rem;
        font-weight: 900;
        line-height: .9;
    }

    .people-intro__experience span {
        color: #333;
        font-family: var(--ts-font-ui);
        font-size: 7px;
        font-weight: 700;
        line-height: 1.4;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

.people-grid {
    width: min(61vw, 1180px);
    gap: 1.35rem 2.2rem;
    margin-top: clamp(3rem, 4vw, 4.25rem);
    padding-top: 2rem;
    border-top: 1px solid #111;
}

.people-card__image img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.people-card__caption {
    display: flex;
    justify-content: center;
    gap: .35rem;
    margin-top: .7rem;
    color: #fff;
    font-family: var(--ts-font-body, "Rajdhani", sans-serif);
    font-size: clamp(.95rem, 1vw, 1.08rem);
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

.people-card__name::after {
    content: " - ";
    color: #39ff14;
}

.people-card__role {
    color: #fff;
}

@media (max-width: 991.98px) {
    .people-intro,
    .people-grid {
        width: calc(100% - (2 * var(--ts-page-gutter)));
    }
}

@media (max-width: 575.98px) {
    .people-intro__title {
        flex-wrap: wrap;
        gap: .35rem;
    }

    .people-intro__stats {
        flex-direction: column;
    }

    .people-intro__experience {
        border-top: 1px solid #1a1a1a;
        border-left: 0;
        padding-top: 1rem;
        padding-left: 0;
    }
}

/* ========================================================================
   TEAM PAGE - lower grid + sponsorship fidelity
   ======================================================================== */

/* Keep the first six people in the standard three-column grid. */

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

/*
   Squarespace centres the final two technicians rather than leaving an empty
   third card position.
*/

.people-grid__final-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem;
    width: 66.666%;
    margin: .7rem auto 0;
}

/* If a staff member has no displayed name, don't render a leading hyphen. */

.people-card__caption .people-card__role:only-child {
    color: #fff;
}

    .people-card__caption .people-card__role:only-child::before {
        content: "";
    }

/* --------------------------------------------------------
   Sponsorships
   -------------------------------------------------------- */

.people-sponsorships {
    width: 100%;
    padding-top: clamp(2.25rem, 4vw, 4.25rem);
    padding-bottom: clamp(4rem, 7vw, 7rem);
    border-top: 1px solid #111;
}

.people-section-heading {
    width: min(61vw, 1180px);
    margin: 0 auto clamp(2.2rem, 3.5vw, 3.5rem);
    text-align: center;
}

.people-section-heading__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: .9rem;
    color: rgba(57,255,20,.48);
    font-family: var(--ts-font-ui);
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 4px;
    text-transform: uppercase;
}

    .people-section-heading__eyebrow::before,
    .people-section-heading__eyebrow::after {
        content: "";
        width: 24px;
        height: 1px;
        background: #39ff14;
        opacity: .45;
    }

.people-section-heading__title {
    margin: 0;
    color: #39ff14;
    font-family: var(--ts-font-heading);
    font-size: clamp(2.2rem, 4vw, 3.75rem);
    font-weight: 900;
    line-height: .95;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.people-sponsorships__media {
    width: min(43vw, 820px);
    margin: 0 auto;
}

    .people-sponsorships__media img {
        display: block;
        width: 100%;
        height: auto;
    }

/* Slightly more breathing room before the next Find Us / footer-adjacent section. */

.people-sponsorships + section {
    margin-top: 0;
}

@media (max-width: 991.98px) {
    .people-grid__final-row {
        width: 100%;
        gap: 1.5rem;
    }

    .people-section-heading {
        width: calc(100% - (2 * var(--ts-page-gutter)));
    }

    .people-sponsorships__media {
        width: min(70vw, 820px);
    }
}

@media (max-width: 575.98px) {
    .people-grid__final-row {
        grid-template-columns: 1fr;
    }

    .people-sponsorships__media {
        width: calc(100% - (2 * var(--ts-page-gutter)));
    }
}

/* ========================================================================
   TEAM PAGE - sponsorship caption and description
   ======================================================================== */

.people-sponsorships__item {
    width: min(43vw, 820px);
    margin: 0 auto;
    text-align: center;
}

    .people-sponsorships__item .people-sponsorships__media {
        width: 100%;
        margin: 0;
    }

.people-sponsorships__caption {
    margin-top: 14px;
    color: #fff;
    font-family: var(--ts-font-body, "Rajdhani", sans-serif);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.people-sponsorships__text {
    max-width: 590px;
    margin: 16px auto 0;
    color: #39ff14;
    font-family: var(--ts-font-body, "Rajdhani", sans-serif);
    font-size: 17px;
    line-height: 1.75;
    text-align: center;
}

@media (max-width: 991.98px) {
    .people-sponsorships__item {
        width: min(70vw, 820px);
    }
}

@media (max-width: 575.98px) {
    .people-sponsorships__item {
        width: calc(100% - (2 * var(--ts-page-gutter)));
    }

    .people-sponsorships__caption {
        font-size: 16px;
    }

    .people-sponsorships__text {
        font-size: 15px;
        line-height: 1.65;
    }
}

/* ========================================================================
   TEAM PAGE - Sponsorship title scan animation
   Matches the moving horizontal green scan used elsewhere on TyreSmart.
   ======================================================================== */

.people-section-heading {
    position: relative;
    overflow: hidden;
    padding-top: .4rem;
    padding-bottom: .4rem;
}

    .people-section-heading::after {
        content: "";
        position: absolute;
        z-index: 2;
        top: -1px;
        right: 0;
        left: 0;
        height: 1px;
        pointer-events: none;
        background: linear-gradient( 90deg, transparent 0%, rgba(57,255,20,.5) 50%, transparent 100% );
        opacity: 0;
        animation: people-section-scan 3s ease-in-out infinite;
    }

@keyframes people-section-scan {
    0% {
        top: -1px;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .people-section-heading::after {
        display: none;
        animation: none;
    }
}

/* ========================================================================
   BRANDS PAGE
   Company/catalogue layout using the shared brand-page banner language.
   ======================================================================== */

.brands-page {
    background: #000;
}

    .brands-page .brand-page-banner__inner {
        min-height: 8.5rem;
    }

    .brands-page .brand-page-title {
        gap: .45rem;
    }

    .brands-page .brand-page-subtitle {
        color: #242424;
    }

/* Right-hand stock animation/status */

.brands-stock-status {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.brands-stock-scene {
    position: relative;
    width: 116px;
    height: 64px;
    flex: 0 0 116px;
}

.brands-stock-scene__track {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    height: 1px;
    background: #181818;
}

.brands-stock-scene__wheel {
    position: absolute;
    bottom: 14px;
    width: 23px;
    height: 23px;
    border: 3px solid rgba(57,255,20,.28);
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px #060606;
    animation: brands-wheel-pulse 1.8s ease-in-out infinite;
}

    .brands-stock-scene__wheel::before,
    .brands-stock-scene__wheel::after {
        content: "";
        position: absolute;
        inset: 7px;
        border: 1px solid rgba(57,255,20,.4);
        border-radius: 50%;
    }

.brands-stock-scene__wheel--1 {
    left: 3px;
    animation-delay: 0s;
}

.brands-stock-scene__wheel--2 {
    left: 34px;
    animation-delay: .15s;
}

.brands-stock-scene__wheel--3 {
    left: 65px;
    animation-delay: .3s;
}

.brands-stock-scene__wheel--4 {
    left: 92px;
    animation-delay: .45s;
}

.brands-stock-line {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(57,255,20,.55);
    font-family: var(--ts-font-ui);
    font-size: 7px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

    .brands-stock-line::before {
        content: "";
        width: 5px;
        height: 5px;
        flex: 0 0 5px;
        border-radius: 50%;
        background: #39ff14;
        animation: brands-status-dot 1.5s ease-in-out infinite;
    }

@keyframes brands-wheel-pulse {
    0%, 100% {
        border-color: rgba(57,255,20,.2);
        transform: scale(.92);
    }

    50% {
        border-color: rgba(57,255,20,.65);
        transform: scale(1);
    }
}

@keyframes brands-status-dot {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

/* --------------------------------------------------------
   Brand logo grid
   -------------------------------------------------------- */

.brands-grid-section {
    width: min(72vw, 1320px);
    margin: 0 auto;
    padding: 0 0 clamp(5rem, 8vw, 8rem);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #111;
    border-left: 1px solid #111;
}

.brand-card {
    position: relative;
    display: flex;
    min-height: clamp(190px, 17vw, 265px);
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 4vw, 4rem);
    border-right: 1px solid #111;
    border-bottom: 1px solid #111;
    background: #000;
}

    .brand-card img {
        display: block;
        width: 100%;
        max-width: 280px;
        height: 90px;
        object-fit: contain;
        filter: brightness(1);
        transition: transform .3s;
    }

    .brand-card:hover img,
    .brand-card:focus-within img {
        transform: scale(1.04);
    }

/* A few source logos are naturally taller/wider. */

.brand-card--wide img {
    max-width: 280px;
}

.brand-card--square img {
    max-width: 280px;
    height: 90px;
}

/* Optional accessible label, visually subtle beneath logo. */

.brand-card__name {
    position: absolute;
    right: 1rem;
    bottom: .8rem;
    left: 1rem;
    color: #222;
    font-family: var(--ts-font-ui);
    font-size: 7px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1.8px;
    text-align: center;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity .2s ease;
}

.brand-card:hover .brand-card__name {
    opacity: 1;
}

/* --------------------------------------------------------
   Minimal closing copy
   -------------------------------------------------------- */

.brands-footer-copy {
    width: min(54vw, 900px);
    margin: clamp(3rem, 5vw, 5rem) auto 0;
    color: #777;
    font-size: 1rem;
    line-height: 1.65;
    text-align: center;
}

    .brands-footer-copy strong {
        color: #39ff14;
        font-weight: 500;
    }

@media (max-width: 991.98px) {
    .brands-grid-section {
        width: calc(100% - (2 * var(--ts-page-gutter)));
    }

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

    .brands-footer-copy {
        width: min(76vw, 900px);
    }
}

@media (max-width: 767.98px) {
    .brands-page .brand-page-banner__status {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }

    .brand-card {
        min-height: 155px;
    }

    .brands-stock-status {
        align-items: flex-start;
        flex-direction: column;
    }

    .brands-footer-copy {
        width: calc(100% - (2 * var(--ts-page-gutter)));
    }
}

@media (prefers-reduced-motion: reduce) {
    .brands-stock-scene__wheel,
    .brands-stock-line::before {
        animation: none;
    }

    .brand-card img {
        transition: none;
    }
}

/* ========================================================================
   BRANDS PAGE - Squarespace hover corner markers
   Two green corner brackets appear on the hovered/focused brand tile.
   ======================================================================== */

.brand-card::before,
.brand-card::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 18px;
    height: 18px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
}

/* Top-left corner */

.brand-card::before {
    top: 8px;
    left: 8px;
    border-top: 1px solid rgba(57,255,20,.75);
    border-left: 1px solid rgba(57,255,20,.75);
    transform: translate(-4px, -4px);
}

/* Bottom-right corner */

.brand-card::after {
    right: 8px;
    bottom: 8px;
    border-right: 1px solid rgba(57,255,20,.75);
    border-bottom: 1px solid rgba(57,255,20,.75);
    transform: translate(4px, 4px);
}

.brand-card:hover::before,
.brand-card:hover::after,
.brand-card:focus-within::before,
.brand-card:focus-within::after {
    opacity: 1;
    transform: translate(0, 0);
}

/* Slightly lift the hovered cell background like the Squarespace treatment. */

.brand-card:hover,
.brand-card:focus-within {
    background: #030503;
}

@media (prefers-reduced-motion: reduce) {
    .brand-card::before,
    .brand-card::after {
        transition: none;
    }
}

/* ========================================================================
   HOMEPAGE AWARD STRIP - shared site.css version
   Replaces the old standalone home.css requirement.
   ======================================================================== */

.award-strip {
    background: #39ff14;
}

.award-pulse {
    background: #39ff14;
    animation: award-pulse-bg 2.5s ease-in-out infinite;
}

.award-inner {
    max-width: 100%;
    justify-content: center;
}

.award-text {
    min-width: 0;
    font-family: var(--ts-font-heading);
    line-height: 1.2;
    text-align: center;
}

.award-trophy {
    flex: 0 0 14px;
    animation: award-trophy-bounce 2s ease-in-out infinite;
}

@keyframes award-pulse-bg {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .82;
    }
}

@keyframes award-trophy-bounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-3px) rotate(-5deg);
    }

    75% {
        transform: translateY(-1px) rotate(5deg);
    }
}

/*
   On narrow phones reduce type and tracking enough to preserve the complete
   wording rather than clipping the first and last characters.
*/

@media (max-width: 575.98px) {
    .award-strip {
        padding: .5rem 10px;
    }

    .award-inner {
        width: 100%;
        gap: clamp(.4rem, 2vw, .7rem);
    }

    .award-text {
        flex: 0 1 auto;
        font-size: clamp(7px, 2vw, 9px);
        letter-spacing: clamp(1.25px, .52vw, 2.5px);
    }

    .award-trophy {
        width: 10px;
        height: 10px;
        flex-basis: 10px;
    }
}

@media (max-width: 390px) {
    .award-strip {
        padding-inline: 7px;
    }

    .award-inner {
        gap: .35rem;
    }

    .award-text {
        font-size: 6.8px;
        letter-spacing: 1.15px;
    }

    .award-trophy {
        width: 9px;
        height: 9px;
        flex-basis: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .award-pulse,
    .award-trophy {
        animation: none;
    }
}

/* ========================================================================
   HOMEPAGE AWARD STRIP - mobile fit refinement v6
   Ensures the complete award wording fits on narrow phones.
   ======================================================================== */

@media (max-width: 575.98px) {
    .award-strip {
        padding-inline: 8px;
    }

    .award-inner {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        gap: .4rem;
        overflow: hidden;
    }

    .award-text {
        flex: 0 1 auto;
        min-width: 0;
        max-width: calc(100% - 18px);
        font-size: 8px;
        line-height: 1.15;
        letter-spacing: 1.55px;
        text-align: center;
        white-space: nowrap;
    }

    .award-trophy {
        width: 9px;
        height: 9px;
        flex: 0 0 9px;
    }
        /* On phones the second trophy costs useful text width. */
        .award-trophy:last-child {
            display: none;
        }
}

@media (max-width: 390px) {
    .award-strip {
        padding-inline: 6px;
    }

    .award-inner {
        gap: .3rem;
    }

    .award-text {
        max-width: calc(100% - 14px);
        font-size: 7px;
        letter-spacing: 1.05px;
    }

    .award-trophy {
        width: 8px;
        height: 8px;
        flex-basis: 8px;
    }
}

/* ========================================================================
   HOMEPAGE AWARD STRIP - two-line mobile layout v7
   Uses two balanced lines on phones instead of forcing one long line.
   ======================================================================== */

@media (max-width: 575.98px) {
    .award-strip {
        padding: .55rem 12px;
    }

    .award-inner {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        gap: .45rem;
        overflow: visible;
    }

    .award-text {
        flex: 0 1 17.5rem;
        width: 17.5rem;
        max-width: calc(100vw - 58px);
        font-size: 8.5px;
        line-height: 1.45;
        letter-spacing: 1.7px;
        text-align: center;
        white-space: normal;
        text-wrap: balance;
    }

    .award-trophy {
        width: 9px;
        height: 9px;
        flex: 0 0 9px;
    }

        .award-trophy:last-child {
            display: none;
        }
}

@media (max-width: 390px) {
    .award-strip {
        padding-inline: 10px;
    }

    .award-text {
        flex-basis: 16rem;
        width: 16rem;
        max-width: calc(100vw - 48px);
        font-size: 8px;
        line-height: 1.4;
        letter-spacing: 1.45px;
    }
}

/* ========================================================================
   HOMEPAGE AWARD STRIP - forced two-line mobile layout v8
   Requires the award text to contain two child spans:
   <span class="award-text"><span>National Winners —</span> <span>Tyre Retailer of the Year</span></span>
   ======================================================================== */

.award-text > span {
    display: inline;
}

@media (max-width: 575.98px) {
    .award-strip {
        min-height: 46px;
        padding: .45rem 12px;
    }

    .award-inner {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        gap: .5rem;
        overflow: visible;
    }

    .award-text {
        display: block;
        flex: 1 1 auto;
        width: auto;
        max-width: none;
        min-width: 0;
        font-size: 8.5px;
        line-height: 1.45;
        letter-spacing: 1.8px;
        text-align: center;
        white-space: normal !important;
    }

        .award-text > span {
            display: block;
            width: 100%;
            white-space: nowrap;
        }

    .award-trophy {
        width: 9px;
        height: 9px;
        flex: 0 0 9px;
    }

        .award-trophy:last-child {
            display: none;
        }
}

@media (max-width: 390px) {
    .award-strip {
        min-height: 44px;
        padding-inline: 9px;
    }

    .award-text {
        font-size: 8px;
        letter-spacing: 1.5px;
    }
}

/* ========================================================================
   HOMEPAGE AWARD STRIP - mobile icon cleanup v9
   Keep trophy symbols on desktop; remove both on mobile so the two-line
   award wording remains cleanly centred.
   ======================================================================== */

@media (max-width: 575.98px) {
    .award-trophy {
        display: none !important;
    }

    .award-inner {
        gap: 0;
    }
}

/* ========================================================================
   MOBILE TYRE FITTING - compact animation footprint v10
   Reduces the vertical space consumed by the animated mobile-service scene
   on narrow phones while preserving the desktop/tablet presentation.
   ======================================================================== */

@media (max-width: 575.98px) {
    .service-tech--mobile .service-tech-banner__inner {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .service-tech--mobile .service-tech-status {
        gap: .55rem;
    }

    .service-mobile-scene {
        width: 120px;
        height: 45px;
        flex: 0 0 45px;
    }

    .service-mobile-scene__van {
        bottom: 5px;
        transform: scale(.75);
        transform-origin: left bottom;
    }

    .service-mobile-scene__road,
    .service-mobile-scene__dashes {
        bottom: 3px;
    }

    .service-mobile-scene__pin {
        top: 0;
        right: 12px;
        transform: scale(.8);
        transform-origin: center;
    }

    .service-mobile-scene__pulse {
        top: 10px;
        right: 11px;
    }

    .service-mobile-pills {
        gap: 4px;
    }
}

/* ========================================================================
   TEAM PAGE - consistent single-column mobile grid v11
   Forces every team member, including the centred final-row wrapper, to use
   the same full-width single-column layout on phones.
   ======================================================================== */

@media (max-width: 575.98px) {
    .people-grid {
        grid-template-columns: 1fr !important;
        width: calc(100% - (2 * var(--ts-page-gutter)));
        gap: 1.75rem;
    }

        .people-grid > .people-card,
        .people-grid__final-row {
            grid-column: 1 / -1 !important;
            width: 100% !important;
            max-width: none;
            margin-left: 0;
            margin-right: 0;
        }

    .people-grid__final-row {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 1.75rem;
        margin-top: 0;
    }

    .people-card,
    .people-card__image {
        width: 100%;
    }

        .people-card__image img {
            width: 100%;
            height: auto;
            aspect-ratio: 3 / 2;
            object-fit: cover;
        }

    .people-card__caption {
        width: 100%;
        margin-top: .65rem;
        text-align: center;
    }
}

/* ========================================================================
   BRANDS PAGE - compact mobile title/status spacing v12
   Keeps the stock animation close to the page title on phones rather than
   leaving a large empty band between the heading and status graphic.
   ======================================================================== */

@media (max-width: 575.98px) {
    .brands-page .brand-page-banner__inner {
        min-height: 0;
        gap: .65rem;
        padding-top: 1.15rem;
        padding-bottom: 1rem;
    }

    .brands-page .brand-page-banner__heading {
        gap: .3rem;
    }

    .brands-page .brand-page-banner__status {
        width: 100%;
        margin-top: 0;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: .85rem;
    }

    .brands-page .brands-stock-status {
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: .85rem;
    }

    .brands-page .brands-stock-scene {
        width: 108px;
        height: 46px;
        flex: 0 0 108px;
    }

    .brands-page .brands-stock-scene__track {
        bottom: 5px;
    }

    .brands-page .brands-stock-scene__wheel {
        bottom: 9px;
    }

    .brands-page .brands-stock-line {
        margin: 0;
    }
}

/* ========================================================================
   WHEEL BALANCING - keep wheel and meters side by side on mobile v13
   Overrides the generic mobile service stack only for Wheel Balancing.
   ======================================================================== */

@media (max-width: 575.98px) {
    .service-tech--balancing .service-tech-status {
        width: 100%;
        margin-top: .55rem;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start;
        gap: .8rem;
    }

    .service-tech--balancing .service-balance-wheel {
        width: 64px;
        height: 64px;
        flex: 0 0 64px;
    }

        .service-tech--balancing .service-balance-wheel svg {
            display: block;
            width: 64px;
            height: 64px;
        }

    .service-tech--balancing .service-balance-wheel__rotor {
        transform-origin: 32px 32px;
    }

    .service-tech--balancing .service-tech-meters {
        min-width: 0;
        width: min(190px, calc(100% - 76px));
        flex: 0 1 190px;
    }

    .service-tech--balancing .service-tech-meter {
        gap: 6px;
    }

    .service-tech--balancing .service-tech-meter__label {
        width: 39px;
        flex-basis: 39px;
        font-size: 6px;
        letter-spacing: 1.5px;
    }

    .service-tech--balancing .service-tech-meter__track {
        width: 88px;
        flex-basis: 88px;
    }
}

/* ========================================================================
   MOBILE TYRE FITTING - keep scene and status pills side by side on mobile v14
   Overrides the generic narrow-screen stacking so the animated van/map pin
   remains beside the status list, matching the desktop composition.
   ======================================================================== */

@media (max-width: 575.98px) {
    .service-tech--mobile .service-tech-status {
        width: 100%;
        margin-top: .55rem;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start;
        gap: .85rem;
    }

    .service-tech--mobile .service-mobile-scene {
        width: 108px;
        height: 44px;
        flex: 0 0 108px;
    }

    .service-tech--mobile .service-mobile-scene__van {
        bottom: 5px;
        transform: scale(.72);
        transform-origin: left bottom;
    }

    .service-tech--mobile .service-mobile-scene__road,
    .service-tech--mobile .service-mobile-scene__dashes {
        bottom: 3px;
    }

    .service-tech--mobile .service-mobile-scene__pin {
        top: 0;
        right: 9px;
        transform: scale(.75);
        transform-origin: center;
    }

    .service-tech--mobile .service-mobile-scene__pulse {
        top: 9px;
        right: 9px;
    }

    .service-tech--mobile .service-mobile-pills {
        min-width: 0;
        flex: 1 1 auto;
        gap: 4px;
    }

    .service-tech--mobile .service-mobile-pill {
        gap: 5px;
    }

    .service-tech--mobile .service-mobile-pill__text {
        font-size: 7px;
        line-height: 1.05;
        letter-spacing: 1.2px;
        white-space: nowrap;
    }
}

/* ========================================================================
   ALLOY WHEELS - keep showroom scene and status pills side by side on mobile v15
   Overrides the generic narrow-screen stacking so the showroom animation
   remains beside the status list, matching the desktop composition.
   ======================================================================== */

@media (max-width: 575.98px) {
    .service-tech--showroom .service-tech-status {
        width: 100%;
        margin-top: .55rem;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start;
        gap: .85rem;
    }

    .service-tech--showroom .service-showroom-scene {
        width: 118px;
        height: 48px;
        flex: 0 0 118px;
    }

    .service-tech--showroom .service-showroom-scene__light {
        transform: scale(.8);
        transform-origin: center;
    }

    .service-tech--showroom .service-showroom-scene__tyre {
        bottom: 5px;
        transform-origin: center bottom;
    }

    .service-tech--showroom .service-showroom-scene__sign {
        top: 2px;
        right: 2px;
        transform-origin: top right;
    }

    .service-tech--showroom .service-showroom-pills {
        min-width: 0;
        flex: 1 1 auto;
        gap: 4px;
    }

    .service-tech--showroom .service-showroom-pill {
        gap: 5px;
    }

    .service-tech--showroom .service-showroom-pill__text {
        font-size: 7px;
        line-height: 1.05;
        letter-spacing: 1.15px;
        white-space: nowrap;
    }
}

/* ========================================================================
   ALLOY WHEEL REFURBISHMENT - keep scene and status pills side by side
   on mobile v16
   Overrides the generic phone stacking so the before/after wheel animation
   remains beside the partnership/status list, matching the desktop layout.
   ======================================================================== */

@media (max-width: 575.98px) {
    .service-tech--refurbishment .service-tech-status {
        width: 100%;
        margin-top: .55rem;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start;
        gap: .85rem;
    }

    .service-tech--refurbishment .service-refurb-scene {
        width: 112px;
        height: 52px;
        flex: 0 0 112px;
    }

    .service-tech--refurbishment .service-refurb-scene__before,
    .service-tech--refurbishment .service-refurb-scene__after {
        left: 1px;
        transform: translateY(-50%) scale(.72);
        transform-origin: left center;
    }

    .service-tech--refurbishment .service-refurb-scene__after-spin {
        transform-origin: 32px 32px;
    }

    .service-tech--refurbishment .service-refurb-scene__shine {
        left: 1px;
        width: 48px;
        height: 48px;
    }

    .service-tech--refurbishment .service-refurb-scene__arrow {
        left: 52px;
        transform: translateY(-50%) scale(.78);
        transform-origin: center;
    }

    .service-tech--refurbishment .service-refurb-scene__badge {
        right: 0;
        transform: scale(.78);
        transform-origin: right center;
    }

    .service-tech--refurbishment .service-refurb-scene__before-label,
    .service-tech--refurbishment .service-refurb-scene__after-label {
        bottom: 1px;
        left: 1px;
        font-size: 5.5px;
        letter-spacing: 1.2px;
    }

    .service-tech--refurbishment .service-refurb-pills {
        min-width: 0;
        flex: 1 1 auto;
        gap: 4px;
    }

    .service-tech--refurbishment .service-refurb-pill {
        gap: 5px;
    }

    .service-tech--refurbishment .service-refurb-pill__text {
        font-size: 7px;
        line-height: 1.05;
        letter-spacing: 1.1px;
        white-space: nowrap;
    }
}

/* ========================================================================
   TYRESMART SCROLL REVEAL - shared service/content animation v17
   Elements begin hidden and reveal when they enter the viewport.
   JS adds .ts-reveal automatically to common TyreSmart content blocks.
   ======================================================================== */

html.ts-reveal-ready .ts-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
}

    html.ts-reveal-ready .ts-reveal.ts-reveal--left {
        transform: translateX(-32px);
    }

    html.ts-reveal-ready .ts-reveal.ts-reveal--right {
        transform: translateX(32px);
    }

    html.ts-reveal-ready .ts-reveal.ts-reveal--scale {
        transform: scale(.975);
    }

    html.ts-reveal-ready .ts-reveal.is-visible {
        opacity: 1;
        transform: none;
    }

    html.ts-reveal-ready .ts-reveal[data-ts-reveal-delay="1"] {
        transition-delay: .08s;
    }

    html.ts-reveal-ready .ts-reveal[data-ts-reveal-delay="2"] {
        transition-delay: .16s;
    }

    html.ts-reveal-ready .ts-reveal[data-ts-reveal-delay="3"] {
        transition-delay: .24s;
    }

@media (max-width: 575.98px) {
    html.ts-reveal-ready .ts-reveal,
    html.ts-reveal-ready .ts-reveal.ts-reveal--left,
    html.ts-reveal-ready .ts-reveal.ts-reveal--right {
        transform: translateY(18px);
    }

        html.ts-reveal-ready .ts-reveal.ts-reveal--scale {
            transform: scale(.985);
        }
}

@media (prefers-reduced-motion: reduce) {
    html.ts-reveal-ready .ts-reveal,
    html.ts-reveal-ready .ts-reveal.ts-reveal--left,
    html.ts-reveal-ready .ts-reveal.ts-reveal--right,
    html.ts-reveal-ready .ts-reveal.ts-reveal--scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Alloy refurbishment three-step process: improve text contrast and readability */

.refurb-process__number {
    color: #b9ffad;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 2px;
}

.refurb-process__text {
    color: #fff;
}

/* Homepage-only sections (moved from Default.aspx) */

.award-strip {
    background: #39FF14;
    padding: .4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.award-trophy {
    width: 14px;
    height: 14px;
    fill: #000;
    flex-shrink: 0;
    animation: trophy-bounce 2s ease-in-out infinite;
}

    .award-trophy:last-child {
        animation-delay: .3s;
    }

@keyframes trophy-bounce {
    0%,100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-3px) rotate(-5deg);
    }

    75% {
        transform: translateY(-1px) rotate(5deg);
    }
}

.award-text {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #000;
    font-family: var(--ts-font-heading);
    white-space: nowrap;
}

.award-pulse {
    position: absolute;
    inset: 0;
    background: #39FF14;
    animation: pulse-bg 2.5s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulse-bg {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: .82;
    }
}

.award-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

.ts-track {
    display: flex;
    width: max-content;
    animation: ts-scroll 30s linear infinite;
}

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

@keyframes ts-scroll {
    0% {
        transform: translateX(0);
    }

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

.ts-b {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 2rem;
    white-space: nowrap;
    cursor: default;
}

.ts-name {
    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: 4px !important;
    text-transform: uppercase !important;
    color: #39FF14 !important;
    font-family: var(--ts-font-heading) !important;
    -webkit-text-stroke: .5px #39FF14 !important;
}

.ts-sep {
    color: rgba(57,255,20,.2) !important;
    font-weight: 900 !important;
    font-family: var(--ts-font-heading) !important;
}

.home-page {
    background: #000;
    color: #fff;
}

    .home-page .award-strip {
        margin: 0;
    }

.home-video-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    aspect-ratio: 2440 / 1080;
}

.home-video-hero__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-tyre-finder {
    position: relative;
    background: #000;
    padding: clamp(2.25rem,4vw,4.75rem) 0 clamp(2.75rem,5vw,5.5rem);
    overflow: hidden;
}

.home-tyre-finder__grid {
    display: grid;
    grid-template-columns: minmax(0,1.02fr) minmax(360px,.98fr);
    grid-template-areas: 'photo panel' 'photo booking';
    align-items: center;
    gap: clamp(1.5rem,3vw,3.75rem) clamp(2rem,4vw,5rem);
}

.home-tyre-finder__photo {
    grid-area: photo;
    align-self: stretch;
}

    .home-tyre-finder__photo img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: clamp(430px,42vw,700px);
        object-fit: cover;
    }

.home-tyre-finder__panel {
    grid-area: panel;
    min-width: 0;
}

.home-tyre-finder__booking {
    grid-area: booking;
    align-self: start;
}

    .home-tyre-finder__booking img {
        display: block;
        width: 100%;
        height: auto;
    }

.home-tyre-finder .ts-section {
    margin: 0;
}

.home-tyre-finder .ts-frame {
    width: 100%;
    max-width: none;
}

.home-brands {
    overflow: hidden;
    background: #000;
}

@media(max-width:991.98px) {
    .home-tyre-finder__grid {
        grid-template-columns: 1fr;
        grid-template-areas: 'photo' 'panel' 'booking';
    }

    .home-tyre-finder__photo img {
        min-height: 0;
        height: auto;
    }
}

@media(max-width:575.98px) {
    .home-tyre-finder {
        padding-block: 1.5rem 2.5rem;
    }

    .home-tyre-finder__grid {
        gap: 1.5rem;
    }
}

.videocontainer {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin: 25px 0 15px;
}

.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Telephone links throughout the website */

a[href^="tel:"]:not(.site-header__call) {
    color: #39FF14 !important;
    -webkit-text-fill-color: #39FF14;
    text-decoration: none !important;
}

.home-page .ts-rd a:hover,
.home-page .ts-rd a:focus {
    text-decoration: underline !important;
}

/* Reduce desktop header spacing */

@media (min-width: 992px) {
    .home-page header {
        padding-bottom: 0 !important;
    }

    .home-page .home-video-hero {
        margin-top: 0 !important;
    }
}

/* Homepage - compact desktop tyre finder */
@media (min-width: 992px) and (max-width: 1399.98px) {

    .home-page .home-tyre-finder__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 1.5rem;
    }

    .home-page .ts-finder-outer {
        padding: 1rem;
    }

    .home-page .ts-fw {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-page .ts-fl {
        padding: 1.5rem;
        border-right: 0;
    }

    .home-page .ts-ri {
        display: none;
    }
}

@media (min-width: 1400px) {
    .home-page .ts-fw {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    }
}

/* Explicit font roles for mixed typography components */
.wa-printout__line2,
.refurb-price__value,
.service-location-card__label {
    font-family: var(--ts-font-heading);
}

.wa-printout__line1,
.wa-printout__line3,
.refurb-price__label,
.service-location-card__address,
.service-location-card__button {
    font-family: var(--ts-font-ui);
}

.service-location-card__button {
    font-weight: 700;
}


/* ============================================
   HOMEPAGE - CUSTOMER REVIEWS
   ============================================ */

.home-reviews {
    background: var(--ts-black);
    padding-top: clamp(1rem, 2vw, 2rem);
    padding-bottom: var(--ts-section-space);
}

.home-reviews .container {
    max-width: 1400px;
}

.home-reviews__title {
    font-family: var(--ts-font-heading);
    font-weight: 900;
    color: var(--ts-white);
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    margin: 0 0 1.5rem;
}

.home-reviews__title span {
    color: var(--ts-green);
}



.landing-page-copy a {
    color: var(--ts-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

    .landing-page-copy a:hover,
    .landing-page-copy a:focus-visible {
        color: var(--ts-white);
    }