/* Torque — car dealer template design system
   Palette, type and hairline structure derived from the reference visual direction. */

:root {
    --bg: #000000;
    --surface: #050505;
    --panel: #0a0a0a;
    --raise: #111111;
    --line: #333333;
    --line-soft: #262626;
    --dim: #474747;
    --muted: #cccccc;
    --soft: #8f8f8f;
    --white: #ffffff;
    --accent: #f6ff45;
    --font-display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
    --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
    --pad: 24px;
    --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}

::selection {
    background: var(--accent);
    color: #000;
}

/* ---------- layout ---------- */

.wrap {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 var(--pad);
}

.section {
    padding: clamp(56px, 7vw, 112px) 0;
    border-top: 1px solid var(--line-soft);
}

.section--flush {
    padding-top: 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: clamp(28px, 3.4vw, 52px);
    flex-wrap: wrap;
}

.section-intro {
    max-width: 520px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

.display {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.012em;
    line-height: 0.9;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.012em;
    line-height: 0.9;
    font-size: clamp(36px, 4.6vw, 68px);
}

.eyebrow {
    display: inline-block;
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--soft);
    margin-bottom: 14px;
}

.muted {
    color: var(--muted);
}

.rule {
    height: 1px;
    background: var(--line-soft);
    border: 0;
}

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
    white-space: nowrap;
}

.btn--accent {
    background: var(--accent);
    color: #000;
}

.btn--accent:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

.btn--ghost {
    border-color: #3a3a3a;
    color: var(--white);
    background: transparent;
}

.btn--ghost:hover {
    border-color: var(--white);
    background: #ffffff;
    color: #000;
}

.btn--sm {
    padding: 10px 18px;
    font-size: 10.5px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
}

.link-arrow::after {
    content: "→";
    transition: transform 0.3s var(--ease);
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

/* ---------- header / nav ---------- */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    padding: 18px var(--pad);
    pointer-events: none;
}

.nav-shell {
    max-width: 960px;
    margin: 0 auto;
    pointer-events: auto;
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 9px 10px 9px 20px;
    border: 1px solid #2b2b2b;
    border-radius: 999px;
    background: rgba(8, 8, 8, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}

.brand-mark {
    width: 16px;
    height: 16px;
    margin-right: 7px;
    flex: 0 0 auto;
}

.brand sup {
    font-family: var(--font-body);
    font-size: 9px;
    letter-spacing: 0;
    margin-top: -8px;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0 auto;
}

.nav-link {
    font-size: 13px;
    color: #ededed;
    letter-spacing: 0.01em;
    padding: 6px 0;
    position: relative;
    background: none;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--accent);
    transition: right 0.35s var(--ease);
}

.nav-link:hover::after,
.nav-link[aria-expanded="true"]::after {
    right: 0;
}

.nav-caret {
    width: 8px;
    height: 8px;
    border-right: 1px solid #9a9a9a;
    border-bottom: 1px solid #9a9a9a;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.3s var(--ease);
}

.nav-drop {
    position: relative;
}

