:root {
    --bg: #050805;
    --panel: #0e160e;
    --panel2: #131d13;
    --green: rgba(196, 234, 27, .72);
    --yellow: #ffe600;
    --white: #fff;
    --muted: #b8c4b8;
    --line: rgba(255, 255, 255, .10);
    --shadow: 0 20px 60px rgba(0, 0, 0, .32);
    --ease: cubic-bezier(.4, 0, .2, 1);
    --accent: rgb(196, 234, 27);
    --accent-ink: #04170a
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    color: var(--white);
    background: radial-gradient(circle at 15% 5%, rgba(196, 234, 27, .10), transparent 32%), radial-gradient(circle at 90% 20%, rgba(255, 230, 0, .06), transparent 30%), linear-gradient(180deg, #020402 0%, #091009 45%, #020402 100%)
}

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

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

.container {
    width: min(1220px, 92%);
    margin: auto
}

.announcement {
    background: linear-gradient(90deg, var(--green), var(--yellow));
    color: #021003;
    text-align: center;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 12px;
    padding: 10px 14px
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 8, 5, .82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px)
}

.header .container {
    width: min(1440px, 94%)
}

.nav {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    letter-spacing: .01em;
    flex-shrink: 0
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #061006;
    font-weight: 700;
    font-size: 13px;
    background: linear-gradient(135deg, var(--green), var(--yellow));
    box-shadow: 0 4px 14px rgba(0, 0, 0, .3)
}

.logo-mark.logo-avatar {
    border-radius: 50%;
    background: #0a120a;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35), 0 0 0 2px var(--accent)
}

.logo-text small {
    display: block;
    color: var(--muted);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .1em;
    margin-top: 2px;
    white-space: nowrap
}

.menu {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap
}

.menu a {
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    transition: color .2s var(--ease)
}

.menu a.active,
.menu a:hover {
    color: var(--white)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 980px;
    padding: 13px 22px;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -.005em;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform .25s var(--ease), filter .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease)
}

.btn.primary {
    color: var(--accent-ink);
    background: var(--accent);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18)
}

.btn.secondary {
    color: var(--white);
    background: rgba(255, 255, 255, .07);
    border-color: var(--line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px)
}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.1)
}

.btn:active {
    transform: translateY(0);
    filter: brightness(.94)
}

.mobile-toggle {
    display: none
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-shrink: 0
}

.lang-switch .lang-btn {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--white);
    opacity: .55;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s var(--ease), opacity .2s var(--ease), color .2s var(--ease)
}

.lang-switch .lang-btn:hover {
    opacity: .85
}

.lang-switch .lang-btn.active {
    opacity: 1;
    background: var(--accent);
    color: var(--accent-ink)
}

.hero {
    min-height: calc(100vh - 112px);
    position: relative;
    display: grid;
    align-items: end;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 4, 2, .92), rgba(2, 4, 2, .5), rgba(2, 4, 2, .85)), url('assets/hero-poster.jpg') center/cover no-repeat
}

.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72
}

.hero-media:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 4, 2, .10), rgba(2, 4, 2, .82))
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 92px 0
}

.kicker {
    color: var(--green);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .14em;
    font-size: 12px;
    margin-bottom: 18px
}

.hero h1,
.page-hero h1 {
    font-weight: 600;
    font-size: clamp(40px, 7vw, 72px);
    line-height: 1.04;
    letter-spacing: -.02em;
    margin: 0 0 24px;
    max-width: 980px
}

.lead {
    color: var(--muted);
    font-weight: 400;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.6;
    max-width: 760px
}

.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px
}

