@font-face {
  font-display: swap;
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  src: url('../webfonts/barlow-condensed-v13-latin-500.woff2') format('woff2'),
       url('../webfonts/barlow-condensed-v13-latin-500.ttf') format('truetype');
}
@font-face {
  font-display: swap;
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  src: url('../webfonts/barlow-condensed-v13-latin-600.woff2') format('woff2'),
       url('../webfonts/barlow-condensed-v13-latin-600.ttf') format('truetype');
}
@font-face {
  font-display: swap;
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  src: url('../webfonts/barlow-condensed-v13-latin-700.woff2') format('woff2'),
       url('../webfonts/barlow-condensed-v13-latin-700.ttf') format('truetype');
}
@font-face {
  font-display: swap;
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  src: url('../webfonts/barlow-condensed-v13-latin-800.woff2') format('woff2'),
       url('../webfonts/barlow-condensed-v13-latin-800.ttf') format('truetype');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../webfonts/inter-v20-latin-regular.woff2') format('woff2'),
       url('../webfonts/inter-v20-latin-regular.ttf') format('truetype');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../webfonts/inter-v20-latin-500.woff2') format('woff2'),
       url('../webfonts/inter-v20-latin-500.ttf') format('truetype');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../webfonts/inter-v20-latin-600.woff2') format('woff2'),
       url('../webfonts/inter-v20-latin-600.ttf') format('truetype');
}

:root {
    --red: #ed1b2f;
    --ink: #08090b;
    --charcoal: #101216;
    --paper: #f2f0eb;
    --muted: #a7a9ad;
    --display: "Barlow Condensed", sans-serif;
    --body: "Inter", sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--ink);
    color: #fff;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 9999;
    background: #fff;
    color: #000;
    padding: .6rem 1rem
}

.skip-link:focus {
    top: 20px
}

.navbar {
    padding: 1.2rem 0;
    transition: .3s;
    background: linear-gradient(#08090bd9, transparent)
}

.navbar.scrolled,
.navbar:has(.navbar-collapse.show) {
    background: #08090bf2;
    padding: .65rem 0;
    border-bottom: 1px solid #ffffff18;
    backdrop-filter: blur(12px)
}

.navbar-brand {
    display: flex;
    align-items: flex-end;
    gap: .5rem
}

.navbar-brand img {
    width: 200px;
    height: auto
}

.navbar-brand span,
.footer-brand span {
    font: 700 .72rem/1 var(--display);
    letter-spacing: .27em;
    color: #fff
}

.nav-link {
    font: 600 .85rem/1 var(--body);
    letter-spacing: .09em;
    text-transform: uppercase
}

.btn {
    border-radius: 0;
    font: 700 .8rem/1 var(--body);
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: 1rem 1.35rem;
    transition: all 0.3s ease;
}

.btn-racing {
    background: var(--red);
    border: 1px solid var(--red);
    color: #fff;
    clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%)
}

.btn-racing:hover {
    background: #fff;
    border-color: #fff;
    color: #0b0c0e
}

