@font-face {
    font-display: swap;
    font-family: "TripMontserrat";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/montserrat-v26-latin-regular.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "TripMontserrat";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/montserrat-v26-latin-500.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "TripCrimson";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/crimson-text-v19-latin-regular.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "TripJost";
    font-style: normal;
    font-weight: 200;
    src: url("../fonts/jost-v15-latin-200.woff2") format("woff2");
}

.trip-detail-page {
    --trip-gold: #b8984b;
    --trip-ink: #030303;
    --trip-surface: #070707;
    --trip-muted: #a8a29e;
    --trip-line: rgba(255, 255, 255, .075);
    min-height: 100vh;
    color: #f5f5f4;
    background: var(--trip-ink);
    font-family: "TripMontserrat", Montserrat, sans-serif;
}

.trip-detail-page a {
    color: inherit;
}

.trip-detail-main {
    background: var(--trip-ink);
}

.trip-detail-page .trip-detail-hero.hero-image {
    display: grid;
    min-height: 390px;
    height: min(58svh, 560px);
    place-items: center;
    isolation: isolate;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}

.trip-detail-page .trip-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .24) 32%, rgba(0, 0, 0, .08) 68%, rgba(0, 0, 0, .52)),
        linear-gradient(180deg, rgba(0, 0, 0, .74), rgba(0, 0, 0, .12) 36%, rgba(0, 0, 0, .16) 58%, rgba(0, 0, 0, .94));
    pointer-events: none;
}

.trip-detail-page .trip-detail-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 34%;
    background: linear-gradient(180deg, transparent, var(--trip-ink));
    pointer-events: none;
}

.trip-hero-copy {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 44px));
    text-align: center;
}

.trip-eyebrow,
.trip-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .78);
    font: 400 clamp(.74rem, 1vw, 1rem)/1 "TripJost", Jost, sans-serif;
    letter-spacing: .34em;
    text-transform: uppercase;
}

.trip-eyebrow::before,
.trip-eyebrow::after {
    content: "";
    width: 42px;
    height: 1px;
    background: rgba(255, 255, 255, .62);
}

.trip-hero-copy h1 {
    max-width: 740px;
    margin: 18px auto 0;
    color: #fff;
    font: 400 clamp(2.15rem, 4vw, 64px)/1.02 "TripMontserrat", Montserrat, sans-serif;
    letter-spacing: -.035em;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .55);
}

.trip-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    margin-top: 22px;
    color: #d6d3d1;
    font-size: 9px;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.trip-hero-meta > * {
    position: relative;
}

.trip-hero-meta > * + *::before {
    content: "/";
    position: absolute;
    left: -13px;
    color: rgba(255, 255, 255, .3);
}

.trip-hero-meta a {
    color: var(--trip-gold);
    text-decoration: none;
}

.trip-detail-shell,
.trip-story-shell,
.trip-gallery-shell {
    width: min(1520px, calc(100% - 40px));
    margin: 0 auto;
}

.trip-breadcrumb-section {
    padding: 10px 0 6px;
    background: var(--trip-ink);
}

.trip-breadcrumb-section .trip-detail-shell {
    width: min(1120px, calc(100% - 40px));
}

.trip-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: clamp(22px, 4vw, 54px);
    color: #78716c;
    font-size: 8px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.trip-breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.trip-breadcrumb a:hover {
    color: var(--trip-gold);
}

.trip-breadcrumb span:last-child {
    color: #a8a29e;
}

.trip-story-section {
    padding: clamp(34px, 5vw, 68px) 0 clamp(46px, 7vw, 88px);
    background:
        radial-gradient(circle at 12% 18%, rgba(184, 152, 75, .07), transparent 32%),
        var(--trip-ink);
}

.trip-story-shell {
    width: min(1120px, calc(100% - 40px));
}

.trip-section-kicker {
    color: #78716c;
    font: 500 9px/1 "TripMontserrat", Montserrat, sans-serif;
    letter-spacing: .24em;
}

.trip-section-kicker::before {
    content: "";
    width: 32px;
    height: 1px;
    background: rgba(184, 152, 75, .85);
}

.trip-story-heading {
    position: relative;
    padding-left: clamp(22px, 4vw, 54px);
}

.trip-story-heading::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 2px;
    left: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(184, 152, 75, .72), transparent);
}