.nav-drop-panel {
    position: absolute;
    top: calc(100% + 18px);
    left: -24px;
    width: 520px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 26px;
    padding: 22px 24px 24px;
    background: #070707;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}

.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel,
.nav-drop-panel[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-drop:hover .nav-caret,
.nav-drop:focus-within .nav-caret {
    transform: rotate(225deg) translateY(-1px);
}

.nav-drop-col-title {
    font-size: 9.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6f6f6f;
    padding-bottom: 8px;
    border-bottom: 1px solid #1e1e1e;
    margin-bottom: 6px;
}

.nav-drop-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-drop-list a {
    font-size: 13.5px;
    color: #d5d5d5;
    padding: 5px 0;
    transition: color 0.2s, padding-left 0.25s var(--ease);
}

.nav-drop-list a:hover {
    color: var(--accent);
    padding-left: 5px;
}

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

.nav-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border: 1px solid #2f2f2f;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    position: absolute;
    left: 50%;
    width: 14px;
    height: 1px;
    background: #fff;
    content: "";
    transform: translateX(-50%);
    transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle span {
    top: 50%;
}

.nav-toggle span::before {
    top: -5px;
}

.nav-toggle span::after {
    top: 5px;
}

.nav-toggle[aria-expanded="true"] span {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
    transform: translateX(-50%) rotate(45deg) translateY(4px);
}

.nav-toggle[aria-expanded="true"] span::after {
    transform: translateX(-50%) rotate(-45deg) translateY(-4px);
}

.mobile-panel {
    display: none;
    margin-top: 10px;
    padding: 20px 22px 26px;
    background: #080808;
    border: 1px solid var(--line);
    border-radius: 20px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

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

.mobile-group-title {
    font-size: 9.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6f6f6f;
    margin: 18px 0 8px;
}

.mobile-panel a {
    display: block;
    padding: 8px 0;
    font-size: 16px;
    color: #ececec;
    border-bottom: 1px solid #161616;
}

.mobile-panel .btn {
    width: 100%;
    margin-top: 20px;
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    padding-top: 96px;
    overflow: hidden;
}

.hero-stage {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #000;
}

.hero-media {
    position: relative;
    aspect-ratio: 16 / 8.4;
    width: 100%;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transform: scale(1.02);
    animation: heroIn 1.4s var(--ease) both;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: scale(1.08);
    }
    to {
        opacity: 0.82;
        transform: scale(1.02);
    }
}

.hero-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 38%, rgba(0, 0, 0, 0.72) 78%, #000 100%);
    pointer-events: none;
}

.hero-steps {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-step {
    position: absolute;
    height: 20%;
    background: #000;
}

.hero-step:nth-child(1) {
    top: 0;
    left: 0;
    width: 7%;
}

.hero-step:nth-child(2) {
    top: 20%;
    left: 0;
    width: 4.5%;
}

.hero-step:nth-child(3) {
    top: 40%;
    left: 0;
    width: 2%;
}

.hero-step:nth-child(4) {
    top: 0;
    right: 0;
    width: 5%;
}

.hero-step:nth-child(5) {
    top: 20%;
    right: 0;
    width: 3%;
}

.hero-step:nth-child(6) {
    top: 40%;
    right: 0;
    width: 1.5%;
}

.hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(28px, 5vw, 64px);
    z-index: 3;
    text-align: center;
    padding: 0 var(--pad);
}

.hero-kicker {
    font-size: 10.5px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(54px, 11vw, 164px);
    line-height: 0.86;
    letter-spacing: 0.015em;
    color: #ffffff;
    text-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.hero-sub {
    margin: 18px auto 0;
    max-width: 520px;
    font-size: 14px;
    color: #cfcfcf;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.hero-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
}

.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: #4d4d4d;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.hero-dot[aria-current="true"] {
    background: var(--white);
    transform: scale(1.25);
}

.hero-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7d7d7d;
    flex-wrap: wrap;
}

.hero-foot strong {
    color: #fff;
    font-weight: 500;
}

/* ---------- cards ---------- */

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

.card {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    transition: background 0.35s var(--ease);
}

.card:hover {
    background: #0b0b0b;
}

.card-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 60%, #171717 0%, #000 72%);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease), opacity 0.4s;
}

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

.card-body {
    padding: 20px 20px 0;
}

.card-name {
    font-family: var(--font-display);
    font-size: 23px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1;
}

.card-brand {
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7f7f7f;
    margin-top: 8px;
}

.card-price {
    font-size: 13px;
    color: #bdbdbd;
    margin-top: 6px;
}

.card-foot {
    margin-top: auto;
    padding: 16px 20px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card-foot .link-arrow {
    font-size: 10px;
    color: #e6e6e6;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag {
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b4b4b4;
    border: 1px solid #2f2f2f;
    border-radius: 999px;
    padding: 4px 9px;
}

/* ---------- home specifics ---------- */

.fleet-head {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: end;
    margin-bottom: clamp(28px, 3.4vw, 52px);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}

.why-body p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 56ch;
}

.why-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.why-media figure {
    overflow: hidden;
    border: 1px solid var(--line-soft);
    aspect-ratio: 3 / 4;
}

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

.why-media figure:hover img {
    transform: scale(1.04);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--line);
}

.stat {
    padding: clamp(22px, 2.6vw, 38px) clamp(18px, 2vw, 30px);
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: 0;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(42px, 5.4vw, 76px);
    line-height: 0.9;
    letter-spacing: 0.02em;
}

