/* Torque — supplemental layout rules */

.hero-slide {
    position: relative;
}

.hero-slide[data-active="false"] {
    display: none;
}

.card-media {
    display: block;
}

.card-name a {
    display: block;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7a7a7a;
    padding: 26px 0 0;
    flex-wrap: wrap;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb span {
    color: #4a4a4a;
}

.filter-label {
    font-size: 9.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6f6f6f;
    flex: 0 0 auto;
}

.list-empty {
    border: 1px solid var(--line);
    padding: 64px 24px;
    text-align: center;
    color: #8a8a8a;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line-soft);
    padding: clamp(40px, 5vw, 72px) 0;
}

.cta-band h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(28px, 3.4vw, 50px);
    line-height: 0.95;
    letter-spacing: 0.02em;
}

.cta-band p {
    color: var(--muted);
    font-size: 14.5px;
    margin-top: 10px;
    max-width: 52ch;
}

.gallery-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gallery-strip figure {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--line-soft);
}

.gallery-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.gallery-strip figure:hover img {
    transform: scale(1.03);
}

.price-line {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1;
    letter-spacing: 0.02em;
}

.aside-divider {
    height: 1px;
    background: var(--line-soft);
}

.legal-list li a::before {
    display: none;
}

.section-head--stack {
    display: block;
}

@media (max-width: 900px) {
    .gallery-strip {
        grid-template-columns: 1fr;
    }
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
    border-bottom-color: #ff6b57;
}

.form-input.is-invalid::placeholder,
.form-textarea.is-invalid::placeholder {
    color: #ff9d90;
}

.form-note[role="alert"] {
    font-weight: 600;
}

/* ------------------------------------------------------------------
   Listing pages — category / brand gallery
   ------------------------------------------------------------------ */

.listing-head {
    padding: clamp(96px, 11vw, 150px) 0 clamp(22px, 2.6vw, 40px);
}

.listing-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: clamp(8px, 1.2vw, 18px);
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(40px, 7.6vw, 104px);
    line-height: 0.9;
    letter-spacing: 0.01em;
}

.listing-title-dim {
    color: #6c6c6c;
}

.listing-title-name {
    color: #ffffff;
}

.listing-body {
    padding-bottom: clamp(56px, 7vw, 110px);
}

.listing-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: clamp(18px, 2.2vw, 30px);
}

.listing-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border: 1px solid #2e2e2e;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #c9c9c9;
    background: transparent;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.listing-tab:hover {
    color: #ffffff;
    border-color: #6a6a6a;
}

.listing-tab.is-active {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
}

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

.gallery-card {
    display: flex;
    flex-direction: column;
    background: #000000;
    border: 1px solid #1c1c1c;
}

.gallery-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.gallery-card:hover .gallery-media img {
    transform: scale(1.03);
}

.gallery-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px 18px;
}

.gallery-name {
    font-family: var(--font-display);
    font-size: clamp(17px, 1.6vw, 21px);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1;
}

.gallery-price {
    color: #a9a9a9;
    font-size: 13px;
    margin-top: 8px;
    letter-spacing: 0.04em;
}

.gallery-link {
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    border-bottom: 1px solid #4a4a4a;
    padding-bottom: 3px;
    white-space: nowrap;
}

.gallery-link:hover {
    border-color: #f6ff45;
    color: #f6ff45;
}

/* ------------------------------------------------------------------
   Home hero — irregular editorial crop, title bottom-left
   ------------------------------------------------------------------ */

.hero {
    padding: clamp(84px, 9vw, 120px) 0 0;
}

.hero-stage {
    position: relative;
    aspect-ratio: 16 / 7.4;
    overflow: hidden;
    background: #000000;
}

.hero-stage::after {
    display: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 54%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 8%;
    z-index: 1;
    clip-path: polygon(0% 16%, 8% 16%, 8% 0%, 52% 0%, 52% 7%, 100% 7%, 100% 82%, 92% 82%, 92% 100%, 30% 100%, 30% 88%, 0% 88%);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transform: none;
    animation: none;
}