.hero-strip {
    position: relative;
    z-index: 3;
    border-top: 1px solid var(--line);
    background: rgba(5, 8, 5, .68);
    backdrop-filter: blur(16px)
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.stat {
    padding: 20px 22px;
    border-right: 1px solid var(--line)
}

.stat strong {
    display: block;
    font-weight: 600;
    font-size: 27px;
    color: var(--yellow);
    letter-spacing: -.02em
}

.stat span {
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em
}

.section {
    padding: 120px 0
}

.section.compact {
    padding: 64px 0
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px
}

h2 {
    font-weight: 600;
    font-size: clamp(30px, 4.6vw, 52px);
    line-height: 1.06;
    letter-spacing: -.025em;
    margin: 0
}

h3 {
    font-weight: 600;
    font-size: 23px;
    margin: 0 0 12px;
    letter-spacing: -.01em
}

h4 {
    color: #c4ea1b;
    letter-spacing: .04em;
    font-weight: 600;
    font-size: 13px;
}

p {
    color: var(--muted);
    line-height: 1.68
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.grid.two {
    grid-template-columns: repeat(2, 1fr)
}

.grid.four {
    grid-template-columns: repeat(4, 1fr)
}

.card {
    position: relative;
    overflow: hidden;
    padding: 40px;

    border-radius: 22px;

    border: 1px solid rgba(255, 255, 255, 0.07);

    background-color: rgba(255, 255, 255, 0.035);

    transition:
        transform 0.3s var(--ease),
        border-color 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        background 0.3s var(--ease);
}

.card:hover {
    transform: translateY(-3px);

    border-color: rgba(255, 255, 255, 0.14);
    background-color: rgba(255, 255, 255, 0.05);

    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.card.featured {
    border-color: rgba(255, 255, 255, .12);
    background-color: rgba(255, 255, 255, 0.045);
    padding: 48px;
}

.card.featured h2 {
    line-height: 1.02;
    max-width: 90%;
}

.media-card {
    padding: 0
}

.media-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: #152015
}

.media-card .card-body {
    padding: 24px
}

.service-menu-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.service-row {
    display: grid;
    grid-template-columns: minmax(240px, 360px) 1fr;
    align-items: stretch;
}

.service-row img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;

    border-radius: 22px;
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.5);
}

.service-row .card-body {
    padding: 36px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-row h3 {
    font-size: 25px;
    margin: 0 0 12px;
}

.service-row p {
    max-width: 640px;
}

.service-row .list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 32px;
    margin-top: 20px;
}

.price-table {
    margin-top: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    padding: 12px 18px;
}

.price-row + .price-row {
    border-top: 1px solid var(--line);
}

.price-note {
    margin: 10px 2px 0;
    color: var(--muted);
    font-size: 12.5px;
    font-style: italic;
    line-height: 1.5;
}

.price-label {
    color: var(--muted);
    font-weight: 500;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-size: 11.5px;
}

.price-value {
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    text-align: right;
}

.price-value em {
    color: var(--green);
    font-style: normal;
    font-weight: 600;
}

.price-value small {
    display: block;
    color: var(--muted);
    font-weight: 400;
    font-size: 11.5px;
    text-transform: none;
    letter-spacing: 0;
}

.blog-hero {
    background-image: url("assets/home-blog.jpg");
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.blog-post img {
    aspect-ratio: 21/9;
}

.blog-post .card-body {
    padding: 40px 44px;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 18px;
}

.blog-meta time,
.blog-meta .track {
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.blog-meta .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--muted);
    opacity: .5;
}

.blog-post h2 {
    font-size: clamp(25px, 2.8vw, 32px);
    line-height: 1.14;
    letter-spacing: -.015em;
    margin: 0 0 22px;
    max-width: 900px;
}

.post-body {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-body p {
    font-size: 16px;
}

.post-body h3 {
    margin: 6px 0 0;
    font-size: 18px;
    color: var(--green);
}

.post-body ul {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.7;
}

.post-body blockquote {
    margin: 0;
    padding: 14px 20px;
    border-left: 3px solid var(--green);
    background: rgba(196, 234, 27, .05);
    border-radius: 0 14px 14px 0;
    color: var(--white);
    font-style: italic;
}

@media (max-width: 768px) {
    .blog-post .card-body {
        padding: 26px 22px;
    }
}

@media (max-width: 860px) {
    .service-row {
        grid-template-columns: 1fr;
    }

    .service-row img {
        aspect-ratio: 16/9;
        min-height: 0;
    }

    .service-row .card-body {
        padding: 28px;
    }

    .service-row .list {
        grid-template-columns: 1fr;
    }
}

.tag {
    display: inline-flex;
    color: var(--accent-ink);
    background: var(--accent);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 15px
}

.tag.dark {
    color: var(--green);
    background: rgba(196, 234, 27, .07);
    border: 1px solid rgba(196, 234, 27, .18)
}

.list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    color: var(--muted)
}

.list li {
    padding-top: 10px;
    border-top: 1px solid var(--line)
}

.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
    align-items: center
}

