﻿@font-face {
    font-family: "Saudi Serif";
    src: url("./assets/fonts/SaudiSerif-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Saudi Serif";
    src: url("./assets/fonts/SaudiSerif-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Saudi Serif";
    src: url("./assets/fonts/SaudiSerif-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.25rem;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #4c4d4c;
    background: #ffffff;
}

main > section[id] {
    scroll-margin-top: 5.25rem;
}

.font-saudi {
    font-family: "Saudi Serif", Georgia, serif;
}

.hero-scrim {
    background: rgba(76, 77, 76, 0.45);
}

.tab-btn.is-active {
    background: #be008d !important;
    color: #ffffff !important;
}

.attraction-carousel {
    position: relative;
    padding-top: 0;
}

.attraction-carousel-viewport {
    overflow: hidden;
}

.attraction-carousel-track {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    transition: transform 0.4s ease;
    will-change: transform;
}

    .attraction-carousel-track .dest-card {
        flex: 0 0 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        background: #ffffff;
        color: #4c4d4c;
        border-top: 4px solid #be008d;
        box-shadow: 0 16px 40px rgba(120, 0, 110, 0.24);
        transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    }

@media (min-width: 640px) {
    .attraction-carousel-track .dest-card {
        flex: 0 0 calc((100% - 1.25rem) / 2);
    }
}

@media (min-width: 1024px) {
    .attraction-carousel-track .dest-card {
        flex: 0 0 calc((100% - 2.5rem) / 3);
    }
}

.attraction-carousel-track .dest-card:hover {
    transform: translateY(-8px);
    border-color: #78006e;
    box-shadow: 0 28px 56px rgba(190, 0, 141, 0.34);
}

.dest-card-media {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #4c4d4c;
}

    .dest-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.dest-card:hover .dest-card-media img {
    transform: scale(1.1);
}

.dest-card-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(120, 0, 110, 0.88) 0%, rgba(120, 0, 110, 0.35) 42%, rgba(76, 77, 76, 0.08) 100% );
    pointer-events: none;
}

.dest-card-place {
    display: block;
    width: 100%;
    font-family: "Saudi Serif", Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.15;
    text-transform: none;
    background: transparent;
    color: #be008d;
    padding: 0;
}

@media (min-width: 640px) {
    .dest-card-place {
        font-size: 1.6rem;
    }
}

.dest-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.35rem 1.35rem 1.55rem;
    background: linear-gradient(180deg, #ffffff 0%, #fff8fc 100%);
}

    .dest-card-body h3 {
        position: relative;
        display: flex;
        align-items: center;
        gap: 0.4rem;
        padding-bottom: 0.75rem;
        font-family: "Saudi Serif", Georgia, serif;
        font-size: 1.125rem;
        font-weight: 400;
        line-height: 1.35;
        color: #4c4d4c;
    }

        .dest-card-body h3 > b {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            padding: 0.2rem 0.5rem;
            border-radius: 0.375rem;
            background: rgba(190, 0, 141, 0.1);
            color: #be008d;
            font-size: 1.25rem;
            font-weight: 700;
            line-height: 1.2;
            white-space: nowrap;
        }

@media (min-width: 768px) {
    .dest-card-body h3 > b {
        font-size: 1.5rem;
    }
}

.dest-card-body h3 > span {
    flex: 1 1 0;
    min-width: 0;
}

.dest-card-body h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.5rem;
    height: 3px;
    background: #be008d;
    transition: width 0.3s ease;
}

.dest-card:hover .dest-card-body h3::after {
    width: 4rem;
}

.dest-card-body p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    flex: 0 0 auto;
    max-height: calc(1.625em * 3);
}

