.kokol-page {
    background: #f6f1e6;
}

.package-gallery-illustration {
    position: absolute;
    inset: 0;
    height: 100%;
    border: 0;
}

.weather-ribbon {
    min-height: 29px;
    padding: 5px 16px;
    background: #19241e;
    color: #f4e9d0;
    font-size: var(--type-label);
    text-align: center;
}

.weather-ribbon span {
    padding-right: 5px;
    color: #e5ba6a;
}

.kokol-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(26px, 4vw, 48px);
    padding-block: 25px 30px;
}

.overview-photo {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    background: #354739;
}

.overview-photo::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(0deg, rgba(11, 26, 16, 0.7), transparent);
    content: "";
}

.overview-photo img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
}

.overview-photo-tag {
    position: absolute;
    z-index: 1;
    bottom: 15px;
    left: 17px;
    color: #fffdf7;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.overview-copy {
    padding: 5px 0;
}

.kokol-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 9px;
    color: var(--gold-deep);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.kokol-eyebrow > span {
    width: 25px;
    height: 1px;
    background: var(--gold-deep);
}

.overview-copy h1,
.itinerary-heading h2,
.package-facts h2,
.important-copy h2 {
    margin: 0;
    color: var(--forest);
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.1vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.08;
    text-wrap: balance;
}

.overview-copy h1 {
    font-size: var(--type-heading);
}

.overview-copy > p:not(.kokol-eyebrow) {
    margin: 10px 0 0;
    color: #625f54;
    font-size: 0.8rem;
    line-height: 1.55;
}

.experience-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
    margin-top: 19px;
}

.experience-pillars article {
    display: flex;
    align-items: center;
    gap: 8px;
}

.experience-pillars article > span {
    flex: 0 0 auto;
    color: var(--gold-deep);
    font-family: var(--serif);
    font-size: 1.5rem;
    line-height: 1;
}

.experience-pillars strong,
.experience-pillars small {
    display: block;
}

.experience-pillars strong {
    color: #32372d;
    font-size: 0.62rem;
    text-transform: uppercase;
}

.experience-pillars small {
    margin-top: 3px;
    color: #777264;
    font-size: 0.6rem;
    line-height: 1.25;
}

.itinerary-section {
    padding-block: 21px 25px;
    border-top: 1px solid rgba(121, 103, 68, 0.1);
    background: #f1ecdf;
}

.itinerary-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 13px;
}

.itinerary-heading h2 {
    font-size: clamp(1.65rem, 2.7vw, 2.3rem);
}

.itinerary-heading > p {
    max-width: 350px;
    margin: 0 0 3px;
    color: #777264;
    font-size: 0.71rem;
}

.itinerary-track {
    display: grid;
    grid-template-columns: repeat(var(--itinerary-count, 9), minmax(122px, 1fr));
    gap: 8px;
    overflow-x: auto;
    padding: 1px 1px 10px;
    scrollbar-color: #b69b6a #e7decd;
    scrollbar-width: thin;
}

.itinerary-card {
    position: relative;
    z-index: calc(var(--itinerary-count, 9) - var(--step-index, 0));
    min-width: 0;
    overflow: visible;
    border: 1px solid rgba(111, 91, 54, 0.13);
    border-radius: 7px;
    background: #fbf8f0;
    box-shadow: 0 4px 12px rgba(49, 38, 19, 0.045);
}

.timeline-time {
    display: block;
    min-height: 25px;
    padding: 5px 5px 4px;
    border-radius: 6px 6px 0 0;
    background: var(--forest);
    color: #fffdf7;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: var(--type-label);
    font-weight: 700;
    text-align: center;
    overflow-wrap: anywhere;
}

.itinerary-card > img,
.timeline-sunset {
    width: calc(100% - 12px);
    height: 80px;
    margin: 6px auto 0;
    border-radius: 4px;
    object-fit: cover;
}

.timeline-sunset {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #485363, #d98763 60%, #f0bd7b);
}

.timeline-sunset::before,
.timeline-sunset::after {
    position: absolute;
    right: -8%;
    bottom: -47%;
    left: -8%;
    height: 90%;
    border-radius: 50% 50% 0 0;
    background: #38494a;
    content: "";
}

.timeline-sunset::after {
    bottom: -57%;
    background: #24372e;
    transform: translateX(-12%);
}

.timeline-sunset span {
    position: absolute;
    top: 15px;
    right: 25%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffe1a1;
    box-shadow: 0 0 18px rgba(255, 207, 126, 0.7);
}

.timeline-copy {
    padding: 7px 8px 10px;
}