.big-photo {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.big-photo img,
.big-photo video {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #142014
}

.sponsor-list {
    margin: 32px auto 0;
    max-width: 720px;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 2.5;
    letter-spacing: .05em;
    background: linear-gradient(135deg, var(--yellow) 0%, var(--accent) 55%, var(--yellow) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 22px rgba(196, 234, 27, .35))
}

.sponsor-list .sep {
    color: var(--muted);
    font-weight: 500;
    -webkit-text-fill-color: var(--muted);
    padding: 0 4px
}

@media (max-width: 640px) {
    .sponsor-list {
        font-size: 16px;
        letter-spacing: .03em;
        line-height: 2.2
    }
}

.sponsor-banner {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 28px
}

.sponsor-banner img {
    display: block;
    width: 100%;
    height: auto
}

.banner {
    border: 1px solid rgba(196, 234, 27, .22);
    border-radius: 28px;
    padding: 34px;
    background: linear-gradient(135deg, rgba(196, 234, 27, .09), rgba(255, 230, 0, .05)), linear-gradient(180deg, rgba(19, 29, 19, .9), rgba(8, 13, 8, .9));
    box-shadow: var(--shadow)
}

.page-hero {
    position: relative;
    padding: 128px 0 96px;
    overflow: hidden;
}

.page-hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 4, 2, .95), rgba(2, 4, 2, .62), rgba(2, 4, 2, .9)), url('assets/page-hero.jpg') center/cover no-repeat;
    opacity: .95
}

.page-hero .container {
    position: relative;
    z-index: 1;
    text-align: center
}

.page-hero h1,
.page-hero .lead,
.hero-content .lead {
    margin-left: auto;
    margin-right: auto
}

.page-hero .actions,
.page-hero .setup-shortcuts,
.hero-content .actions {
    justify-content: center
}

.table-wrap {
    overflow: auto;
    border-radius: 20px;
    border: 1px solid var(--line)
}

.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
    background: rgba(8, 13, 8, .8)
}

.table th,
.table td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    color: var(--muted)
}

.table th {
    color: var(--white);
    font-weight: 600;
    background: rgba(196, 234, 27, .06)
}

.table a {
    color: var(--green);
    font-weight: 600
}

.filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 34px;
}

.filter-pill {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.035);
    color: var(--muted);
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: .2s var(--ease);
}

.filter-pill:hover {
    color: var(--white);
    border-color: rgba(196, 234, 27, 0.32);
    background: rgba(196, 234, 27, 0.06);
}

.filter-pill.active {
    color: var(--accent-ink);
    background: var(--accent);
    border-color: transparent;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    justify-content: center;

    padding-inline: 40px;
    margin-top: 40px;
}

.form {
    display: grid;
    gap: 14px
}

input,
textarea,
select {
    width: 100%;
    background: rgba(0, 0, 0, .25);
    color: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 15px 16px;
    font: inherit;
    transition: border-color .2s var(--ease)
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(196, 234, 27, 0.4)
}

textarea {
    min-height: 160px;
    resize: vertical
}

.footer {
    border-top: 1px solid var(--line);
    background: #020402;
    padding: 48px 0 30px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 28px
}

.badges {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 16px
}

.badge {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 11px;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 500
}

.footer h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 14px
}

.footer p {
    font-size: 13.5px;
    line-height: 1.9
}

.copyright {
    color: #728072;
    font-size: 12px;
    margin-top: 28px
}

.placeholder-note {
    border: 1px dashed rgba(255, 230, 0, .5);
    border-radius: 18px;
    padding: 18px;
    background: rgba(255, 230, 0, .05);
    color: #fff6a3
}

@media(max-width:1180px) {
    .mobile-toggle {
        display: inline-flex
    }

    .nav {
        min-height: 70px
    }

    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 8, 5, .97);
        border-bottom: 1px solid var(--line);
        padding: 18px 4%
    }

    .menu.open {
        display: grid
    }

   .nav > a.btn.primary {
       display: none;
    }

    .stats,
    .grid,
    .grid.two,
    .grid.four,
    .split,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .section-head {
        display: block
    }

    .hero {
        min-height: 760px
    }

    .hero-content {
        padding: 78px 0
    }

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

.setup-shortcuts {
    display: flex;
    gap: 18px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.coaching-grid {
    margin-top: 34px;
}

.card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card-link:hover .btn.secondary {
    border-color: rgba(196, 234, 27, 0.5);
    color: var(--white);
    }

.contact-card .actions {
    margin-top: 40px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.contact-card {
    padding: 48px;
    padding-bottom: 56px;
}


.product-list {
    display: grid;
    gap: 16px;
}

.product-row {
    display: grid;
    grid-template-columns: 140px 1fr 1.4fr auto;
    gap: 22px;
    align-items: center;

    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.035);

    transition:
        transform 0.3s var(--ease),
        border-color 0.3s var(--ease),
        box-shadow 0.3s var(--ease);
}

.product-row:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.35);
}

