* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f3f5f7;
    color: #17212a;

    line-height: 1.6;
}

a {
    color: inherit;
}

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


/* =========================
   HEADER
========================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: #111820;

    color: white;

    box-shadow:
        0 4px 18px rgba(0,0,0,.25);
}

.nav {
    min-height: 76px;

    display: flex;
    align-items: center;

    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    text-decoration: none;

    flex: 1;
}

.brand-icon {
    font-size: 34px;
}

.brand strong {
    display: block;

    font-size: 20px;

    letter-spacing: 1px;
}

.brand small {
    display: block;

    color: #aab4bd;

    font-size: 11px;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    padding: 28px 9px;

    color: #d9e0e5;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;
}

nav a:hover,
nav a.active {
    background: rgba(255,255,255,.08);

    color: white;
}

.menu-button {
    display: none;

    border: 0;

    background: transparent;

    color: white;

    font-size: 27px;

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 570px;

    background:
        linear-gradient(
            90deg,
            rgba(8,14,19,.96),
            rgba(8,14,19,.68)
        ),
        url("https://images.unsplash.com/photo-1584270354949-c26b0d5b4a0c?auto=format&fit=crop&w=1800&q=80")
        center / cover;

    color: white;

    display: flex;
    align-items: center;
}

.hero-content {
    padding: 90px 0;
}

.eyebrow {
    color: #b52229;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.hero .eyebrow {
    color: #ffd18d;
}

.hero h1 {
    margin: 10px 0 25px;

    font-size:
        clamp(45px, 7vw, 80px);

    line-height: .98;

    letter-spacing: -2px;
}

.hero h1 span {
    display: block;

    margin-top: 16px;

    color: #d5dde3;

    font-size: .53em;

    letter-spacing: -1px;
}

.hero-description {
    max-width: 650px;

    color: #d7dee4;

    font-size: 19px;
}

.hero-buttons {
    display: flex;

    gap: 12px;

    margin-top: 30px;

    flex-wrap: wrap;
}

.button {
    display: inline-block;

    padding: 13px 21px;

    border-radius: 5px;

    text-decoration: none;

    font-weight: 800;
}

.button.primary {
    background: #b52229;

    color: white;
}

.button.primary:hover {
    background: #921d23;
}

.button.secondary {
    border: 1px solid rgba(255,255,255,.45);

    color: white;
}

.button.secondary:hover {
    background: rgba(255,255,255,.1);
}


/* =========================
   QUICK LINKS
========================= */

.quick-links {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;

    margin-top: -45px;

    position: relative;

    z-index: 5;
}

.quick-card {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 22px;

    background: white;

    border: 1px solid #e0e5e8;

    border-radius: 7px;

    box-shadow:
        0 7px 22px rgba(0,0,0,.12);

    text-decoration: none;
}

.quick-card > span {
    font-size: 30px;
}

.quick-card strong {
    display: block;

    font-size: 14px;
}

.quick-card small {
    display: block;

    color: #707c85;

    font-size: 11px;
}

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

    transition: .2s;
}


/* =========================
   HOME
========================= */

.welcome {
    padding: 80px 0 40px;

    max-width: 900px;
}

.section-heading h2 {
    margin-top: 0;

    font-size: 38px;
}

.welcome p {
    color: #65717a;

    font-size: 17px;
}

.home-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    padding-bottom: 80px;
}

.feature {
    padding: 30px;

    background: white;

    border: 1px solid #e0e5e8;

    border-radius: 8px;

    box-shadow:
        0 4px 15px rgba(0,0,0,.05);
}

.feature-icon {
    font-size: 38px;
}

.feature h2 {
    margin-bottom: 10px;
}

.feature p {
    color: #68747e;
}

.feature a {
    color: #b52229;

    text-decoration: none;

    font-weight: 800;
}


/* =========================
   PAGE
========================= */

.page {
    min-height:
        calc(100vh - 160px);

    padding: 65px 0 90px;
}

.page h1 {
    margin: 0;

    font-size:
        clamp(40px, 6vw, 58px);

    line-height: 1.05;
}

.lead {
    max-width: 800px;

    color: #68747e;

    font-size: 18px;
}


/* =========================
   PANELS
========================= */

.content-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

    margin-top: 35px;
}