.timeline-index {
    color: var(--gold-deep);
    font-size: 0.51rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.timeline-copy h3 {
    margin: 2px 0 4px;
    color: var(--forest);
    font-family: var(--serif);
    font-size: 0.8rem;
    line-height: 1.12;
}

.timeline-copy p {
    margin: 0;
    color: #6d695e;
    font-size: 0.59rem;
    line-height: 1.35;
}

.timeline-arrow {
    position: absolute;
    z-index: 1;
    top: 65px;
    right: -23px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 2px solid var(--paper);
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 3px 10px rgba(16, 41, 31, 0.25);
    color: var(--forest-deep);
    font-size: 1.8rem;
    line-height: 1;
    pointer-events: none;
}

.scroll-hint {
    display: none;
    margin: 5px 0 0;
    color: #807660;
    font-size: 0.64rem;
    text-align: right;
}

.package-facts {
    display: grid;
    grid-template-columns: 1fr 0.92fr 1.12fr;
    gap: 22px;
    padding-block: 25px 30px;
}

.package-facts h2,
.important-copy h2 {
    margin-bottom: 11px;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.fact-column,
.rates-column {
    min-width: 0;
}

.fact-column + .fact-column,
.rates-column {
    padding-left: 19px;
    border-left: 1px solid rgba(109, 92, 59, 0.19);
}

.fact-list {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fact-list li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 7px;
    align-items: start;
    color: #605c51;
    font-size: 0.68rem;
    line-height: 1.35;
}

.fact-list li > span {
    color: var(--gold-deep);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.05;
    text-align: center;
}

.bring-list {
    gap: 11px;
}

.rate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.rate-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    padding: 12px 9px 9px;
    border: 1px solid rgba(143, 115, 66, 0.14);
    border-radius: 7px;
    background: #eee5d3;
    text-align: center;
}

.rate-card h3 {
    min-height: 1.4em;
    margin: 0 0 3px;
    color: #525045;
    font-size: 0.63rem;
    line-height: 1.25;
}

.rate-price {
    color: var(--forest);
    font-family: var(--serif);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1;
}

.rate-per-person {
    margin-top: 2px;
    color: #696456;
    font-size: 0.58rem;
}

.rate-per-person + .rate-price {
    margin-top: 10px;
}

.package-sessions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--forest);
    font-size: var(--type-label);
}

.package-sessions > span {
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--paper);
}

.package-sessions strong {
    margin-right: 8px;
}

.package-preview-note {
    margin: 0 0 12px;
    color: var(--gold-deep);
    font-size: var(--type-label);
}

.rate-card > small {
    margin-top: 5px;
    color: #7b705d;
    font-size: 0.48rem;
    line-height: 1.2;
}

.rate-book-button {
    display: flex;
    width: 100%;
    min-height: 31px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 8px;
    border-radius: 4px;
    background: var(--forest);
    color: #fffdf7;
    font-size: 0.61rem;
    font-weight: 700;
}

.rate-book-button:hover {
    background: #28543c;
    color: #fffdf7;
}

.package-book-button {
    min-height: 44px;
    margin-top: 12px;
    font-size: var(--type-label);
}

.rate-card--gold .rate-book-button {
    background: #a86f32;
}

.rate-card--gold .rate-book-button:hover {
    background: #875324;
}

.minimum-booking {
    display: flex;
    min-height: 35px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 8px 0 0;
    border-radius: 5px;
    background: #eee5d3;
    color: #4e493c;
    font-size: 0.64rem;
    font-weight: 700;
}

.minimum-booking span {
    color: var(--gold-deep);
    font-size: 0.95rem;
}

.booking-disclaimer {
    margin: 6px 0 0;
    color: #817968;
    font-size: 0.58rem;
    line-height: 1.35;
    text-align: center;
}

.important-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: 300px;
    background: #eee8db;
}