.dest-card-cta {
    margin-top: 1.25rem;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.45rem;
    background: #be008d;
    color: #ffffff;
    padding: 0.7rem 1.2rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 8px 18px rgba(190, 0, 141, 0.28);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .dest-card-cta svg {
        width: 1rem;
        height: 1rem;
        transition: transform 0.25s ease;
    }

    .dest-card-cta:hover {
        background: #78006e;
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(120, 0, 110, 0.34);
    }

        .dest-card-cta:hover svg {
            transform: translateX(3px);
        }

.attraction-carousel-btn {
    position: absolute;
    top: 0;
    z-index: 2;
    display: none;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #be008d;
    border: none;
    box-shadow: 0 8px 20px rgba(120, 0, 110, 0.28);
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

@media (min-width: 640px) {
    .attraction-carousel {
        padding-top: 3.5rem;
    }

    .attraction-carousel-btn {
        display: inline-flex;
    }
}

.attraction-carousel-btn:hover:not(:disabled) {
    background: #be008d;
    color: #ffffff;
}

.attraction-carousel-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.attraction-carousel-btn--prev {
    right: 3.25rem;
}

.attraction-carousel-btn--next {
    right: 0;
}

.attraction-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.attraction-carousel-dot {
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 9999px;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    transition: background 0.2s ease, width 0.2s ease;
}

    .attraction-carousel-dot.is-active {
        width: 1.35rem;
        background: #ffffff;
    }

.attraction-hero {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #4c4d4c;
}

    .attraction-hero img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.attraction-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(120, 0, 110, 0.92) 0%, rgba(120, 0, 110, 0.45) 45%, rgba(120, 0, 110, 0.15) 100% );
}

.attraction-hero-content {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 1.5rem;
    text-align: center;
    color: #ffffff;
}

.attraction-detail-item {
    border: 1px solid rgba(190, 0, 141, 0.12);
    background: #fafafa;
    box-shadow: 0 8px 20px rgba(120, 0, 110, 0.08);
}

.hotel-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hotel-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotel-card-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

.hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(190, 0, 141, 0.16);
}

.hotel-card > .flex-1 {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.hotel-card h3 {
    min-height: 3.5rem;
    text-align: center;
}

.hotel-card a[href="#lets-connect"] {
    margin-top: auto;
}

.hotel-stars {
    color: #be008d;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-align: center;
}

.season-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .season-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 24px 48px rgba(120, 0, 110, 0.35) !important;
    }

    .season-card ul li {
        transition: background 0.25s ease, color 0.25s ease;
    }

    .season-card:hover ul li {
        background: rgba(190, 0, 141, 0.16);
        color: #78006e;
    }

.hotel-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 0.15rem;
}

    .hotel-tabs::-webkit-scrollbar {
        display: none;
    }

    .hotel-tabs .tab-btn {
        position: relative;
        flex: 1 1 0;
        min-width: 0;
        white-space: nowrap;
        text-align: center;
        border: none;
        box-shadow: 0 4px 14px rgba(76, 77, 76, 0.16) !important;
    }

        .hotel-tabs .tab-btn.is-active {
            box-shadow: 0 8px 22px rgba(190, 0, 141, 0.4) !important;
        }

            .hotel-tabs .tab-btn.is-active::after {
                content: "";
                position: absolute;
                left: 50%;
                bottom: -8px;
                width: 0;
                height: 0;
                border-left: 8px solid transparent;
                border-right: 8px solid transparent;
                border-top: 8px solid #be008d;
                transform: translateX(-50%);
                filter: drop-shadow(0 2px 3px rgba(190, 0, 141, 0.25));
                pointer-events: none;
            }

@media (min-width: 640px) {
    .hotel-tabs {
        gap: 0.5rem;
        overflow-x: visible;
    }

        .hotel-tabs .tab-btn {
            flex: 0 0 auto;
        }
}

@media (min-width: 1024px) {
    .hotel-tabs {
        gap: 0.75rem;
    }

        .hotel-tabs .tab-btn {
            min-width: 9.5rem;
            padding-left: 2rem;
            padding-right: 2rem;
        }
}

.hotel-carousel {
    position: relative;
    padding-top: 0;
}

.hotel-carousel-viewport {
    overflow: hidden;
}

.hotel-carousel-track {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    transition: transform 0.4s ease;
    will-change: transform;
}

    .hotel-carousel-track .hotel-card {
        flex: 0 0 100%;
        min-width: 0;
        align-self: stretch;
    }

@media (min-width: 640px) {
    .hotel-carousel {
        padding-top: 3.5rem;
    }

    .hotel-carousel-track .hotel-card {
        flex: 0 0 calc((100% - 1.25rem) / 2);
    }
}

@media (min-width: 1024px) {
    .hotel-carousel-track .hotel-card {
        flex: 0 0 calc((100% - 3.75rem) / 4);
    }
}

.hotel-carousel-btn {
    position: absolute;
    top: 0;
    z-index: 2;
    display: none;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    background: #be008d;
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 20px rgba(120, 0, 110, 0.28);
    transition: background 0.2s ease, opacity 0.2s ease;
}

@media (min-width: 640px) {
    .hotel-carousel-btn {
        display: inline-flex;
    }
}

