:root {
    /* =========================================================
       COLORS
       ========================================================= */

    --black: #000000;
    --graphite: #111111;
    --steel: #343434;
    --silver: #e5e5e5;
    --off-white: #f7f7f7;
    --white: #ffffff;

    /* =========================================================
       LAYOUT
       ========================================================= */

    --container: 1320px;
    --header-height: 88px;

    --gutter: 40px;

    /* =========================================================
       TYPOGRAPHY
       ========================================================= */

    --font-display: "Sora", sans-serif;
    --font-body: "Inter", sans-serif;

    --text-xs: 10px;
    --text-sm: 12px;
    --text-base: 15px;
    --text-lg: 18px;

    --tracking-tight: -.02em;
    --tracking-normal: 0;
    --tracking-wide: .08em;
    --tracking-wider: .16em;
    --tracking-caps: .22em;

    /* =========================================================
       SPACING
       ========================================================= */

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 40px;
    --space-9: 48px;
    --space-10: 64px;
    --space-11: 80px;
    --space-12: 96px;
    --space-13: 120px;
    --space-14: 160px;

    /* =========================================================
       MOTION
       ========================================================= */

    --transition-fast: .18s ease;
    --transition-base: .25s ease;
    --transition-slow: .4s ease;

    /* =========================================================
       UI
       ========================================================= */

    --border-light: rgba(0, 0, 0, .10);
    --border-dark: rgba(255, 255, 255, .20);

    --focus-ring: 0 0 0 3px rgba(0, 0, 0, .18);
}


/* =============================================================
   RESET
   ============================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--off-white);
    color: var(--black);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
}

p:last-child {
    margin-bottom: 0;
}


/* =============================================================
   ACCESSIBILITY
   ============================================================= */

:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

::selection {
    background: var(--black);
    color: var(--white);
}


/* =============================================================
   LAYOUT
   ============================================================= */

.container {
    width: min(
        calc(100% - (var(--gutter) * 2)),
        var(--container)
    );
    margin-inline: auto;
}

.site-main {
    overflow: hidden;
}


/* =============================================================
   TYPOGRAPHY
   ============================================================= */

.eyebrow {
    display: block;
    margin-bottom: var(--space-6);
    color: var(--steel);
    font-size: var(--text-xs);
    line-height: 1;
    letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
}

.display {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: var(--tracking-tight);
}

.text-muted {
    color: var(--steel);
}


/* =============================================================
   BUTTONS
   ============================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    min-height: 52px;
    padding: 0 24px;

    font-family: var(--font-display);
    font-size: 11px;
    line-height: 1;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;

    transition:
        background-color var(--transition-base),
        color var(--transition-base),
        border-color var(--transition-base),
        transform var(--transition-base);
}

.button span {
    font-size: 18px;
    line-height: 1;
}

.button:active {
    transform: translateY(1px);
}


/* Dark */

.button-dark {
    background: var(--black);
    color: var(--white);
}

.button-dark:hover {
    background: var(--steel);
}


/* Light */

.button-light {
    background: var(--white);
    color: var(--black);
}

.button-light:hover {
    background: var(--silver);
}


/* Outline */

.button-outline-light {
    border: 1px solid var(--border-dark);
    background: transparent;
    color: var(--white);
}

.button-outline-light:hover {
    border-color: var(--white);
    background: var(--white);
    color: var(--black);
}


/* =============================================================
   TEXT LINKS
   ============================================================= */

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    font-size: var(--text-xs);
    line-height: 1;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;

    transition: opacity var(--transition-fast);
}

.text-link span {
    font-size: 14px;
    transition: transform var(--transition-base);
}

.text-link:hover {
    opacity: .7;
}

.text-link:hover span {
    transform: translateX(4px);
}


/* =============================================================
   SCREEN READER
   ============================================================= */

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 1100px) {
    :root {
        --gutter: 32px;
    }
}

@media (max-width: 767px) {
    :root {
        --header-height: 72px;
        --gutter: 20px;
    }

    body {
        font-size: 14px;
    }

    .eyebrow {
        margin-bottom: 18px;
    }

    .button {
        width: 100%;
        gap: 20px;
    }
}


/* =============================================================
   REDUCED MOTION
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
.hero-background {
    position: absolute;
    inset: -2%;

    background:
        linear-gradient(
            90deg,
            rgba(247,247,247,1) 0%,
            rgba(247,247,247,.95) 37%,
            rgba(247,247,247,.25) 70%,
            rgba(247,247,247,0) 100%
        ),
        url("../images/hero-car.webp")
        right center / cover no-repeat;

    will-change: transform;

    transform:
        translate3d(
            calc(var(--hero-depth-x, 0) * -12px),
            calc(var(--hero-depth-y, 0) * -8px),
            0
        )
        scale(1.04);

    transition: transform .15s linear;
}