.important-photo {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    background: linear-gradient(180deg, #293a4b 0%, #a45d5a 42%, #ef9b5e 69%, #ffce82 100%);
}

.important-photo::before,
.important-photo::after {
    position: absolute;
    right: -4%;
    bottom: -36%;
    left: -6%;
    height: 96%;
    border-radius: 50% 50% 0 0 / 45% 45% 0 0;
    background: #4a4d50;
    content: "";
    transform: rotate(-5deg);
}

.important-photo::after {
    bottom: -51%;
    background: linear-gradient(150deg, #314339, #172b26 80%);
    transform: rotate(4deg);
}

.important-photo--image::before {
    display: none;
}

.important-photo--image::after {
    inset: 0;
    height: auto;
    border-radius: 0;
    background: linear-gradient(0deg, rgba(11, 26, 16, 0.8), transparent 80%);
    transform: none;
}

.important-photo--image > img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
}

.important-sun {
    position: absolute;
    top: 25%;
    right: 27%;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #ffdb94;
    box-shadow: 0 0 44px 14px rgba(255, 187, 105, 0.52);
}

.important-ridge {
    position: absolute;
    z-index: 1;
    right: -5%;
    bottom: -38%;
    left: -5%;
    height: 90%;
    background: #5b4b51;
    clip-path: polygon(0 66%, 15% 42%, 29% 60%, 43% 25%, 57% 58%, 70% 36%, 86% 60%, 100% 39%, 100% 100%, 0 100%);
}

.important-ridge-front {
    bottom: -50%;
    background: #21362c;
    clip-path: polygon(0 54%, 18% 46%, 33% 63%, 49% 40%, 66% 62%, 82% 45%, 100% 58%, 100% 100%, 0 100%);
}

.important-photo p {
    position: absolute;
    z-index: 2;
    bottom: 23px;
    left: 25px;
    margin: 0;
    color: #fff9eb;
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
}

.important-copy {
    align-self: center;
    padding: 30px clamp(24px, 5vw, 70px);
}

.important-copy h2 {
    margin-bottom: 12px;
}

.important-copy > ul {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 11px 16px;
    border: 1px solid rgba(143, 115, 66, 0.14);
    border-radius: 7px;
    background: rgba(255, 253, 247, 0.72);
    list-style: none;
}

.important-copy li {
    display: grid;
    grid-template-columns: 17px 1fr;
    gap: 8px;
    padding-block: 5px;
    color: #605c51;
    font-size: 0.68rem;
    line-height: 1.38;
}

.important-copy li span {
    color: var(--gold-deep);
    font-size: 0.73rem;
}

.itinerary-card,
.rate-card {
    transition: transform 240ms ease, box-shadow 240ms ease;
}

.itinerary-card:hover,
.rate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(49, 38, 19, 0.11);
}

@media (max-width: 900px) {
    .itinerary-track {
        grid-template-columns: repeat(var(--itinerary-count, 9), 138px);
    }

    .package-facts {
        grid-template-columns: 1fr 1fr;
    }

    .rates-column {
        grid-column: 1 / -1;
        padding: 18px 0 0;
        border-top: 1px solid rgba(109, 92, 59, 0.19);
        border-left: 0;
    }

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

@media (max-width: 650px) {
    .kokol-overview {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-block: 17px 24px;
    }

    .overview-photo {
        min-height: 240px;
    }

    .overview-copy h1 {
        font-size: var(--type-heading);
    }

    .overview-copy > p:not(.kokol-eyebrow) {
        font-size: 0.77rem;
    }

    .experience-pillars {
        gap: 7px;
    }

    .experience-pillars article {
        gap: 5px;
    }

    .experience-pillars article > span {
        font-size: 1.2rem;
    }

    .experience-pillars strong {
        font-size: 0.56rem;
    }

    .experience-pillars small {
        font-size: 0.55rem;
    }

    .itinerary-section {
        padding-block: 18px 20px;
    }

    .itinerary-heading {
        display: block;
    }

    .itinerary-heading h2 {
        font-size: var(--type-heading);
    }

    .itinerary-heading > p {
        margin-top: 7px;
    }

    .itinerary-track {
        grid-template-columns: repeat(var(--itinerary-count, 9), 146px);
        margin-right: -15px;
        padding-right: 15px;
    }

    .scroll-hint {
        display: block;
    }

    .package-facts {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-block: 20px 23px;
    }

    .package-facts h2 {
        margin-bottom: 8px;
        font-size: 1.55rem;
    }

    .fact-column + .fact-column {
        padding: 16px 0 0;
        border-top: 1px solid rgba(109, 92, 59, 0.19);
        border-left: 0;
    }

    .fact-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px 13px;
    }

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

    .rates-column {
        grid-column: auto;
        padding-top: 16px;
    }

    .important-section {
        grid-template-columns: 1fr;
    }

    .important-photo {
        min-height: 220px;
    }

    .important-copy {
        padding: 22px 18px 27px;
    }

    .important-copy h2 {
        font-size: 1.65rem;
    }

}

@media (max-width: 380px) {
    .package-facts .page-width {
        width: calc(100% - 30px);
    }

    @media (prefers-reduced-motion: reduce) {
        .itinerary-card,
        .rate-card {
            transition: none;
        }
    }

    .rate-grid {
        gap: 7px;
    }

    .rate-card {
        padding-inline: 6px;
    }

    .rate-card h3 {
        font-size: 0.57rem;
    }

    .rate-card > small {
        font-size: 0.43rem;
    }
}

.package-gallery-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.package-gallery-link figure {
    height: 100%;
}

.package-gallery-link:focus-visible {
    outline: 2px solid #e0be7d;
    outline-offset: 3px;
}

@media (max-width: 700px) {
    .package-gallery-preview .package-gallery-link:nth-child(3):last-child {
        grid-column: 1 / -1;
    }
}