.hotel-carousel-btn:hover:not(:disabled) {
    background: #78006e;
}

.hotel-carousel-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.hotel-carousel-btn--prev {
    right: 3.25rem;
}

.hotel-carousel-btn--next {
    right: 0;
}

.hotel-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.hotel-carousel-dot {
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 999px;
    background: rgba(76, 77, 76, 0.25);
    border: none;
    padding: 0;
    transition: background 0.2s ease, width 0.2s ease;
}

    .hotel-carousel-dot.is-active {
        width: 1.5rem;
        background: #be008d;
    }

.scroll-top-btn {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 70;
    display: inline-flex;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    background: #be008d;
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 28px rgba(120, 0, 110, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.send-query-fixed {
    position: fixed;
    left: 0;
    top: 50%;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    background: #be008d;
    color: #ffffff;
    padding: 1.15rem 0.7rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(120, 0, 110, 0.35);
    transition: background 0.2s ease;
}

    .send-query-fixed:hover {
        background: #78006e;
    }

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: #78006e;
}

@media (min-width: 640px) {
    .scroll-top-btn {
        right: 1.75rem;
        bottom: 1.75rem;
    }
}

.media-centers-section {
    background: radial-gradient(circle at 12% 18%, rgba(190, 0, 141, 0.08), transparent 42%), radial-gradient(circle at 88% 78%, rgba(120, 0, 110, 0.08), transparent 40%), #f4f5f7;
    padding-block: 1.75rem;
}

@media (min-width: 1024px) {
    .media-centers-section {
        padding-block: 2.5rem;
    }
}

/* Mobile: compact square grid */
.media-diamond-mosaic {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding: 0;
}

.media-diamond-cluster,
.media-diamond-row {
    display: contents;
}

.media-diamond {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
    z-index: 1;
    overflow: visible;
    -webkit-tap-highlight-color: transparent;
}

.media-diamond-shape {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 0.35rem;
    background: #4c4d4c;
}

.media-diamond-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

    .media-diamond-media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        transition: transform 0.35s ease;
    }

.media-diamond-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0.35rem 0.4rem;
    background: linear-gradient(to top, rgba(120, 0, 110, 0.75), transparent 60%);
    color: #ffffff;
    opacity: 1;
    text-align: left;
    pointer-events: none;
}

.media-diamond-label {
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1.15;
    max-width: 100%;
}