.panel {
    padding: 30px;

    background: white;

    border: 1px solid #e0e5e8;

    border-radius: 8px;

    box-shadow:
        0 4px 15px rgba(0,0,0,.05);
}

.panel h2 {
    margin-top: 0;
}

.panel li {
    margin: 8px 0;
}

.big-icon {
    font-size: 45px;
}


/* =========================
   NOTICE
========================= */

.notice {
    display: flex;

    gap: 18px;

    margin: 45px 0 0;

    padding: 25px;

    background: #fff7eb;

    border-left:
        5px solid #c47b1a;
}

.notice.important {
    background: #fff3f3;

    border-left-color: #b52229;
}

.notice-icon {
    flex-shrink: 0;

    font-size: 31px;
}

.notice h2 {
    margin:
        0 0 5px;
}

.notice p {
    margin: 0;
}


/* =========================
   APPARATUS
========================= */

.apparatus-card {
    position: relative;
}

.apparatus-card p {
    color: #68747e;
}

.status {
    display: inline-block;

    padding: 6px 12px;

    margin-top: 10px;

    border-radius: 20px;

    background: #edf7f0;

    color: #19743d;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1px;
}


/* =========================
   COMMUNICATIONS
========================= */

.communication-card {
    text-align: center;

    padding: 40px;
}

.communication-card h2 {
    font-size: 31px;
}

.communication-card h3 {
    color: #68747e;
}

.communication-card ul {
    padding-left: 0;

    list-style: none;
}

.badge {
    display: inline-block;

    padding: 7px 14px;

    border-radius: 20px;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1px;
}

.badge.operational {
    background: #fff0f0;

    color: #a82026;
}

.badge.general {
    background: #eef2f5;

    color: #52616d;
}


/* =========================
   RIDE ALONGS
========================= */

.steps {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

    margin-top: 35px;
}

.steps > div {
    padding: 25px;

    background: white;

    border: 1px solid #e0e5e8;

    border-radius: 7px;
}

.steps strong {
    color: #b52229;

    font-size: 28px;
}

.steps h2 {
    margin:
        5px 0;
}

.steps p {
    color: #68747e;
}

.ride-rules {
    margin-top: 25px;
}


/* =========================
   ANNOUNCEMENTS
========================= */

.announcement-list {
    display: grid;

    gap: 18px;

    margin-top: 35px;
}

.announcement {
    display: grid;

    grid-template-columns: 85px 1fr;

    gap: 25px;

    padding: 25px;

    background: white;

    border: 1px solid #e0e5e8;

    border-radius: 8px;

    box-shadow:
        0 4px 15px rgba(0,0,0,.05);
}

.announcement-date {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    min-height: 80px;

    background: #17212a;

    color: white;

    border-radius: 5px;
}

.announcement-date span {
    font-size: 9px;

    letter-spacing: 1px;
}

.announcement-date strong {
    font-size: 30px;
}

.announcement-label {
    color: #b52229;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1px;
}

.announcement h2 {
    margin:
        4px 0 8px;
}

.announcement p {
    color: #68747e;

    margin: 0;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #111820;

    color: white;

    padding: 30px 0;
}

.footer-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.footer-content strong {
    display: block;
}

.footer-content span {
    display: block;

    color: #9da7b0;

    font-size: 11px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 950px) {

    nav a {
        padding-left: 6px;
        padding-right: 6px;

        font-size: 11px;
    }

    .quick-links {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .home-grid {
        grid-template-columns: 1fr;
    }

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

}


@media (max-width: 760px) {

    .nav {
        min-height: 70px;
    }

    .menu-button {
        display: block;
    }

    nav {
        display: none;

        position: absolute;

        top: 70px;

        left: 0;

        right: 0;

        background: #111820;

        flex-direction: column;

        border-top:
            1px solid rgba(255,255,255,.08);
    }

    nav.open {
        display: flex;
    }

    nav a {
        width: 100%;

        padding: 15px 5%;
    }

    .hero {
        min-height: 530px;
    }

    .quick-links {
        grid-template-columns: 1fr;

        margin-top: 0;

        padding-top: 20px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .announcement {
        grid-template-columns: 1fr;
    }

    .announcement-date {
        width: 85px;
    }

    .footer-content {
        flex-direction: column;

        align-items: flex-start;
    }

}