:root {
        --text-color: #ffffff;
        --page-background: #101820;
        --overlay-top: rgba(5, 12, 18, 0.25);
        --overlay-bottom: rgba(5, 12, 18, 0.72);
        --button-background: #ffffff;
        --button-text: #18232c;
        --panel-background: rgba(12, 20, 27, 0.97);
        --panel-border: rgba(255, 255, 255, 0.16);
        --transition-speed: 1.8s;
        --slide-duration: 9000ms;
    }

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    html {
        scroll-behavior: smooth;
    }

    html,
    body {
        width: 100%;
        min-height: 100%;
    }

    body {
        overflow-x: hidden;
        background: var(--page-background);
        color: var(--text-color);
        font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    }

    body.panel-open {
        overflow: hidden;
    }

    button,
    a {
        -webkit-tap-highlight-color: transparent;
    }

    .hero {
        position: relative;
        min-height: 100svh;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        isolation: isolate;
        padding: 40px 24px 100px;
    }

    .slide {
        position: absolute;
        inset: -7%;
        z-index: -4;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(1.06);
        transform-origin: center center;
        transition: opacity var(--transition-speed) ease-in-out;
        will-change: opacity, transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        overflow: hidden;
    }

    .slide.active {
        z-index: -3;
        opacity: 1;
        animation: kenBurns var(--slide-duration) linear forwards;
    }

    /*
        Keep the outgoing slide zoomed while it fades away.
        This prevents it from snapping back to its original size
        and exposing thin rendering seams during the crossfade.
    */
    .slide.active.leaving {
        z-index: -4;
        opacity: 0;
    }

    .hero-overlay {
        position: absolute;
        inset: 0;
        z-index: -2;
        background:
            linear-gradient(
                to bottom,
                var(--overlay-top) 0%,
                rgba(5, 12, 18, 0.34) 45%,
                var(--overlay-bottom) 100%
            );
    }

    .hero-content {
        width: min(940px, 100%);
        text-align: center;
        text-shadow: 0 4px 24px rgba(0, 0, 0, 0.48);
    }

    .name {
        font-size: clamp(2.8rem, 8vw, 6.5rem);
        font-weight: 300;
        line-height: 1;
        letter-spacing: -0.045em;
    }

    .tagline {
        margin-top: 18px;
        font-size: clamp(1.05rem, 2.5vw, 1.55rem);
        font-weight: 400;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        opacity: 0.94;
    }

    .primary-action {
        margin-top: clamp(42px, 8vh, 76px);
    }

    .photo-button {
        appearance: none;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: min(520px, 100%);
        min-height: 96px;
        padding: 24px 48px;
        border: 2px solid rgba(255, 255, 255, 0.88);
        border-radius: 999px;
        background: var(--button-background);
        color: var(--button-text);
        font-size: clamp(1.55rem, 4vw, 2.25rem);
        font-weight: 750;
        letter-spacing: 0.02em;
        text-decoration: none;
        text-shadow: none;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
        transition:
            transform 180ms ease,
            box-shadow 180ms ease,
            background-color 180ms ease;
    }

    .photo-button:hover,
    .photo-button:focus-visible {
        transform: translateY(-4px) scale(1.015);
        background: #f2f8fb;
        box-shadow: 0 30px 72px rgba(0, 0, 0, 0.46);
    }

    .secondary-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 30px;
        margin-top: 42px;
    }

    .text-link {
        appearance: none;
        padding: 8px 2px;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.42);
        background: transparent;
        color: #ffffff;
        font: inherit;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        transition:
            border-color 160ms ease,
            opacity 160ms ease;
    }

    .text-link:hover,
    .text-link:focus-visible {
        border-color: #ffffff;
        opacity: 0.82;
    }

    .hero-location {
        position: absolute;
        left: 50%;
        bottom: 84px;
        min-height: 30px;
        transform: translateX(-50%);
        pointer-events: none;
    }

    .hero-location-item {
        position: absolute;
        left: 50%;
        bottom: 0;
        display: inline-flex;
        align-items: center;
        gap: 9px;
        padding: 7px 14px;
        border: 1px solid rgba(255, 255, 255, .22);
        border-radius: 999px;
        background: rgba(8, 15, 21, .42);
        color: #ffffff;
        font-size: .92rem;
        font-weight: 650;
        letter-spacing: .025em;
        white-space: nowrap;
        opacity: 0;
        transform: translate(-50%, 7px);
        transition: opacity 900ms ease, transform 900ms ease;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .hero-location-item.active {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    .hero-location-flag {
        display: block;
        width: 24px;
        height: 18px;
        border-radius: 2px;
        object-fit: cover;
        box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
    }

    .slide-dots {
        position: absolute;
        left: 50%;
        bottom: 58px;
        display: flex;
        gap: 9px;
        transform: translateX(-50%);
    }

    .slide-dot {
        width: 10px;
        height: 10px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.78);
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
        transition:
            background-color 160ms ease,
            transform 160ms ease;
    }

    .slide-dot.active {
        background: #ffffff;
        transform: scale(1.25);
    }

    footer {
        position: absolute;
        right: 0;
        bottom: 18px;
        left: 0;
        text-align: center;
        font-size: 0.83rem;
        opacity: 0.68;
    }

    .backdrop {
        position: fixed;
        inset: 0;
        z-index: 50;
        visibility: hidden;
        background: rgba(0, 0, 0, 0.68);
        opacity: 0;
        transition:
            opacity 250ms ease,
            visibility 250ms ease;
    }

    .backdrop.open {
        visibility: visible;
        opacity: 1;
    }

    .panel {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 60;
        max-height: 92svh;
        overflow-y: auto;
        border-top: 1px solid var(--panel-border);
        border-radius: 28px 28px 0 0;
        background: var(--panel-background);
        box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.45);
        transform: translateY(105%);
        transition: transform 350ms cubic-bezier(.22, .8, .24, 1);
    }

    .panel.open {
        transform: translateY(0);
    }

    .panel-inner {
        width: min(1040px, 100%);
        margin: 0 auto;
        padding: 22px 26px 38px;
    }

    .panel-handle {
        width: 54px;
        height: 5px;
        margin: 0 auto 20px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.35);
    }

    .panel-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 22px;
    }

    .panel-title {
        font-size: clamp(1.7rem, 4vw, 2.4rem);
        font-weight: 500;
    }

    .close-button {
        display: inline-flex;
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        font-size: 1.7rem;
        line-height: 1;
        cursor: pointer;
    }

    .close-button:hover,
    .close-button:focus-visible {
        background: rgba(255, 255, 255, 0.15);
    }

    .contact-hero {
        display: flex;
        align-items: stretch;
        width: 100%;
        margin-bottom: 28px;
        overflow: hidden;
        border-radius: 20px;
        background: #0b1319;
    }

    .contact-hero-photo {
        flex: 0 0 auto;
        max-width: 52%;
        background: #111d25;
    }

    .contact-hero-image {
        display: block;
        width: auto;
        max-width: 100%;
        height: 300px;
        object-fit: contain;
        opacity: 0;
        transition: opacity 220ms ease;
    }

    .contact-hero-image.loaded {
        opacity: 1;
    }

    .contact-hero-copy {
        position: relative;
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        flex-direction: column;
        justify-content: center;
        padding: 32px 36px;
    }

    .contact-hero-copy h3 {
        margin: 0;
        font-size: clamp(2rem, 5vw, 3.4rem);
        font-weight: 450;
        line-height: 1.05;
    }

    .contact-hero-copy p {
        max-width: 520px;
        margin: 12px 0 0;
        color: rgba(255,255,255,.84);
        font-size: 1rem;
        line-height: 1.55;
    }

    .contact-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 14px;
    }

    .contact-card {
        display: block;
        min-height: 112px;
        padding: 20px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff;
        text-decoration: none;
        transition:
            transform 180ms ease,
            background-color 180ms ease,
            border-color 180ms ease;
    }

    .contact-card:hover,
    .contact-card:focus-visible {
        transform: translateY(-3px);
        border-color: rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.1);
    }

    .contact-label {
        display: block;
        margin-bottom: 10px;
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        opacity: 0.68;
    }

    .contact-value {
        display: block;
        overflow-wrap: anywhere;
        font-size: 1.08rem;
        font-weight: 600;
        line-height: 1.45;
    }

    .photo-panel {
        max-height: 96svh;
        touch-action: pan-y;
        overscroll-behavior: contain;
    }

    .photo-panel .panel-inner {
        width: min(1280px, 100%);
    }

    /* Keep the album title, Trips button, and close button visible while scrolling. */
    .photo-panel .panel-header {
        position: sticky;
        top: 0;
        z-index: 20;
        margin: 0 -26px 22px;
        padding: 14px 26px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        background: rgba(12, 20, 27, 0.88);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .photo-panel-header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .gallery-back-button {
        display: none;
        min-height: 42px;
        padding: 9px 16px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        font: inherit;
        font-weight: 650;
        cursor: pointer;
    }

    .gallery-back-button.visible {
        display: inline-flex;
        align-items: center;
    }

    .trip-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .trip-section-heading {
        grid-column: 1 / -1;
        margin: 28px 0 4px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        color: rgba(255, 255, 255, 0.88);
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    .trip-tile {
        position: relative;
        aspect-ratio: 1;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 18px;
        background:
            linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035)),
            #17242e;
        color: #ffffff;
        cursor: pointer;
        isolation: isolate;
        text-align: left;
        transition: transform 180ms ease, border-color 180ms ease;
    }

    .trip-tile:hover,
    .trip-tile:focus-visible {
        transform: translateY(-4px);
        border-color: rgba(255, 255, 255, 0.38);
    }

    .trip-tile-image {
        position: absolute;
        inset: 0;
        z-index: -2;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 250ms ease;
    }

    .trip-tile-image.loaded {
        opacity: 1;
    }

    .trip-tile::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(to top, rgba(0,0,0,.86), rgba(0,0,0,.08) 70%);
    }

    .trip-tile-content {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 18px;
    }

    .trip-tile-title {
        display: block;
        font-size: clamp(1.08rem, 2vw, 1.45rem);
        font-weight: 750;
    }

    .trip-tile-dates {
        display: block;
        margin-top: 5px;
        font-size: .84rem;
        opacity: .92;
    }

    .photo-gallery-view[hidden],
    .trip-list-view[hidden] {
        display: none;
    }

    .gallery-status {
        padding: 34px 10px;
        text-align: center;
        color: rgba(255,255,255,.75);
    }

    .photo-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        width: 100%;
        padding: 4px 0 18px;
    }

    .gallery-photo {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: #ffffff;
        scroll-margin-top: 78px;
    }

    .gallery-photo-image-button {
        display: block;
        width: min(90vw, 1100px);
        height: auto;
        min-height: 0;
        padding: 0;
        overflow: visible;
        border: 0;
        border-radius: 14px;
        background: transparent;
        cursor: zoom-in;
    }

    .gallery-photo img {
        display: block;
        touch-action: pan-y;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 72svh;
        margin: 0 auto;
        object-fit: contain;
        opacity: 0;
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .gallery-photo img.loaded {
        opacity: 1;
    }

    .gallery-photo-image-button:hover img,
    .gallery-photo-image-button:focus-visible img {
        opacity: .94;
        transform: scale(1.006);
    }

    .gallery-photo-meta {
        width: min(800px, calc(100% - 32px));
        margin: 10px auto 4px;
        padding: 12px 20px;
        border: 1px solid rgba(255, 255, 255, .09);
        border-radius: 10px;
        background: rgba(255, 255, 255, .055);
        text-align: center;
    }

    .gallery-photo-description {
        margin: 0;
        color: rgba(255, 255, 255, .88);
        font-size: clamp(.95rem, 1.25vw, 1.08rem);
        line-height: 1.65;
        text-wrap: pretty;
    }


    .gallery-sentinel {
        height: 2px;
    }

    .lightbox {
        position: fixed;
        inset: 0;
        z-index: 100;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 74px 76px 46px;
        background: rgba(0, 0, 0, 0.96);
    }

    .lightbox.open {
        display: flex;
    }

    .lightbox-stage {
        position: absolute;
        inset: 64px 58px 54px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        touch-action: none;
        overscroll-behavior: none;
        -webkit-user-select: none;
        user-select: none;
    }

    .lightbox-image {
        display: block;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transform: translate3d(0, 0, 0) scale(1);
        transform-origin: center center;
        will-change: transform;
        touch-action: none;
        -webkit-user-drag: none;
        -webkit-user-select: none;
        user-select: none;
    }

    .lightbox-image.zoom-animating {
        transition: transform 180ms ease;
    }

    .lightbox-close,
    .lightbox-nav {
        position: absolute;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255,255,255,.25);
        border-radius: 50%;
        background: rgba(255,255,255,.10);
        color: #ffffff;
        cursor: pointer;
    }

    .lightbox-close {
        top: 18px;
        right: 18px;
        width: 48px;
        height: 48px;
        font-size: 1.8rem;
    }

    .lightbox-nav {
        top: 50%;
        width: 52px;
        height: 52px;
        transform: translateY(-50%);
        font-size: 2rem;
    }

    .lightbox-prev { left: 16px; }
    .lightbox-next { right: 16px; }

    .lightbox-caption {
        position: absolute;
        right: 20px;
        bottom: 14px;
        left: 20px;
        overflow: hidden;
        color: rgba(255,255,255,.8);
        font-size: .9rem;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .map-frame-wrap {
        overflow: hidden;
        width: 100%;
        min-height: 520px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 18px;
        background: #0b1117;
    }

    .map-frame {
        display: block;
        width: 100%;
        height: min(68svh, 680px);
        min-height: 520px;
        border: 0;
    }

    .map-fallback {
        padding: 20px 0 0;
        text-align: center;
    }

    .map-fallback a {
        color: #ffffff;
        font-weight: 600;
    }


    .visually-hidden {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    /* About Me */
    .about-panel {
        max-height: 96svh;
        overflow-y: auto;
        overflow-x: hidden;
        background: #091118;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .about-panel .panel-inner {
        position: relative;
        width: min(1180px, 100%);
        min-height: 100%;
        padding: 0;
    }

    .about-close-button {
        position: sticky;
        top: 14px;
        z-index: 50;
        float: right;
        margin: 14px 14px -56px 0;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(255,255,255,.25);
        border-radius: 50%;
        background: rgba(5, 11, 16, .55);
        box-shadow: 0 5px 18px rgba(0,0,0,.28);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .about-hero {
        position: relative;
        min-height: 320px;
        overflow: hidden;
        background: #0b1319;
        isolation: isolate;
    }

    .about-mosaic {
        position: relative;
        z-index: -2;
        width: 100%;
        overflow: hidden;
        background: #0b1319;
    }

    .about-mosaic-row {
        display: flex;
        width: 100%;
        gap: 3px;
        margin-bottom: 3px;
    }

    .about-mosaic-row:last-child {
        margin-bottom: 0;
    }

    .about-mosaic-item {
        position: relative;
        flex: 0 0 auto;
        min-width: 0;
        overflow: hidden;
        background: #111d25;
    }

    .about-mosaic-item img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        filter: grayscale(4%) saturate(96%) brightness(86%);
        opacity: .96;
    }

    .about-mosaic::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 5;
        pointer-events: none;
        background:
            linear-gradient(
                to bottom,
                rgba(6, 12, 17, .10) 0%,
                rgba(6, 12, 17, .10) 55%,
                rgba(6, 12, 17, .72) 100%
            );
    }

    .about-mosaic-item {
        position: relative;
        min-width: 0;
        min-height: 0;
        overflow: hidden;
        background: #111d25;
    }


    .about-mosaic-item img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 36%;
        filter: grayscale(4%) saturate(96%) brightness(86%);
        opacity: .96;
    }

    .about-hero-title {
        position: absolute;
        right: 22px;
        bottom: 24px;
        left: 22px;
        z-index: 10;
        text-shadow: 0 3px 18px rgba(0,0,0,.58);
    }

    .about-kicker {
        color: rgba(255,255,255,.78);
        font-size: .78rem;
        font-weight: 750;
        letter-spacing: .18em;
        text-transform: uppercase;
    }

    .about-heading {
        margin-top: 8px;
        font-size: clamp(2.2rem, 7vw, 4.4rem);
        font-weight: 400;
        line-height: 1.02;
    }

    .about-story {
        width: min(780px, calc(100% - 40px));
        margin: 0 auto;
        padding: 38px 0 56px;
    }

    .about-copy {
        color: rgba(255,255,255,.92);
        font-size: clamp(1rem, 2vw, 1.16rem);
        line-height: 1.78;
        text-wrap: pretty;
        text-align: left;
    }

    .about-copy p {
        margin: 0;
    }

    .about-copy p + p {
        margin-top: 1.2em;
    }

    .about-copy p:last-child {
        margin-top: 1.5em;
        text-align: center;
        font-weight: 700;
        letter-spacing: .02em;
    }

    .about-status {
        position: absolute;
        left: 16px;
        bottom: 8px;
        z-index: 12;
        color: rgba(255,255,255,.72);
        font-size: .78rem;
    }

    @media (max-width: 760px) {
        .about-panel .panel-inner {
            width: 100%;
        }

        .about-hero {
            height: auto;
            min-height: 0;
        }

        .about-mosaic-row {
            gap: 2px;
            margin-bottom: 2px;
        }

        .about-hero-title {
            position: relative;
            right: auto;
            bottom: auto;
            left: auto;
            padding: 18px 18px 20px;
            background: #091118;
            text-shadow: none;
        }

        .about-kicker {
            font-size: .72rem;
            letter-spacing: .16em;
        }

        .about-heading {
            margin-top: 6px;
            font-size: clamp(2rem, 10vw, 3rem);
            line-height: 1.05;
        }

        .about-status {
            position: static;
            margin: 0;
            padding: 0 18px 8px;
            background: #091118;
        }

        .about-story {
            width: calc(100% - 36px);
            padding: 22px 0 44px;
        }

        .about-copy {
            font-size: 1rem;
            line-height: 1.72;
        }
    }

    /* World Wonders */
    .wonders-panel {
        max-height: 96svh;
        touch-action: pan-y;
        overscroll-behavior: contain;
    }

    .wonders-panel .panel-inner {
        width: min(1180px, 100%);
    }

    /* Keep Wonders navigation visible while scrolling. */
    .wonders-panel .panel-header {
        position: sticky;
        top: 0;
        z-index: 20;
        margin: 0 -26px 22px;
        padding: 14px 26px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        background: rgba(12, 20, 27, 0.88);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .wonders-header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .wonders-home-button {
        display: inline-flex;
        min-height: 42px;
        align-items: center;
        padding: 9px 16px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        font: inherit;
        font-weight: 650;
        cursor: pointer;
    }

    .wonders-section-divider {
        margin: 58px 0 34px;
        padding: 34px 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        text-align: center;
    }

    .wonders-section-divider h3 {
        font-size: clamp(1.7rem, 4vw, 2.6rem);
        font-weight: 500;
    }

    .wonders-section-divider p {
        max-width: 720px;
        margin: 10px auto 0;
        color: rgba(255, 255, 255, .72);
        line-height: 1.65;
    }

    .wonders-intro {
        margin: 0 0 34px;
        padding: 24px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.055);
        text-align: center;
    }

    .wonders-kicker {
        font-size: .78rem;
        font-weight: 750;
        letter-spacing: .18em;
        text-transform: uppercase;
        opacity: .68;
    }

    .wonders-intro h3 {
        margin-top: 10px;
        font-size: clamp(1.7rem, 4vw, 3rem);
        font-weight: 500;
    }

    .wonders-intro p {
        max-width: 720px;
        margin: 12px auto 0;
        color: rgba(255, 255, 255, .78);
        font-size: 1rem;
        line-height: 1.65;
    }

    .wonders-progress {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-top: 18px;
        padding: 9px 15px;
        border: 1px solid rgba(255, 255, 255, .2);
        border-radius: 999px;
        background: rgba(255, 255, 255, .08);
        font-weight: 700;
    }

    .wonders-list {
        display: flex;
        flex-direction: column;
        gap: 44px;
    }

    .wonder-entry {
        display: grid;
        grid-template-columns: minmax(220px, .75fr) minmax(0, 1.5fr);
        align-items: center;
        gap: clamp(24px, 5vw, 64px);
        padding-bottom: 44px;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .wonder-entry:nth-child(even) {
        grid-template-columns: minmax(0, 1.5fr) minmax(220px, .75fr);
    }

    .wonder-entry:nth-child(even) .wonder-copy {
        order: 2;
    }

    .wonder-entry:nth-child(even) .wonder-photo-wrap {
        order: 1;
    }

    .wonder-year {
        display: block;
        margin-bottom: 8px;
        color: rgba(255, 255, 255, .62);
        font-size: .9rem;
        font-weight: 800;
        letter-spacing: .16em;
        text-transform: uppercase;
    }

    .wonder-name {
        font-size: clamp(1.8rem, 4vw, 3.2rem);
        font-weight: 500;
        line-height: 1.08;
    }

    .wonder-location {
        margin-top: 10px;
        color: rgba(255, 255, 255, .74);
        font-size: 1.05rem;
    }

    .wonder-badge {
        display: inline-block;
        margin-top: 16px;
        padding: 7px 11px;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 999px;
        background: rgba(255, 255, 255, .065);
        font-size: .78rem;
        font-weight: 750;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .wonder-photo-wrap {
        display: flex;
        justify-content: center;
        min-width: 0;
    }

    .wonder-photo {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 68svh;
        border-radius: 16px;
        object-fit: contain;
        background: rgba(255, 255, 255, .045);
        box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
    }

    .wonder-photo-placeholder {
        display: grid;
        width: min(100%, 720px);
        min-height: 360px;
        place-items: center;
        padding: 30px;
        border: 1px dashed rgba(255, 255, 255, .25);
        border-radius: 16px;
        background: rgba(255, 255, 255, .035);
        color: rgba(255, 255, 255, .58);
        text-align: center;
    }

    @media (max-width: 760px) {
        .wonder-entry,
        .wonder-entry:nth-child(even) {
            grid-template-columns: 1fr;
            gap: 20px;
            padding-bottom: 34px;
        }

        .wonder-entry:nth-child(even) .wonder-copy,
        .wonder-entry:nth-child(even) .wonder-photo-wrap {
            order: initial;
        }

        .wonder-photo-wrap {
            justify-content: flex-start;
        }

        .wonder-photo {
            max-height: 66svh;
        }

        .wonder-photo-placeholder {
            min-height: 260px;
        }
    }

    @keyframes kenBurns {
        from {
            transform: translate3d(0, 0, 0) scale(1.06);
        }

        to {
            transform: translate3d(0, 0, 0) scale(1.16);
        }
    }

    @media (max-width: 1050px) {
        .trip-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

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

    @media (max-width: 760px) {
        .trip-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

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

        .contact-card {
            min-height: auto;
        }

        .contact-hero {
            display: block;
            margin-bottom: 22px;
            border-radius: 16px;
        }

        .contact-hero-photo {
            width: 100%;
            max-width: none;
        }

        .contact-hero-image {
            width: 100%;
            max-width: none;
            height: auto;
            object-fit: contain;
        }

        .contact-hero-copy {
            padding: 20px 18px 22px;
        }

        .contact-hero-copy h3 {
            font-size: clamp(2rem, 10vw, 2.8rem);
        }




    }

    @media (max-width: 640px) {
        .hero {
            padding: 36px 18px 110px;
        }

        .photo-button {
            min-height: 78px;
            padding: 20px 24px;
        }

        .secondary-links {
            flex-direction: column;
            align-items: center;
            gap: 10px;
            margin-top: 34px;
        }

        .slide-dots {
            bottom: 60px;
        }

        .panel-inner {
            padding: 18px 18px 30px;
        }

        .photo-panel-header-actions {
            gap: 7px;
        }

        .photo-panel .panel-header,
        .wonders-panel .panel-header,
        .about-panel .panel-header {
            margin-right: -18px;
            margin-left: -18px;
            padding: 12px 18px;
        }

        .photo-panel .panel-title {
            overflow: hidden;
            font-size: clamp(1.25rem, 6vw, 1.7rem);
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .gallery-back-button {
            padding: 8px 12px;
            font-size: .9rem;
        }

        .trip-grid {
            gap: 11px;
        }

        .trip-tile-content {
            padding: 14px;
        }

        .photo-grid {
            column-gap: 8px;
        }

        .gallery-photo {
            margin-bottom: 8px;
            border-radius: 9px;
        }

        .lightbox {
            padding: 0;
        }

        .lightbox-stage {
            inset: 58px 8px 62px;
        }

        .lightbox-nav {
            top: auto;
            bottom: 10px;
            width: 44px;
            height: 44px;
            transform: none;
        }

        .lightbox-prev { left: 14px; }
        .lightbox-next { right: 14px; }

        .lightbox-caption {
            right: 66px;
            bottom: 22px;
            left: 66px;
        }

        .map-frame-wrap,
        .map-frame {
            min-height: 62svh;
        }
    }

    @media (max-width: 640px) {
        .photo-grid {
            gap: 18px;
            padding-bottom: 24px;
        }

        .gallery-photo {
            min-height: 0;
            padding: 2px 0;
            gap: 0;
        }

        .gallery-photo {
            width: 100vw;
            min-height: 0;
            padding: 2px 0;
            gap: 0;
        }

        .gallery-photo-image-button {
            width: 100vw;
            max-width: none;
            min-height: 0;
            border-radius: 0;
        }

        .gallery-photo img {
            width: 100%;
            max-width: none;
            height: auto;
            max-height: none;
            object-fit: contain;
        }

        .gallery-photo-meta {
            width: calc(100vw - 24px);
            max-width: 720px;
            padding: 10px 10px 0;
        }

        .gallery-photo-description {
            font-size: .96rem;
            line-height: 1.65;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }

        .slide,
        .slide.active,
        .panel,
        .backdrop,
        .photo-button,
        .contact-card {
            animation: none;
            transition-duration: 0.01ms;
        }
    }
