﻿:root {
    --bg: #f6fbff;
    --panel: rgba(255,255,255,.78);
    --panel2: rgba(255,255,255,.92);
    --text: #0b1b2b;
    --muted: #41566d;
    --line: rgba(10,30,45,.10);
    --ice: #19b7ff;
    --ice2: #6ee7ff;
    --lime: #b7f500;
    --navy: #0b1b2b;
    --shadow: 0 18px 60px rgba(15, 40, 60, .12);
    --shadow2: 0 10px 28px rgba(15, 40, 60, .10);
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    color: var(--text);
    background: radial-gradient(1200px 600px at 15% 0%, rgba(25,183,255,.15), transparent 55%), radial-gradient(900px 500px at 90% 10%, rgba(183,245,0,.14), transparent 55%), linear-gradient(180deg, #ffffff 0%, var(--bg) 60%, #ffffff 100%);
}

a {
    color: inherit
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: .95em;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px
}

.section {
    padding: 64px 0
}

.section--tight {
    padding: 34px 0 54px
}

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

.lead {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 78ch;
    margin: 10px 0 0
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 14px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none
}

.brand__mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ice), var(--ice2));
    color: #062033;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(25,183,255,.20);
}

.brand__text {
    font-weight: 900;
    letter-spacing: .2px
}

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

.nav__link {
    text-decoration: none;
    color: var(--muted);
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid transparent;
}

    .nav__link:hover {
        color: var(--navy);
        background: rgba(25,183,255,.07);
        border-color: rgba(25,183,255,.18);
    }

/* HERO (mindre + text overlay) */
.hero {
    height: min(62vh, 520px);
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(8,18,28,.12) 0%, rgba(8,18,28,.48) 70%, rgba(246,251,255,.98) 100%), url("images/hero.jpg") center/cover no-repeat;
    border-bottom: 1px solid var(--line);
}

.hero__overlay {
    width: 100%;
    padding-bottom: 18px;
}

.hero__text {
    margin: 0;
    max-width: 85ch;
    color: rgba(255,255,255,.97);
    font-size: 1.15rem;
    line-height: 1.65;
    font-weight: 900;
    background: rgba(8, 18, 28, .36);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    padding: 14px 16px;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

/* Headings */
.h2 {
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: -.4px;
}

/* RIDERS */
.riders {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.rider {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow2);
    display: flex;
    flex-direction: column;
}

.rider__img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    background: #fff;
}

.rider__body {
    padding: 16px 16px 18px
}

.rider__name {
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: -.2px;
    margin-bottom: 10px;
}

.rider__facts {
    margin: 0;
    padding-left: 16px;
    color: var(--muted);
    line-height: 1.55;
    font-size: .95rem;
}

    .rider__facts li {
        margin: 6px 0
    }

/* CONTACT */
.contact {
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(25,183,255,.14), rgba(183,245,0,.14));
    border: 1px solid rgba(10,30,45,.10);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: var(--shadow2);
}

.contact__title {
    font-weight: 900;
    font-size: 1.05rem
}

.contact__muted {
    color: var(--muted);
    margin-top: 4px
}

.contact__link {
    font-weight: 900;
    text-decoration: none;
    color: var(--navy);
    border-bottom: 2px solid rgba(183,245,0,.75);
}

    .contact__link:hover {
        border-bottom-color: rgba(25,183,255,.75)
    }

/* Footer */
.footer {
    border-top: 1px solid var(--line);
    padding: 18px 0;
    margin-top: 10px
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: rgba(11,27,43,.70)
}

    .footer__inner a {
        color: rgba(11,27,43,.80);
        text-decoration: none
    }

        .footer__inner a:hover {
            text-decoration: underline
        }

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

    .rider__img {
        height: 280px
    }

    .contact {
        flex-direction: column;
        align-items: flex-start
    }

    .hero {
        height: min(58vh, 460px)
    }

    .hero__text {
        font-size: 1.05rem
    }
}


/* VIDEOS */
.videos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.video-card {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow2);
}

.video-card__player {
    position: relative;
    background: #000;
}

    .video-card__player video {
        width: 100%;
        height: 320px;
        display: block;
        object-fit: cover;
    }

.video-card__meta {
    padding: 14px 16px 16px;
}

.video-card__title {
    font-weight: 900;
    letter-spacing: -.2px;
}

.video-card__muted {
    margin-top: 4px;
    color: var(--muted);
    font-size: .95rem;
}

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

    .video-card__player video {
        height: 240px
    }
}