.hero {
    min-height: 100svh;
    background-image: linear-gradient(90deg, #07080a 4%, #08090bde 25%, #08090b55 56%, #08090b30), linear-gradient(0deg, #08090b 0, transparent 26%), url("../images/alex-7.jpeg");
    background-size: cover;
    background-position: center 42%;
    position: relative
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image: repeating-linear-gradient(112deg, transparent 0 48px, #ffffff0d 49px, #ffffff0d 50px)
}

.eyebrow,
.section-number {
    font: 700 .77rem/1 var(--body);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red)
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: .7rem
}

.eyebrow span {
    width: 25px;
    height: 1px;
    background: var(--red)
}

.display-title {
    font: 800 clamp(5rem, 11vw, 9.8rem)/.72 var(--display);
    letter-spacing: -.035em;
    text-transform: uppercase;
    margin: 1.5rem 0 2rem
}

.display-title em {
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px #fff
}

.hero-copy {
    max-width: 590px;
    color: #d4d5d7;
    font-size: 1.1rem;
    margin-bottom: 2.2rem
}

.hero-index {
    position: absolute;
    right: -.01em;
    bottom: -.2em;
    font: 800 min(29vw, 31rem)/.7 var(--display);
    color: transparent;
    -webkit-text-stroke: 1px #ffffff30
}

.scroll-cue {
    position: absolute;
    right: 3rem;
    bottom: 2rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .65rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: rotate(90deg);
    transform-origin: right
}

.scroll-cue i {
    color: var(--red)
}

section {
    scroll-margin-top: 65px
}

.section-dark {
    position: relative;
    background: var(--ink);
    padding: 5rem 0
}

.speed-line {
    position: absolute;
    left: 0;
    top: 3.5rem;
    width: 38%;
    height: 9px;
    background: var(--red);
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%)
}

h2 {
    font: 700 clamp(3.5rem, 7vw, 6.5rem)/.88 var(--display);
    letter-spacing: -.025em;
    text-transform: uppercase;
    margin: 1.2rem 0
}

h2 span {
    color: var(--red)
}

.lead {
    font-size: 1.28rem;
    color: #fff
}

.section-dark p:not(.section-number):not(.lead) {
    color: var(--muted)
}

.rider-note {
    border-left: 3px solid var(--red);
    padding-left: 1.3rem;
    margin-top: 2rem;
    display: grid;
    gap: .25rem
}

.rider-note strong {
    font-family: var(--display);
    font-size: 1.4rem;
    text-transform: uppercase
}

.rider-note span {
    font-size: .87rem;
    color: var(--muted)
}

.services-section {
    background: var(--paper);
    color: #141518;
    padding: 5rem 0
}

.section-intro {
    max-width: 430px;
    color: #555b60
}

.service-list {
    border-top: 1px solid #c5c5c5
}

.service-row {
    display: grid;
    grid-template-columns: 60px 55px minmax(260px, 1fr) 1fr;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #c5c5c5;
    padding: 1.5rem 0;
    transition: all 0.3s ease !important;
}

.service-row:hover {
    padding-left: 1rem;
    background: #e9e6df
}

.service-num {
    font: 600 .7rem var(--body);
    color: #777
}

.service-row i {
    font-size: 2rem;
    color: var(--red);
}

.service-row h3 {
    font: 700 clamp(1.5rem, 3vw, 2.5rem)/1 var(--display);
    text-transform: uppercase;
    margin: 0;
}

.service-row p {
    font-size: .86rem;
    color: #676b70;
    margin: 0;
    max-width: 350px
}

.gallery-section {
    background: #0d0f12;
    padding: 5rem 0 8rem
}

.photo-grid {
    height: 900px;
    position: relative;
    margin-top: 3rem
}

.photo {
    position: absolute;
    display: block;
    overflow: hidden;
    border: 1px solid #ffffff18;
    background: #222;
    box-shadow: 0 20px 45px #0008
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease, filter .4s
}

.photo:hover img {
    transform: scale(1.045);
    filter: saturate(1.15)
}

.photo span {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--red);
    opacity: 0;
    transform: translateY(10px);
    transition: .3s
}

.photo:hover span {
    opacity: 1;
    transform: none
}

.photo-a {
    width: 39%;
    height: 570px;
    left: 3%;
    top: 45px;
    transform: rotate(-2.5deg)
}

.photo-b {
    width: 30%;
    height: 440px;
    left: 38%;
    top: 0;
    transform: rotate(2deg);
    z-index: 2
}

.photo-c {
    width: 32%;
    height: 520px;
    right: 1%;
    top: 105px;
    transform: rotate(-1.5deg)
}

.photo-d {
    width: 35%;
    height: 310px;
    left: 14%;
    bottom: 0;
    transform: rotate(1.5deg);
    z-index: 3
}