.product-row img {
    width: 140px;
    height: 100px;
    object-fit: cover;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.product-title h3 {
    margin-bottom: 8px;
}

.part-number {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;

    color: var(--accent-ink);
    background: var(--accent);

    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-description p {
    margin: 0;
}

.product-use {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 980px) {
    .product-row {
        grid-template-columns: 1fr;
    }

    .product-row img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

.home-story {
    padding: 96px 0;
}

.home-story-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: start;
}

.story-visual {
    position: sticky;
    top: 110px;
    height: calc(100vh - 150px);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 26px 90px rgba(0, 0, 0, 0.4);
    background: #050805;
}

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

.story-visual img.image-changing {
    opacity: 0.25;
    transform: scale(1.04);
}

.story-content {
    display: grid;
    gap: 26vh;
    padding: 10vh 0;
}

.story-step {
    min-height: 58vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.035);
    transition:
        transform 0.3s var(--ease),
        border-color 0.3s var(--ease),
        box-shadow 0.3s var(--ease);
}

.story-step:hover,
.story-step.active {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.35);
}

.story-step h2 {
    margin-bottom: 20px;
}

.story-step p {
    max-width: 620px;
    font-size: 18px;
}

@media (max-width: 980px) {
    .home-story-layout {
        grid-template-columns: 1fr;
    }

    .story-visual {
        position: relative;
        top: 0;
        height: 420px;
    }

    .story-content {
        gap: 28px;
        padding: 0;
    }

    .story-step {
        min-height: auto;
        padding: 30px;
    }
}

@media (max-width: 768px) {

    .card.featured {
        padding: 32px 24px;
    }

}

@media (max-width: 768px) {

    .card {
        padding: 28px 24px;
    }

}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    justify-content: center;

    padding-left: 20px;
    padding-right: 30px;
}

.result-card {
    position: relative;
    overflow: hidden;
    padding: 0;

    background-size: cover;
    background-position: center;

    min-height: 420px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border-color: transparent;
}

.result-card:hover {
    transform: scale(1.035);
    border-color: transparent;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.result-card::before {
    content: "";

    position: absolute;
    inset: 0;

    /* light overall wash so the photo itself stays bright and visible;
       the caption panel below carries its own solid background for contrast */
    background:
        linear-gradient(
            to bottom,
            rgba(2, 4, 2, 0.02) 0%,
            rgba(2, 4, 2, 0.05) 60%,
            rgba(2, 4, 2, 0.131) 100%
        );

    z-index: 1;

    transition: 0.35s var(--ease);
}

.result-card > * {
    position: relative;
    z-index: 2;
}

.result-caption {
    margin: 20px;
    padding: 18px 22px;
    border-radius: 18px;

    background: rgba(2, 4, 2, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.result-caption h3 {
    font-size: 18px;
    margin: 0 0 6px;
}

.result-caption p {
    margin: 0;
    font-size: 14px;
}

.result-euro {
    background-image:
        url("assets/euro-b-champion.jpg");
}

.result-czech {
    background-image:
        url("assets/czech-titles.jpeg");
}

.result-florida {
    background-image:
        url("assets/florida-carpet.JPG");
}

.result-savox {
    background-image:
        url("assets/savox-cup.jpeg");
}

.result-mibo {
    background-image:
        url("assets/result-mibo.jpg");
}

.result-czop {
    background-image:
        url("assets/result-czop.JPG");
}

.result-multiple {
    background-image:
        url("assets/result-multiple.jpg");
}

.story-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 30px;

    position: sticky;
    top: 120px;
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;

    transition:
    opacity 0.5s var(--ease),
    transform 0.7s var(--ease);
}

.story-image.fade {
    opacity: 0.25;
    transform: scale(1.03);
}

.about-story-sticky {
    align-items: flex-start;
    min-height: 100vh;
}

.about-story-sticky .story-image-wrapper {
    position: sticky;
    top: 120px;

    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 30px;
}

.about-story-sticky .story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-video-section {
    position: relative;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.166), rgba(0, 0, 0, 0.171)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.305), rgba(0, 0, 0, 0.211));
    z-index: 1;
}

.hero-video-section .container {
    position: relative;
    z-index: 2;
}

.page-hero-bg {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.page-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.267), rgba(0, 0, 0, 0.251)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.196), rgba(0, 0, 0, 0.299));
    z-index: 1;
}

.page-hero-bg .container {
    position: relative;
    z-index: 2;
}

.builds-hero {
    background-image: url("assets/builds-hero.jpeg");
}

.gear-hero {
    background-image: url("assets/gear-hero.jpeg");
}

