@font-face {
    font-family: Anton;
    src: url("/fonts/anton-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.route-home {
    --route-ink: #242e5c;
    --route-accent: #242e5c;
}

.route-home #nav-placeholder .navbar {
    padding-block: .75rem !important;
    background: #fff !important;
    border-bottom: 1px solid #d6e5e3;
    font-size: .94rem !important;
    opacity: 1;
}

.route-home #nav-placeholder .navbar-brand {
    left: 0;
    width: 8.5rem;
}

.route-home #navbarDropdown {
    margin-top: 0;
}

.route-home #navbarDropdown .nav-link {
    color: var(--route-ink) !important;
}

.route-home #navbarDropdown .dropdown-menu {
    background: #fff !important;
}

.route-home #navbarDropdown #booking {
    background: var(--route-accent) !important;
    color: #fff !important;
}

.route-lead {
    padding-block: clamp(2rem, 5vw, 4rem);
    color: var(--route-ink);
    background: #fcfaf5;
}

#routes { scroll-margin-top: 6rem; }

.route-photo-section { padding-block: clamp(2.5rem, 7vw, 5rem); color: var(--route-ink); background: #fcfaf5; }
.route-photo-intro { max-width: 39rem; }
.route-photo-intro h2 { margin-block: .35rem .65rem; }
.route-photo-intro p:last-child { margin-bottom: 0; }
.route-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem .85rem; margin-top: 1.4rem; }
.route-photo-grid figure { margin: 0; }
.route-photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .75rem; }
.route-photo-grid figcaption { margin-top: .35rem; font-size: .92rem; font-weight: 750; }

.route-wrap {
    width: min(72rem, calc(100% - 2rem));
    margin-inline: auto;
}

.route-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding-block: 6rem 5.5rem;
    color: #fff;
    background: #0c3341 url("/images/sailing1.jpg") center / cover no-repeat;
}

.route-hero-video,
.route-hero::before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.route-hero-video {
    object-fit: cover;
}

.route-hero::before {
    content: "";
    z-index: 1;
    background: linear-gradient(90deg, #0d2038e8, #0d20388f 62%, #0d20385c);
    pointer-events: none;
}

.route-hero-copy {
    position: relative;
    z-index: 2;
}

html body.route-home .route-hero h1 {
    margin: .4rem 0 .65rem;
    font: 400 clamp(2.75rem, 8vw, 7rem)/1.02 Anton, "Impact", "Arial Narrow", sans-serif;
    letter-spacing: .01em;
    text-transform: uppercase;
    text-wrap: balance;
}

.route-hero-description {
    max-width: 48ch;
    margin: 0;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.route-hero .route-kicker {
    color: #e2e8fa;
}

.route-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem 1.1rem;
    margin-top: 1.25rem;
}

.route-hero .route-hero-secondary {
    color: #fff;
    font-weight: 750;
    text-underline-offset: .2em;
}

.route-hero .route-hero-link {
    border-color: #fcfaf5;
    background: #fcfaf5;
    color: var(--route-ink);
}

.route-hero .route-hero-link:hover {
    background: #fff;
}

.route-video-toggle {
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 1rem;
    padding: .5rem .75rem;
    border: 1px solid #fff;
    border-radius: .35rem;
    background: #0c3341;
    color: #fff;
    font-size: .85rem;
    font-weight: 750;
}

.route-kicker {
    margin: 0;
    color: var(--route-accent);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.route-grid {
    display: grid;
    gap: 1rem;
    scroll-margin-top: 5.5rem;
}

.route-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #cfe3e0;
    border-radius: .75rem;
}

.route-card img {
    display: block;
    width: 100%;
    height: clamp(9.5rem, 24vw, 14rem);
    border-radius: .7rem .7rem 0 0;
    object-fit: cover;
}

.route-card-copy {
    padding: 1rem 1.25rem 1.25rem;
}

.route-card h2 {
    margin: .25rem 0 .4rem;
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
}

.route-card-copy p:not(.route-kicker) {
    margin-bottom: .5rem;
}

.route-detail-link {
    color: var(--route-accent);
    font-weight: 800;
    text-underline-offset: .2em;
}

.route-button {
    display: inline-block;
    padding: .6rem .85rem;
    border: 1px solid var(--route-accent);
    border-radius: .35rem;
    background: var(--route-accent);
    color: #fff;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
}

.route-button:hover {
    background: #334386;
    color: #fff;
}

.route-home #welcome {
    padding-top: clamp(2rem, 6vw, 4rem);
}

@media (prefers-reduced-motion: reduce) {
    .route-hero-video {
        display: none;
    }
}

@media (max-width: 38rem) {
    .route-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 42rem) {
    .route-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .route-home #navbarDropdown {
        max-height: 70vh;
        overflow-y: auto;
        padding-block: .5rem;
    }
}