/* Desktop: interlocking diamond tiles with upright images */
@media (min-width: 768px) {
    .media-centers-section {
        overflow: visible;
    }

    .media-diamond-mosaic {
        --diamond-size: 140px;
        --diamond-gap: 1.75rem;
        --diamond-row-gap: calc(var(--diamond-size) * -0.22);
        display: block;
        max-width: 56rem;
        padding: calc(var(--diamond-size) * 0.5) 1.25rem;
        overflow: visible;
    }

    .media-diamond-cluster {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .media-diamond-row {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: var(--diamond-gap);
        width: 100%;
    }

        .media-diamond-cluster .media-diamond-row + .media-diamond-row,
        .media-diamond-cluster + .media-diamond-row,
        .media-diamond-row + .media-diamond-row {
            margin-top: var(--diamond-row-gap);
        }

    .media-diamond-cluster--top {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: var(--diamond-gap);
        width: 100%;
    }

        .media-diamond-cluster--top .media-diamond-row {
            display: contents;
        }

            .media-diamond-cluster--top .media-diamond-row + .media-diamond-row {
                margin-top: 0;
            }

    .media-diamond {
        width: var(--diamond-size);
        height: var(--diamond-size);
        aspect-ratio: auto;
        flex: 0 0 var(--diamond-size);
    }

    .media-diamond-row:nth-child(even) .media-diamond,
    .media-diamond-cluster--top .media-diamond-row:nth-child(even) .media-diamond {
        z-index: 2;
    }

    .media-diamond:hover,
    .media-diamond:focus-visible {
        z-index: 5;
    }

    .media-diamond-shape {
        inset: 0;
        border-radius: 1.15rem;
        transform: rotate(45deg);
        overflow: hidden;
        box-shadow: 0 10px 24px rgba(76, 77, 76, 0.18);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .media-diamond-media {
        inset: unset;
        top: 50%;
        left: 50%;
        width: 145%;
        height: 145%;
        transform: translate(-50%, -50%) rotate(-45deg);
        overflow: hidden;
    }

        .media-diamond-media img {
            width: 100%;
            height: 100%;
            max-width: none;
            object-fit: cover;
            object-position: center center;
            transform: none;
        }

    .media-diamond-overlay {
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        background: rgba(120, 0, 110, 0.52);
        opacity: 0;
        transition: opacity 0.25s ease;
        text-align: center;
    }

    .media-diamond-label {
        font-size: 0.72rem;
        max-width: 5.5rem;
    }

    .media-diamond:hover .media-diamond-shape,
    .media-diamond:focus-visible .media-diamond-shape {
        transform: rotate(45deg) scale(1.05);
        box-shadow: 0 16px 32px rgba(190, 0, 141, 0.28);
    }

    .media-diamond:hover .media-diamond-media img,
    .media-diamond:focus-visible .media-diamond-media img {
        transform: scale(1.06);
    }

    .media-diamond:hover .media-diamond-overlay,
    .media-diamond:focus-visible .media-diamond-overlay {
        opacity: 1;
    }
}

@media (min-width: 1024px) {
    .media-diamond-mosaic {
        --diamond-size: 168px;
        --diamond-gap: 2rem;
        --diamond-row-gap: calc(var(--diamond-size) * -0.22);
        max-width: 68rem;
        padding: calc(var(--diamond-size) * 0.52) 1.5rem;
    }

    .media-diamond-label {
        font-size: 0.8rem;
        max-width: 6.25rem;
    }
}

.media-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: rgba(76, 77, 76, 0.88);
}

    .media-lightbox.is-open {
        display: flex;
        animation: modal-fade 0.25s ease;
    }

.media-lightbox-inner {
    position: relative;
    width: min(100%, 1080px);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.media-lightbox-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    min-height: 45vh;
    max-height: 78vh;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

    .media-lightbox-stage img {
        max-width: 100%;
        max-height: 78vh;
        width: auto;
        height: auto;
        object-fit: contain;
    }

.media-lightbox-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
}

.media-lightbox-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 3;
    display: inline-flex;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    background: #be008d;
    color: #ffffff;
    border: none;
}

    .media-lightbox-close svg {
        width: 0.9rem;
        height: 0.9rem;
    }

.media-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    height: 1.65rem;
    width: 1.65rem;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.92);
    color: #be008d;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

    .media-lightbox-nav svg {
        width: 0.75rem;
        height: 0.75rem;
    }

.media-lightbox-nav--prev {
    left: 0.4rem;
}

.media-lightbox-nav--next {
    right: 0.4rem;
}

.media-lightbox-close:hover,
.media-lightbox-nav:hover {
    background: #78006e;
    color: #ffffff;
}

@media (min-width: 768px) {
    .media-lightbox {
        padding: 1rem;
    }

    .media-lightbox-caption {
        font-size: 0.95rem;
    }

    .media-lightbox-close {
        top: 0.75rem;
        right: 0.75rem;
        height: 2.25rem;
        width: 2.25rem;
    }

        .media-lightbox-close svg {
            width: 1rem;
            height: 1rem;
        }

    .media-lightbox-nav {
        height: 2rem;
        width: 2rem;
    }

        .media-lightbox-nav svg {
            width: 0.9rem;
            height: 0.9rem;
        }

    .media-lightbox-nav--prev {
        left: 0.65rem;
    }

    .media-lightbox-nav--next {
        right: 0.65rem;
    }
}

.tab-panel {
    display: none;
}

    .tab-panel.is-active {
        display: block;
    }

.hub-modal {
    display: none;
}

    .hub-modal.is-open {
        display: flex;
        animation: modal-fade 0.25s ease;
    }

        .hub-modal.is-open .hub-modal-panel {
            animation: modal-rise 0.3s ease;
        }

@keyframes modal-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modal-rise {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

body.modal-open {
    overflow: hidden;
}

.hub-trigger {
    align-items: stretch;
    justify-content: flex-start;
}

.nav-pipe {
    display: inline-flex;
    align-items: center;
    align-self: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1;
    user-select: none;
}

#site-header.is-scrolled .nav-pipe {
    color: rgba(76, 77, 76, 0.35);
}

#desktop-nav {
    display: none;
    align-items: center;
    gap: 0.65rem;
}