.stat-label {
    margin-top: 10px;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7f7f7f;
}

.process-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(28px, 4vw, 72px);
    align-items: start;
}

.accordion {
    border-top: 1px solid var(--line);
}

.acc-item {
    border-bottom: 1px solid var(--line);
}

.acc-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 0;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.acc-no {
    font-size: 10.5px;
    letter-spacing: 0.14em;
    color: #7a7a7a;
    width: 34px;
    flex: 0 0 auto;
}

.acc-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 34px);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    flex: 1;
    line-height: 1.05;
}

.acc-sign {
    position: relative;
    width: 26px;
    height: 26px;
    border: 1px solid #383838;
    border-radius: 50%;
    flex: 0 0 auto;
    transition: border-color 0.3s, background 0.3s;
}

.acc-sign::before,
.acc-sign::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #d8d8d8;
    transform: translate(-50%, -50%);
    transition: transform 0.3s var(--ease), background 0.3s;
}

.acc-sign::before {
    width: 9px;
    height: 1px;
}

.acc-sign::after {
    width: 1px;
    height: 9px;
}

.acc-item[data-open="true"] .acc-sign {
    background: var(--accent);
    border-color: var(--accent);
}

.acc-item[data-open="true"] .acc-sign::before,
.acc-item[data-open="true"] .acc-sign::after {
    background: #000;
}

.acc-item[data-open="true"] .acc-sign::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease);
}

.acc-item[data-open="true"] .acc-panel {
    max-height: 460px;
}

.acc-inner {
    padding: 0 40px 26px 52px;
    color: #b9b9b9;
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 62ch;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line);
}

.quote-card {
    background: var(--surface);
    padding: clamp(22px, 2.4vw, 34px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quote-text {
    font-size: 14.5px;
    line-height: 1.68;
    color: #e8e8e8;
}

.quote-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 6px;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #3a3a3a;
    display: grid;
    place-items: center;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #dcdcdc;
    flex: 0 0 auto;
}

.quote-name {
    font-size: 13px;
    color: #fff;
}

.quote-role {
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7f7f7f;
    margin-top: 3px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line);
}

.blog-card {
    background: var(--surface);
    display: flex;
    flex-direction: column;
    transition: background 0.35s var(--ease);
}

.blog-card:hover {
    background: #0b0b0b;
}

.blog-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

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

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

.blog-body {
    padding: clamp(20px, 2.2vw, 30px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7f7f7f;
}

.blog-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.4vw, 34px);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.02em;
}

.blog-excerpt {
    font-size: 14px;
    color: #bdbdbd;
    line-height: 1.65;
}

.blog-body .link-arrow {
    margin-top: auto;
}

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

.faq-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(28px, 4vw, 72px);
    align-items: start;
}

.faq-side p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 46ch;
}

.faq-side .btn {
    margin-top: 26px;
}

/* ---------- footer ---------- */

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 0;
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    padding: clamp(40px, 5vw, 72px) 0 clamp(32px, 4vw, 56px);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.footer-copy {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: #8a8a8a;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.social {
    width: 34px;
    height: 34px;
    border: 1px solid #2f2f2f;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: border-color 0.3s, background 0.3s, color 0.3s;
    color: #cfcfcf;
}

.social:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.social svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.footer-col-title {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6f6f6f;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #d5d5d5;
    padding: 6px 0;
    transition: color 0.25s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-wordmark {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(88px, 21.5vw, 330px);
    line-height: 0.72;
    letter-spacing: 0.01em;
    text-align: center;
    color: #161616;
    user-select: none;
    margin: 0;
    transform: translateY(0.12em);
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
    padding: clamp(132px, 15vw, 200px) 0 clamp(36px, 4vw, 64px);
    border-bottom: 1px solid var(--line-soft);
    text-align: center;
}

.page-hero .eyebrow {
    margin-bottom: 18px;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(52px, 9vw, 132px);
    line-height: 0.86;
    letter-spacing: 0.015em;
}

.page-hero p {
    margin: 20px auto 0;
    max-width: 620px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
}

.page-hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
}

/* ---------- filters ---------- */

.filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line-soft);
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
    display: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid #2f2f2f;
    border-radius: 999px;
    padding: 8px 15px;
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #cfcfcf;
    white-space: nowrap;
    transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.chip:hover {
    border-color: #6a6a6a;
    color: #fff;
}

.chip[aria-current="true"] {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.filter-sep {
    width: 1px;
    height: 18px;
    background: #2a2a2a;
    flex: 0 0 auto;
    margin: 0 4px;
}

.grid-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 0;
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7c7c7c;
}

/* ---------- detail ---------- */

.detail-hero {
    position: relative;
    padding: clamp(116px, 13vw, 168px) 0 0;
    text-align: center;
    overflow: hidden;
}

.detail-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(48px, 10vw, 152px);
    line-height: 0.84;
    letter-spacing: 0.015em;
    color: #7c7c7c;
}

.detail-brand-line {
    font-size: 10.5px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #6f6f6f;
    margin-bottom: 18px;
}

.detail-media {
    position: relative;
    margin: -3.2vw auto 0;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    z-index: 2;
}

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

.detail-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 22px 0 clamp(28px, 3.5vw, 48px);
}

.detail-band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.detail-band-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.detail-cell {
    padding: clamp(24px, 3vw, 44px) clamp(20px, 3vw, 44px);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-cell:last-child {
    border-right: 0;
}

.cell-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7a7a7a;
}

.speed-value {
    font-family: var(--font-display);
    font-size: clamp(44px, 6.6vw, 92px);
    line-height: 0.9;
    letter-spacing: 0.02em;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.speed-value span {
    font-family: var(--font-body);
    font-size: clamp(11px, 1vw, 13px);
    letter-spacing: 0.18em;
    color: #8a8a8a;
}

.price-value {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.4vw, 62px);
    line-height: 1;
    letter-spacing: 0.02em;
}

.detail-description {
    max-width: 66ch;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.75;
}

.detail-description p + p {
    margin-top: 12px;
}

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

.spec-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
}

.spec-key {
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7f7f7f;
}

.spec-val {
    font-size: 14.5px;
    color: #f0f0f0;
    text-align: right;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(28px, 4vw, 72px);
    align-items: start;
}

.detail-aside {
    border: 1px solid var(--line);
    padding: clamp(22px, 2.4vw, 32px);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 96px;
}

.detail-aside .btn {
    width: 100%;
}

.engine-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(24px, 3.4vw, 56px);
    align-items: start;
}

.engine-media {
    border: 1px solid var(--line-soft);
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.engine-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prose p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    margin-top: 14px;
    max-width: 76ch;
}

.prose h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(24px, 2.4vw, 34px);
    letter-spacing: 0.02em;
    margin-top: 38px;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose ul {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.prose li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
}

.prose li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 1px;
    background: var(--accent);
}

/* ---------- about / contact ---------- */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}

.about-block + .about-block {
    margin-top: clamp(36px, 4vw, 56px);
}

.about-block h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(26px, 3vw, 42px);
    letter-spacing: 0.02em;
    line-height: 0.95;
}

.about-block p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    margin-top: 14px;
    max-width: 62ch;
}

.about-media {
    display: grid;
    gap: 12px;
    position: sticky;
    top: 96px;
}

.about-media figure {
    border: 1px solid var(--line-soft);
    overflow: hidden;
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line);
}

.team-card {
    background: var(--surface);
    display: flex;
    flex-direction: column;
}

.team-media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

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

.team-card:hover .team-media img {
    transform: scale(1.04);
}

.team-body {
    padding: 18px 20px 22px;
}