.photo-e {
    width: 34%;
    height: 360px;
    right: 12%;
    bottom: 15px;
    transform: rotate(-2deg);
    z-index: 4
}

.manifesto {
    padding: 9rem 0;
    background: var(--red);
    overflow: hidden
}

.manifesto p {
    font: 600 clamp(2rem, 4vw, 4rem)/1 var(--display);
    text-transform: uppercase;
    margin: 0
}

.manifesto h2 {
    font-size: clamp(5rem, 13vw, 12rem);
    color: #fff;
    margin: 0
}

.manifesto-66 {
    position: absolute;
    right: -5rem;
    top: 50%;
    transform: translateY(-50%);
    font: 800 31rem/.7 var(--display);
    color: transparent;
    -webkit-text-stroke: 1px #ffffff4d
}

.contact-section {
    padding: 5rem 0;
    background: #090a0c
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    font: 600 clamp(1.25rem, 2.5vw, 2rem) var(--display);
    color: #fff;
    text-decoration: none;
    border-bottom: 2px solid var(--red);
    padding-bottom: .3rem
}

.contact-link:hover {
    color: var(--red)
}

address {
    font-style: normal;
    color: #b4b5b7
}

address strong {
    font: 700 1.5rem var(--display);
    text-transform: uppercase;
    color: #fff
}

.map-link {
    color: #fff;
    text-decoration: none;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em
}

.map-link i {
    color: var(--red);
    margin-left: .4rem
}

footer {
    background: #050607;
    border-top: 1px solid #ffffff13;
    padding: 2rem 0;
    color: #7f8185
}

footer p,
footer small {
    margin: 0;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em
}

.footer-brand {
    display: flex;
    align-items: flex-end;
    gap: .4rem
}

.footer-brand img {
    width: 105px;
    height: auto
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease
}

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

@media (max-width:991.98px) {
    .navbar-collapse {
        padding: 1.5rem 0
    }
    .hero {
        background-position: 62% center
    }
    .hero:after {
        content: "";
        position: absolute;
        inset: 0;
        background: #08090b30
    }
    .service-row {
        grid-template-columns: 45px 35px 1fr
    }
    .service-row p {
        display: none
    }
    .photo-grid {
        height: 750px
    }
    .photo-a {
        width: 48%;
        height: 450px;
        left: 2%
    }
    .photo-b {
        width: 42%;
        height: 360px;
        right: 2%;
        left: auto
    }
    .photo-c {
        width: 43%;
        height: 420px;
        right: 1%;
        top: 300px
    }
    .photo-d {
        width: 45%;
        height: 280px;
        left: 8%
    }
    .photo-e {
        display: none
    }
}

@media (max-width:575.98px) {
    .navbar-brand img {
        width: 120px
    }
    .navbar-brand span {
        font-size: .58rem
    }
    .hero {
        background-position: 68% center
    }
    .hero .row {
        align-items: flex-end;
        padding-bottom: 6rem
    }
    .display-title {
        font-size: 4.4rem
    }
    .display-title em {
        -webkit-text-stroke: 1px #fff
    }
    .hero-copy {
        font-size: .95rem;
        max-width: 95%
    }
    .scroll-cue {
        display: none
    }
    .speed-line {
        width: 60%
    }
    .section-dark,
    .services-section,
    .gallery-section,
    .contact-section {
        padding: 3.5rem 0
    }
    h2 {
        font-size: 3.25rem
    }
    .service-row {
        grid-template-columns: 30px 25px 1fr;
        gap: .6rem
    }
    .service-row h3 {
        font-size: 1.45rem
    }
    .photo-grid {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .75rem
    }
    .photo {
        position: relative !important;
        inset: auto !important;
        width: auto !important;
        height: 250px !important;
        transform: none !important
    }
    .photo-a {
        grid-column: 1/-1;
        height: 320px !important
    }
    .photo-e {
        display: block
    }
    .manifesto {
        padding: 6rem 0
    }
    .manifesto h2 {
        font-size: 5rem
    }
    .contact-link {
        font-size: 1.2rem
    }
    footer .container {
        text-align: center
    }
    .footer-brand {
        justify-content: center
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }
    .photo img {
        transition: none
    }
}