@media (min-width: 1024px) {
    #desktop-nav {
        display: flex;
    }
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    transition: color 0.2s ease;
}

    .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 2px;
        background: #be008d;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 0.35s ease;
    }

    .nav-link.is-active {
        font-weight: 700;
    }

        .nav-link.is-active::after {
            transform: scaleX(1);
            animation: nav-line-ltr 0.4s ease forwards;
        }

/* Start (hero) hover: white left-to-right line */
#site-header:not(.is-scrolled) #desktop-nav .nav-link:hover {
    color: #ffffff;
}

    #site-header:not(.is-scrolled) #desktop-nav .nav-link:hover::after {
        background: #ffffff;
        transform: scaleX(1);
        animation: nav-line-ltr 0.4s ease forwards;
    }

#site-header:not(.is-scrolled) #desktop-nav .nav-link.is-active::after {
    background: #ffffff;
}

/* Scrolled hover: brand purple line */
#site-header.is-scrolled #desktop-nav .nav-link:hover {
    color: #be008d;
}

    #site-header.is-scrolled #desktop-nav .nav-link:hover::after {
        background: #be008d;
        transform: scaleX(1);
        animation: nav-line-ltr 0.4s ease forwards;
    }

.nav-cta {
    display: inline-flex;
    align-items: center;
    align-self: center;
    line-height: 1.2;
}

@keyframes nav-line-ltr {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

#site-header {
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

    #site-header:not(.is-scrolled)::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 160px;
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0) 100% );
        pointer-events: none;
        z-index: -1;
    }

    #site-header.is-scrolled {
        background: #ffffff;
    }

        #site-header.is-scrolled::before {
            display: none;
        }

    #site-header .header-inner {
        position: relative;
        z-index: 1;
        transition: padding 0.25s ease;
    }

#header-logo {
    transition: height 0.25s ease, filter 0.25s ease;
}

#site-header.is-scrolled .header-inner {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#site-header.is-scrolled #header-logo {
    height: 2.5rem;
}

@media (min-width: 768px) {
    #site-header.is-scrolled #header-logo {
        height: 2.75rem;
    }
}

@media (min-width: 1024px) {
    #site-header.is-scrolled #header-logo {
        height: 3rem;
    }
}

#site-header:not(.is-scrolled) .nav-link.is-active {
    color: #ffffff;
}

#site-header.is-scrolled .nav-link.is-active {
    color: #be008d;
}

#menu-toggle {
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

#site-header.is-scrolled #menu-toggle {
    border-color: rgba(190, 0, 141, 0.35);
    color: #be008d;
    background: rgba(190, 0, 141, 0.08);
}

    #site-header.is-scrolled #menu-toggle:hover,
    #site-header.is-scrolled #menu-toggle[aria-expanded="true"] {
        background: #be008d;
        border-color: #be008d;
        color: #ffffff;
    }

#mobile-menu {
    position: relative;
    z-index: 2;
}

#site-header.is-scrolled #mobile-menu {
    border-top-color: rgba(190, 0, 141, 0.15);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(76, 77, 76, 0.12);
}

    #site-header.is-scrolled #mobile-menu .nav-link {
        color: #4c4d4c;
    }

        #site-header.is-scrolled #mobile-menu .nav-link.is-active {
            color: #be008d;
            border-left-color: #be008d;
        }

#mobile-menu a.is-active {
    font-weight: 700;
    color: #ffffff;
    border-left: 3px solid #be008d;
    padding-left: 0.5rem;
}

.hub-detail-card {
    box-shadow: 0 10px 28px rgba(76, 77, 76, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .hub-detail-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 36px rgba(190, 0, 141, 0.18);
    }

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

@keyframes float-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-hero {
    animation: float-in 0.9s ease forwards;
}

.animate-hero-delay {
    animation: float-in 0.9s ease 0.2s forwards;
    opacity: 0;
}

.connect-form-card {
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(120, 0, 110, 0.28);
}

.connect-form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #be008d;
}

.connect-form-field input,
.connect-form-field textarea {
    width: 100%;
    border: 1px solid rgba(76, 77, 76, 0.2);
    background: #ffffff;
    color: #4c4d4c;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .connect-form-field input:focus,
    .connect-form-field textarea:focus {
        border-color: #be008d;
        box-shadow: 0 0 0 3px rgba(190, 0, 141, 0.12);
    }

    .connect-form-field input::placeholder,
    .connect-form-field textarea::placeholder {
        color: rgba(76, 77, 76, 0.45);
    }

.connect-form-field textarea {
    min-height: 7.5rem;
    resize: vertical;
}