.setups-hero {
    background-image: url("assets/setups-hero.jpeg");
}

.about-hero {
    background-image: url("assets/about-hero.jpg");
}

.rcdj-hero {
    background-image: url("assets/rcdj-hero.jpg");
}

.hand-hero {
    background-image: url("assets/hand-hero.png");
}

.accessories-hero {
    background-image: url("assets/accessories-hero.jpg");
}

.chem-hero {
    background-image: url("assets/chem-hero.png");
}

.pit-hero {
    background-image: url("assets/pit-hero.png");
}

.travel-hero {
    background-image: url("assets/travel-hero.png");
}

.setup-hero {
    background-image: url("assets/setup-hero.png");
}

.contact-hero {
    background-image: url("assets/contact-hero.jpeg");
}

.wwme-hero {
    background-image: url("assets/wwme-hero.jpg");
}

.mobile-toggle {
    display: none;
}

@media (max-width: 1180px) {

    .nav {
        gap: 16px;
    }

    .nav > .btn.primary {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;

        width: 50px;
        height: 50px;

        margin-left: auto;

        border: 1px solid transparent;
        border-radius: 16px;

        background: var(--accent);
        cursor: pointer;

        position: relative;
        z-index: 2001;
    }

    .mobile-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        margin: 0 auto;

        background: #050805;
        border-radius: 10px;
    }

    .menu {
        position: fixed;
        top: 120px;
        left: 18px;
        right: 18px;

        display: none;
        flex-direction: column;
        gap: 10px;

        padding: 22px;
        z-index: 2000;

        background: rgba(3, 12, 6, 0.97);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 24px;
        box-shadow: 0 26px 70px rgba(0, 0, 0, 0.65);
    }

    .menu.open {
        display: flex;
    }

    .menu a {
        padding: 15px 18px;
        border-radius: 14px;

        color: white;
        font-size: 17px;
        font-weight: 500;
        text-decoration: none;

        background: rgba(255, 255, 255, 0.035);
        border: 1px solid rgba(255, 255, 255, 0.07);
    }

    .menu a.active {
        color: #c4ea1b;
        border-color: rgba(196, 234, 27, 0.35);
    }

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

.story-mobile-image {
    display: none;
}

@media (max-width: 900px) {

    .story-visual,
    .story-image-wrap,
    .story-image-wrapper {
        display: none;
    }

    .story-mobile-image {
        display: block;

        width: 100%;
        aspect-ratio: 16 / 10;
        object-fit: cover;

        border-radius: 24px;
        margin-bottom: 24px;

        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .story-step {
        padding-top: 28px;
    }
}

@media (max-width:1180px){

    .mobile-toggle{
        display:flex !important;
    }

}

/* ===== Cinematic photo backdrop =====
   Add class="bg-photo" to <body> on any page that should use it.
   Swap the photo by changing --page-photo below (or per page:
   <body class="bg-photo" style="--page-photo:url('assets/xyz.jpg')">). */

body.bg-photo {
    --page-photo: url("assets/rcdjmotorsport.jpeg");
    background: #020402;
}

/* Layer 1: the photo itself, graded down so it reads as atmosphere, not content */
body.bg-photo::before {
    content: "";
    position: fixed;
    inset: -2%;
    z-index: -2;
    background: var(--page-photo) center / cover no-repeat;
    filter: saturate(0.5) contrast(1.05) brightness(0.48) blur(1px);
}

/* Layer 2: dark scrim + brand glow + vignette, kept restrained and quiet */
body.bg-photo::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 5%, rgba(196, 234, 27, .09), transparent 34%),
        radial-gradient(circle at 90% 20%, rgba(255, 230, 0, .05), transparent 30%),
        radial-gradient(115% 85% at 50% 42%, transparent 30%, rgba(0, 0, 0, .72) 100%),
        linear-gradient(180deg, rgba(2, 4, 2, .78) 0%, rgba(2, 4, 2, .6) 45%, rgba(2, 4, 2, .86) 100%);
}

/* Let the backdrop breathe through the surfaces that sit on it */
body.bg-photo .story-step {
    background: rgba(8, 13, 8, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.bg-photo .footer {
    background: rgba(2, 4, 2, .78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

@media (max-width: 900px) {

    /* Cheaper on mobile GPUs, and the photo needs to be tighter on a narrow viewport */
    body.bg-photo::before {
        filter: saturate(0.5) contrast(1.05) brightness(0.42);
    }

    body.bg-photo .story-step {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(6, 10, 6, 0.82);
    }
}