.trip-story-heading h2 {
    max-width: 980px;
    margin: 16px 0 0;
    color: #f5f5f4;
    font: 400 clamp(32px, 5vw, 64px)/1.03 "TripCrimson", Georgia, serif;
    letter-spacing: -.02em;
}

.trip-story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 18px;
    color: #78716c;
    font-size: 8px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.trip-story-meta > * {
    position: relative;
}

.trip-story-meta > * + *::before {
    content: "/";
    position: absolute;
    left: -14px;
    color: rgba(255, 255, 255, .22);
}

.trip-story-meta a {
    color: var(--trip-gold);
    text-decoration: none;
}

.trip-description {
    max-width: 880px;
    margin-top: clamp(28px, 4vw, 44px);
    margin-left: clamp(22px, 4vw, 54px);
    color: var(--trip-muted) !important;
    font-size: 13px;
    line-height: 1.95;
}

.trip-description p {
    margin: 0 0 20px;
    color: var(--trip-muted) !important;
}

.trip-description div,
.trip-description li,
.trip-description span {
    color: var(--trip-muted) !important;
}

.trip-description p:first-child {
    color: #d6d3d1 !important;
    font-size: inherit;
    line-height: inherit;
}

.trip-description h2,
.trip-description h3,
.trip-description h4,
.trip-description h5,
.trip-description h6 {
    margin: 34px 0 12px;
    color: #f5f5f4 !important;
    font: 400 clamp(24px, 3vw, 40px)/1.08 "TripCrimson", Georgia, serif;
}

.trip-description a {
    color: var(--trip-gold) !important;
}

.trip-description img {
    max-width: 100%;
    height: auto;
}

.trip-gallery-section {
    padding: clamp(34px, 5vw, 70px) clamp(8px, 2vw, 28px) clamp(64px, 8vw, 112px);
    background: #050505;
}

.trip-gallery-shell {
    width: min(1520px, calc(100% - 24px));
}

.trip-gallery-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin: 0 0 26px;
}

.trip-gallery-heading h2 {
    margin: 8px 0 0;
    color: #f5f5f4;
    font: 400 28px/1 "TripMontserrat", Montserrat, sans-serif;
    letter-spacing: -.025em;
}

.trip-gallery-heading p,
.trip-empty {
    margin: 0;
    color: #78716c;
    font-size: 8px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.trip-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    grid-auto-rows: 1px;
    gap: 6px;
    width: 100%;
    margin: 0 auto;
    background: #000;
}

.trip-detail-page .trip-gallery-item {
    height: initial !important;
    min-height: initial !important;
    align-self: unset;
    box-sizing: border-box;
    overflow: hidden;
    background: #050505;
}

.trip-gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.trip-gallery-item img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    opacity: .94;
    filter: saturate(.94) contrast(1.02);
    transform: scale(1);
    transition: opacity .35s ease, transform .7s ease, filter .35s ease;
}

.trip-gallery-item:hover img {
    opacity: 1;
    filter: saturate(1.05) contrast(1.04);
    transform: scale(1.025);
}

.trip-empty {
    width: 100%;
    margin: 0;
}

@media (min-width: 1640px) {
    .trip-photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    }
}

@media (max-width: 767px) {
    .trip-detail-page .trip-detail-hero.hero-image {
        height: 52svh;
        min-height: 360px;
    }

    .trip-eyebrow {
        font-size: .72rem;
        letter-spacing: .26em;
    }

    .trip-eyebrow::before,
    .trip-eyebrow::after {
        width: 26px;
    }

    .trip-hero-copy h1 {
        font-size: clamp(1.85rem, 8.5vw, 2.85rem);
    }

    .trip-detail-shell,
    .trip-story-shell {
        width: calc(100% - 32px);
    }

    .trip-story-shell {
        width: calc(100% - 32px);
    }

    .trip-story-heading {
        padding-left: 20px;
    }

    .trip-breadcrumb {
        padding-left: 20px;
    }

    .trip-story-heading h2 {
        font-size: clamp(30px, 10vw, 44px);
    }

    .trip-description {
        margin-left: 20px;
    }

    .trip-gallery-heading {
        display: block;
    }

    .trip-gallery-heading h2 {
        font-size: 23px;
    }

    .trip-gallery-heading p {
        margin-top: 14px;
    }
}