.hero-steps {
    display: none;
}

.hero-content {
    position: absolute;
    left: clamp(18px, 5vw, 74px);
    bottom: clamp(22px, 4vw, 58px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(14px, 1.6vw, 22px);
    max-width: 62%;
    z-index: 3;
    text-align: left;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(44px, 7.4vw, 118px);
    line-height: 0.86;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    text-align: left;
}

.hero-cta {
    margin: 0;
}

.hero-dots {
    position: absolute;
    right: clamp(18px, 4vw, 56px);
    bottom: clamp(20px, 3vw, 34px);
    display: flex;
    gap: 8px;
    z-index: 4;
}

.hero-dots .hero-dot {
    width: 26px;
    height: 3px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
}

.hero-dots .hero-dot[aria-current="true"] {
    background: #ffffff;
}

/* ------------------------------------------------------------------
   Statistics heading
   ------------------------------------------------------------------ */

.stats-head {
    display: flex;
    justify-content: center;
    text-align: center;
    padding-bottom: clamp(26px, 3vw, 44px);
}

.stats-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(26px, 3.4vw, 48px);
    letter-spacing: 0.03em;
    line-height: 1;
}

/* ------------------------------------------------------------------
   Testimonials — starred horizontal rail
   ------------------------------------------------------------------ */

.story-rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
}

.story-rail .quote-card {
    flex: 0 0 clamp(268px, 30%, 392px);
    scroll-snap-align: start;
}

.quote-stars {
    display: flex;
    gap: 5px;
    color: #f6ff45;
    margin-bottom: 14px;
}

.quote-stars svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ------------------------------------------------------------------
   Car detail — title fully above the media
   ------------------------------------------------------------------ */

.detail-hero .wrap {
    position: relative;
    z-index: 3;
}

.detail-hero .detail-title {
    color: #ffffff;
}

.detail-hero .detail-media {
    position: relative;
    z-index: 1;
    margin: clamp(16px, 2.2vw, 32px) auto 0;
    overflow: hidden;
}

.detail-hero .detail-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ------------------------------------------------------------------
   404 page buttons
   ------------------------------------------------------------------ */

.notfound .btn {
    margin: 8px 8px 0 0;
}

/* ------------------------------------------------------------------
   Mobile menu — compact dropdown
   ------------------------------------------------------------------ */

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

.mobile-panel {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
}

.mobile-acc {
    border-top: 1px solid var(--line-soft);
}

.mobile-acc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    padding: 14px 0;
    background: none;
    border: 0;
    color: #ffffff;
    font: inherit;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.mobile-acc[data-open="true"] .mobile-acc-head .nav-caret {
    transform: rotate(180deg);
}

.mobile-acc-panel {
    display: none;
    padding: 2px 0 14px;
}

.mobile-acc-panel a {
    padding-left: 14px;
}

.mobile-acc[data-open="true"] .mobile-acc-panel {
    display: block;
}

.mobile-cta {
    margin-top: 16px;
    justify-content: center;
}

@media (max-width: 1100px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hero {
        padding-top: 74px;
    }

    .hero-stage {
        aspect-ratio: auto;
    }

    .hero-slide {
        position: relative;
        inset: auto;
    }

    .hero-media {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        aspect-ratio: 4 / 3.4;
        clip-path: polygon(0% 10%, 18% 10%, 18% 0%, 100% 0%, 100% 86%, 74% 86%, 74% 100%, 0% 100%);
    }

    .hero-content {
        position: static;
        max-width: none;
        padding: 22px 18px 0;
        gap: 16px;
    }

    .hero-title {
        font-size: clamp(36px, 11vw, 62px);
    }

    .hero-dots {
        position: static;
        padding: 18px 18px 0;
        justify-content: flex-start;
    }

    .story-rail .quote-card {
        flex: 0 0 82%;
    }
}

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

    .listing-tab {
        padding: 10px 16px;
        font-size: 10px;
    }
}