.team-name {
    font-family: var(--font-display);
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.team-role {
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #828282;
    margin-top: 6px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}

.form-field {
    display: block;
    border-bottom: 1px solid var(--line);
    padding: 14px 0 12px;
    transition: border-color 0.25s;
}

.form-field:focus-within {
    border-color: var(--accent);
}

.form-label {
    display: block;
    font-size: 9.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7d7d7d;
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: transparent;
    border: 0;
    outline: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    padding: 0;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #5f5f5f;
}

.form-select {
    appearance: none;
    cursor: pointer;
}

.form-select option {
    background: #0a0a0a;
    color: #fff;
}

.form-textarea {
    resize: vertical;
    min-height: 54px;
}

.toggle-row {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.toggle {
    border: 1px solid #2f2f2f;
    border-radius: 999px;
    padding: 9px 20px;
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: transparent;
    color: #cfcfcf;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.toggle[aria-pressed="true"] {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.form-note {
    font-size: 11.5px;
    color: #6f6f6f;
    margin-top: 16px;
}

.contact-panel {
    border: 1px solid var(--line);
    background: var(--surface);
}

.contact-panel-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.contact-panel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-panel-body {
    padding: clamp(22px, 2.4vw, 32px);
    display: grid;
    gap: 22px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 13.5px;
}

.hours-row span:first-child {
    color: #b9b9b9;
}

.hours-row span:last-child {
    color: #fff;
}

.contact-lines {
    font-size: 13.5px;
    color: #bdbdbd;
    line-height: 1.75;
}

.contact-lines a:hover {
    color: var(--accent);
}

/* ---------- blog article ---------- */

.article-head {
    padding: clamp(120px, 13vw, 176px) 0 clamp(26px, 3vw, 44px);
    text-align: center;
}

.article-head h1 {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(38px, 6.6vw, 92px);
    line-height: 0.9;
    letter-spacing: 0.015em;
    max-width: 20ch;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7f7f7f;
}

.article-media {
    max-width: 1180px;
    margin: 0 auto;
    border: 1px solid var(--line-soft);
    aspect-ratio: 16 / 8;
    overflow: hidden;
}

.article-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(32px, 4vw, 64px) 0 0;
}

.article-body p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    margin-top: 18px;
}

.article-body h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(26px, 3vw, 40px);
    letter-spacing: 0.02em;
    margin-top: clamp(36px, 4vw, 56px);
    padding-top: clamp(20px, 3vw, 32px);
    border-top: 1px solid var(--line-soft);
}

/* ---------- 404 ---------- */

.notfound {
    min-height: 78vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: clamp(120px, 15vw, 200px) 0 clamp(60px, 8vw, 110px);
}

.notfound-code {
    font-family: var(--font-display);
    font-size: clamp(96px, 20vw, 260px);
    line-height: 0.8;
    color: #1b1b1b;
}

.notfound h1 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(32px, 4.6vw, 64px);
    line-height: 0.95;
    margin-top: 12px;
}

.notfound p {
    color: var(--muted);
    font-size: 14.5px;
    margin: 16px auto 0;
    max-width: 46ch;
}

.notfound .btn {
    margin-top: 28px;
}

/* ---------- motion ---------- */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .hero-media img {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
    .nav-main {
        gap: 20px;
    }

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

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

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

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(1),
    .stat:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 900px) {
    :root {
        --pad: 18px;
    }

    .nav-main,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-pill {
        padding: 8px 8px 8px 16px;
        justify-content: space-between;
    }

    .hero {
        padding-top: 78px;
    }

    .hero-media {
        aspect-ratio: 4 / 4.6;
    }

    .hero-content {
        text-align: left;
        bottom: 22px;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-dots {
        justify-content: flex-start;
    }

    .hero-title {
        font-size: clamp(46px, 13.5vw, 96px);
    }

    .hero-sub {
        margin-left: 0;
        font-size: 13px;
    }

    .fleet-head,
    .why-grid,
    .process-grid,
    .faq-grid,
    .about-grid,
    .contact-grid,
    .detail-layout,
    .engine-grid,
    .detail-band-grid,
    .footer-top,
    .blog-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .detail-cell {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .detail-cell:last-child {
        border-bottom: 0;
    }

    .detail-aside {
        position: static;
    }

    .about-media {
        position: static;
    }

    .footer-cols {
        grid-template-columns: 1fr 1fr;
    }

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

    .why-media figure {
        aspect-ratio: 1 / 1;
    }

    .detail-media {
        margin-top: -4vw;
    }
}

@media (max-width: 640px) {
    .card-grid,
    .quote-grid,
    .team-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .section-head {
        align-items: flex-start;
    }

    .card-body {
        padding: 16px 16px 0;
    }

    .card-foot {
        padding: 14px 16px 16px;
    }

    .hero-foot {
        font-size: 9.5px;
        gap: 12px;
    }

    .acc-inner {
        padding-left: 0;
    }

    .article-body {
        padding-top: 28px;
    }

    .footer-wordmark {
        font-size: 30vw;
    }
}