.contact-kicker {
    margin-top: 2rem;
    font: 500 clamp(1.25rem, 2.5vw, 2rem) var(--display);
    color: #b4b5b7
}

.photo span i {
    color: #fff !important
}

.hero .btn-outline-light {
    clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%)
}

.hero .btn-outline-light {
    position: relative;
    isolation: isolate;
    border: 0;
    background: transparent;
    clip-path: none
}

.hero .btn-outline-light::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    background: #fff;
    clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none
}

.hero .btn-outline-light:hover {
    background: #fff;
    color: #08090b;
    clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%)
}

@media (max-width:991.98px) {
    .hero {
        background-position: 47% center
    }
    .navbar-toggler {
        border: 0 !important;
        padding: 0 !important;
        color: #fff;
        font-size: 2.15rem;
        line-height: 1;
        box-shadow: none !important;
        outline: 0 !important
    }
    .navbar-toggler:focus,
    .navbar-toggler:focus-visible,
    .navbar-toggler:active {
        border: 0 !important;
        box-shadow: none !important;
        outline: 0 !important
    }
    .navbar-collapse {
        text-align: center;
        padding: 2rem 0 1.4rem
    }
    .navbar-nav {
        align-items: center !important
    }
    .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: .75rem 1rem;
        letter-spacing: .12em
    }
    .navbar-nav .btn-racing {
        display: inline-block;
        margin-top: 1.2rem !important;
        font-size: .95rem;
        padding: 1.1rem 1.7rem
    }
}

@media (max-width:575.98px) {
    .hero {
        background-position: 47% center
    }
}

.hero .btn-outline-light,
.hero .btn-outline-light:hover,
.hero .btn-outline-light:focus {
    background: #fff;
    color: #08090b;
    border: 0;
    clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%)
}

.hero .btn-outline-light::before {
    display: none
}

.gallery-modal { --bs-modal-bg: #07080a }
.gallery-modal .modal-content { background: #07080af7; color: #fff; display: grid; place-items: center; min-height: 100vh; overflow: hidden }
.gallery-modal figure { margin: 0; display: grid; place-items: center; max-width: calc(100vw - 150px); max-height: calc(100vh - 80px) }
.gallery-modal figure img { display: block; max-width: 100%; max-height: calc(100vh - 115px); object-fit: contain }
.gallery-modal figcaption { min-height: 1.5rem; margin-top: .75rem; color: #b7b9bd; font-size: .8rem; text-align: center }
.gallery-close, .gallery-nav { position: absolute; z-index: 3; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; transition: .2s }
.gallery-close { right: 1.5rem; top: 1.5rem; width: 52px; height: 52px; font-size: 1.5rem }
.gallery-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 70px; font-size: 1.25rem }
.gallery-prev { left: 1.5rem }
.gallery-next { right: 1.5rem }
.gallery-close:hover, .gallery-nav:hover { background: #fff; color: #08090b }
.gallery-count { position: absolute; left: 1.5rem; bottom: 1.25rem; font: 600 .75rem var(--body); letter-spacing: .15em; color: #fff }

@media (max-width:575.98px) {
    .gallery-modal figure { max-width: calc(100vw - 24px) }
    .gallery-modal figure img { max-height: calc(100vh - 150px) }
    .gallery-close { right: .75rem; top: .75rem }
    .gallery-nav { top: auto; bottom: 1rem; width: 48px; height: 48px; transform: none }
    .gallery-prev { left: calc(50% - 58px) }
    .gallery-next { right: calc(50% - 58px) }
    .gallery-count { left: 1rem; bottom: 1.8rem }
}