/* ==================================================================
   Round 3 — reference fidelity pass
   Hero composition, centered section rhythm, black fleet cards,
   blog image tiles, FAQ line art and arrow icons, compact mobile menu.
   ================================================================== */

/* --- Shared centered section heading ----------------------------- */
.section-head--center {
    display: block;
    text-align: center;
}

.section-head--center .section-intro {
    margin: 14px auto 0;
    max-width: 62ch;
    text-align: center;
}

/* --- Hero: media block, title + CTA in the black band ------------- */
.hero {
    padding: clamp(84px, 9vw, 118px) 0 0;
}

.hero-stage {
    aspect-ratio: auto;
    overflow: visible;
}

.hero-slide {
    position: relative;
    inset: auto;
}

.hero-slide::after {
    display: none;
}

.hero-media {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: clamp(320px, 54vh, 588px);
    aspect-ratio: auto;
    clip-path: polygon(0% 15%, 9% 15%, 9% 0%, 43% 0%, 43% 6%, 100% 6%, 100% 81%, 90% 81%, 90% 100%, 27% 100%, 27% 90%, 0% 90%);
}

.hero-content {
    position: static;
    left: auto;
    bottom: auto;
    max-width: none;
    padding: clamp(20px, 2.2vw, 32px) clamp(16px, 1.6vw, 28px) clamp(22px, 2.4vw, 34px);
    gap: clamp(12px, 1.4vw, 18px);
    text-align: left;
}

.hero-title {
    color: #ffffff;
    font-size: clamp(42px, 6.8vw, 106px);
}

.hero-cta {
    background: #f6ff45;
    border-color: #f6ff45;
    color: #000000;
}

.hero-cta:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
}

.hero-dots {
    right: clamp(16px, 1.6vw, 28px);
    bottom: clamp(26px, 2.6vw, 40px);
}

/* --- Why Torque: quote and portrait card ------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    gap: clamp(28px, 4vw, 68px);
    align-items: start;
}

.why-quote {
    max-width: 68ch;
}

.why-mark {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(64px, 6.4vw, 108px);
    line-height: 0.62;
    color: #f6ff45;
    margin-bottom: 18px;
}

.why-quote p {
    color: #c9c9c9;
    font-size: clamp(15px, 1.1vw, 16.5px);
    line-height: 1.78;
}

.why-quote p + p {
    margin-top: 16px;
}

.why-team {
    background: #070707;
    border: 1px solid #1c1c1c;
    padding: 12px;
}

.why-portrait {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.why-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-team-name {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: clamp(18px, 1.5vw, 22px);
    line-height: 1;
    margin-top: 14px;
}

.why-team-role {
    color: #8a8a8a;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 7px;
}

/* --- Our process: car line art ----------------------------------- */
.process-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: start;
}

.process-art {
    color: #8f8f8f;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.process-art svg {
    width: clamp(150px, 15vw, 216px);
    height: auto;
}

/* --- Blogs: image tile gallery ----------------------------------- */
.blog-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.blog-tile {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #060606;
}

.blog-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.blog-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.68) 100%);
}

.blog-tile-title {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 20px;
    z-index: 2;
    text-align: center;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: clamp(15px, 1.5vw, 21px);
    line-height: 1.05;
    color: #ffffff;
}

.blog-tile:hover img {
    transform: scale(1.04);
}

/* --- Fleet: black image cards ------------------------------------ */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.1vw, 18px);
}

.fleet-card {
    display: flex;
    flex-direction: column;
    background: #070707;
    border: 1px solid #171717;
}

.fleet-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    background: #000000;
    padding: 10px;
}

.fleet-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fleet-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 16px;
}

.fleet-name {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: clamp(15px, 1.3vw, 19px);
    line-height: 1;
}

.fleet-price {
    color: #a9a9a9;
    font-size: 12.5px;
    letter-spacing: 0.04em;
    margin-top: 8px;
}

.fleet-link {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    border-bottom: 1px solid #4a4a4a;
    padding-bottom: 3px;
    white-space: nowrap;
}

.fleet-link:hover {
    color: #f6ff45;
    border-color: #f6ff45;
}

.fleet-more {
    display: flex;
    justify-content: flex-end;
    margin-top: clamp(18px, 2.2vw, 30px);
}

.link-more {
    font-size: 11.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
    border-bottom: 1px solid #f6ff45;
    padding-bottom: 4px;
}

.link-more:hover {
    color: #f6ff45;
}

/* --- FAQ: line art, emphasized pitch, arrow icons ----------------- */
.faq-art {
    color: #7c7c7c;
    margin: clamp(22px, 2.6vw, 34px) 0;
    max-width: 260px;
}

.faq-art svg {
    width: 100%;
    height: auto;
}

.faq-pitch {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.14;
    font-size: clamp(18px, 1.8vw, 26px);
    color: #ffffff;
    max-width: 24ch;
}

.faq-cta {
    display: flex;
    justify-content: center;
    margin-top: clamp(16px, 2vw, 24px);
}

.accordion--arrow .acc-sign {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f6ff45;
    border-color: #f6ff45;
}

.accordion--arrow .acc-item[data-open="true"] .acc-sign {
    background: #f6ff45;
    border-color: #f6ff45;
}

.accordion--arrow .acc-sign::before {
    content: "\2197";
    position: static;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    background: none;
    transform: none;
    color: #000000;
    font-size: 14px;
    line-height: 1;
    display: block;
}

.accordion--arrow .acc-sign::after {
    content: none;
    display: none;
}

.accordion--arrow .acc-item[data-open="true"] .acc-sign::before {
    background: none;
    color: #000000;
}

/* --- Compact floating mobile menu -------------------------------- */
.nav-shell {
    position: relative;
}

.mobile-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    margin-top: 0;
    padding: 6px 20px 16px;
    background: #050505;
    border: 1px solid #262626;
    border-radius: 16px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.mobile-panel a {
    padding: 11px 0;
    font-size: 15px;
    letter-spacing: 0.06em;
}

.mobile-panel a:last-child {
    border-bottom: 0;
}

.mobile-acc {
    border-top: 0;
}

.mobile-acc-head {
    padding: 11px 0;
    font-size: 15px;
    letter-spacing: 0.06em;
}

.mobile-acc-panel {
    padding: 0 0 8px;
}

.mobile-acc-panel a {
    padding: 8px 0 8px 14px;
    font-size: 13.5px;
    color: #b9b9b9;
}

.mobile-group-title {
    color: #6f6f6f;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 10px 0 4px 14px;
}

.mobile-panel .mobile-cta {
    display: inline-flex;
    width: auto;
    margin-top: 14px;
    padding: 11px 22px;
    border-bottom: 0;
}

/* --- Responsive -------------------------------------------------- */
@media (max-width: 1100px) {
    .fleet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hero {
        padding-top: 74px;
    }

    .hero-media {
        height: clamp(520px, 71vh, 640px);
        clip-path: polygon(0% 8%, 21% 8%, 21% 0%, 100% 0%, 100% 89%, 69% 89%, 69% 100%, 0% 100%);
    }

    .hero-content {
        padding: 20px 18px 0;
    }

    .hero-title {
        font-size: clamp(34px, 10.4vw, 58px);
    }

    .hero-dots {
        position: static;
        padding: 16px 18px 22px;
        justify-content: flex-start;
    }

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

    .why-team {
        max-width: 320px;
        margin: 6px auto 0;
    }

    .process-art {
        justify-content: center;
        margin-bottom: 22px;
    }

    .blog-tiles {
        grid-template-columns: 1fr;
    }

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

    .fleet-more {
        justify-content: center;
    }

    .fleet-head {
        text-align: left;
    }

    .fleet-head .section-intro {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    .faq-art {
        max-width: 220px;
    }
}

@media (max-width: 700px) {
    .mobile-panel {
        padding: 4px 18px 14px;
    }
}


