        @font-face {
            font-family: 'MaruBuri';
            font-weight: 300;
            src: url('../fonts/maru_buri/MaruBuri-Light.woff2') format('woff2');
        }
        @font-face {
            font-family: 'MaruBuri';
            font-weight: 400;
            src: url('../fonts/maru_buri/MaruBuri-Regular.woff2') format('woff2');
        }
        @font-face {
            font-family: 'MaruBuri';
            font-weight: 600;
            src: url('../fonts/maru_buri/MaruBuri-SemiBold.woff2') format('woff2');
        }
        @font-face {
            font-family: 'MaruBuri';
            font-weight: 700;
            src: url('../fonts/maru_buri/MaruBuri-Bold.woff2') format('woff2');
        }

        @font-face {
            font-family: 'La Paloma';
            src: url('../fonts/LaPaloma.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }

        @font-face {
            font-family: 'Hanyoon';
            src: url('../fonts/Hanyoon.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }

        body {
            /* Latin glyphs render in Cormorant Garamond (like the print card),
               Korean glyphs fall back to MaruBuri */
            font-family: 'Cormorant Garamond', 'MaruBuri', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
            background-color: #F9F8F6;
        }

        .font-serif {
            font-family: 'Cormorant Garamond', serif;
        }

        .font-la-paloma {
            font-family: 'La Paloma', cursive;
        }

        .font-maru-buri {
            font-family: 'Cormorant Garamond', 'MaruBuri', serif;
        }

        .font-hanyoon {
            font-family: 'Hanyoon', cursive;
        }

        .font-allura {
            font-family: 'Allura', cursive;
        }

        .fade-in {
            animation: fadeIn 2s ease-in;
        }

        #page-content {
            font-family: 'Cormorant Garamond', 'MaruBuri', serif;
            letter-spacing: 0.04em;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Accordion styles */
        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }
        .accordion-content.open {
            max-height: 500px;
        }

        /* Button styles */
        .map-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.25rem 0.5rem;
            border-radius: 1rem;
            font-size: 0.75rem;
            transition: all 0.2s;
            border: 1px solid #e5e5e5;
            background: white;
        }
        .map-btn:hover {
            background: #f5f5f5;
            border-color: #d5d5d5;
            box-shadow: 0 2px 4px rgba(0,0,0,0.08);
        }

        .copy-btn {
            padding: 0.25rem 0.5rem;
            font-size: 0.7rem;
            border-radius: 0.25rem;
            background: #f0f0f0;
            transition: all 0.2s;
        }
        .copy-btn:hover {
            background: #e0e0e0;
        }
        .copy-btn.copied {
            background: #d4edda;
            color: #155724;
        }

        /* Countdown styles */
        .countdown-box {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0.5rem 0.75rem;
            min-width: 4rem;
            text-align: center;
        }
        .countdown-number {
            font-size: 1.5rem;
            font-weight: 300;
            line-height: 1;
        }
        .countdown-label {
            font-size: 0.7rem;
            opacity: 0.5;
            margin-top: 0.25rem;
            text-align: center;
            line-height: 1.4;
        }

        /* RSVP form styles */
        .rsvp-form {
            width: 100%;
            max-width: 400px;
        }
        .rsvp-input {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 0.5rem;
            background: white;
            font-family: 'Cormorant Garamond', 'MaruBuri', serif;
            font-size: 0.9rem;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .rsvp-input:focus {
            outline: none;
            border-color: rgba(0, 0, 0, 0.3);
            box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
        }
        .rsvp-input::placeholder {
            color: rgba(0, 0, 0, 0.3);
        }
        .rsvp-radio-group {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            justify-content: center;
        }
        .rsvp-radio-label {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0.5rem 1rem;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 2rem;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 0.85rem;
            background: white;
        }
        .rsvp-radio-label:hover {
            border-color: rgba(0, 0, 0, 0.2);
            background: rgba(0, 0, 0, 0.02);
        }
        .rsvp-radio-input {
            display: none;
        }
        .rsvp-radio-input:checked + .rsvp-radio-label {
            background: #3A5641;
            color: white;
            border-color: #3A5641;
        }
        .rsvp-submit {
            width: 100%;
            padding: 0.875rem 1.5rem;
            background: #3A5641;
            color: white;
            border: none;
            border-radius: 0.5rem;
            font-family: 'Cormorant Garamond', 'MaruBuri', serif;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        .rsvp-submit:hover {
            background: #2C4232;
        }
        .rsvp-submit:disabled {
            background: #999;
            cursor: not-allowed;
        }
        .rsvp-message {
            padding: 1rem;
            border-radius: 0.5rem;
            text-align: center;
            font-size: 0.9rem;
        }
        .rsvp-message.success {
            background: #d4edda;
            color: #155724;
        }
        .rsvp-message.error {
            background: #f8d7da;
            color: #721c24;
        }

        /* Page preloader */
        .page-loading {
            opacity: 0;
            visibility: hidden;
        }
        .page-ready {
            opacity: 1;
            visibility: visible;
            transition: opacity 0.8s ease-in-out;
        }
        .preloader {
            position: fixed;
            inset: 0;
            background-color: #F9F8F6;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
        }
        .preloader.hidden {
            opacity: 0;
            visibility: hidden;
        }
        .preloader-dot {
            width: 8px;
            height: 8px;
            background-color: #2D2D2D;
            border-radius: 50%;
            margin: 0 4px;
            animation: preloaderBounce 1.4s infinite ease-in-out both;
        }
        .preloader-dot:nth-child(1) { animation-delay: -0.32s; }
        .preloader-dot:nth-child(2) { animation-delay: -0.16s; }
        .preloader-dot:nth-child(3) { animation-delay: 0s; }
        @keyframes preloaderBounce {
            0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
            40% { transform: scale(1); opacity: 1; }
        }

        /* Image navigation dots */
        .image-dots {
            position: absolute;
            bottom: 2.5rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 0.5rem;
            z-index: 10;
        }
        @media (min-width: 1024px) {
            .image-dots {
                bottom: 4rem;
            }
        }
        .image-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.4);
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            padding: 0;
        }
        .image-dot:hover {
            background-color: rgba(255, 255, 255, 0.7);
            transform: scale(1.2);
        }
        .image-dot.active {
            background-color: rgba(255, 255, 255, 0.9);
        }
        #hero-image {
            transition: opacity 0.2s ease-in-out;
            object-position: 40% center;
            will-change: opacity;
        }


        /* ===== Honeymoon epilogue strip ===== */
        .after-section {
            margin-top: 3.5rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }

        @media (min-width: 768px) {
            .after-section {
                margin-top: 4.5rem;
                padding-top: 2.5rem;
            }
        }

        .after-label {
            font-family: 'Allura', cursive;
            font-size: 1.75rem;
            color: #3A5641;
            text-align: center;
            margin-bottom: 1.25rem;
            letter-spacing: 0.02em;
            opacity: 0.85;
        }

        .after-strip {
            --after-height: 148px;
            display: flex;
            gap: 0.5rem;
            overflow-x: auto;
            overflow-y: hidden;
            padding-bottom: 0.5rem;
            scroll-snap-type: x proximity;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
        }

        @media (min-width: 768px) {
            .after-strip {
                --after-height: 172px;
                gap: 0.65rem;
            }
        }

        .after-strip .gallery-item {
            height: var(--after-height);
            width: auto;
            scroll-snap-align: start;
            flex: 0 0 auto;
        }

        .after-strip .gallery-item img {
            width: auto;
            height: 100%;
            max-width: none;
            object-fit: cover;
        }

        /* ===== Post-wedding gallery ===== */
        .gallery-page {
            color: #2D2D2D;
        }

        .gallery-masonry {
            --row-height: 100px;
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            justify-content: center;
        }

        @media (min-width: 768px) {
            .gallery-masonry {
                --row-height: 220px;
                gap: 0.75rem;
            }
        }

        .gallery-item {
            display: block;
            flex: none;
            overflow: hidden;
            border-radius: 2px;
            background: #e8e6e1;
            cursor: zoom-in;
            position: relative;
        }

        .gallery-item img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            vertical-align: middle;
            transition: transform 0.45s ease, filter 0.45s ease;
        }

        @media (hover: hover) {
            .gallery-item img {
                filter: grayscale(20%) brightness(0.96);
            }

            .gallery-item:hover img {
                transform: scale(1.02);
                filter: grayscale(0%) brightness(1);
            }
        }

        .gallery-item--video {
            cursor: pointer;
        }

        .gallery-video-poster {
            height: 100%;
            background-color: #3A5641;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .gallery-play-icon {
            width: 3rem;
            height: 3rem;
            border-radius: 9999px;
            background: rgba(249, 248, 246, 0.9);
            color: #3A5641;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            padding-left: 2px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
        }

        .gallery-empty {
            text-align: center;
            padding: 3rem 1rem;
            color: #666666;
            font-size: 0.95rem;
        }

        .gallery-empty-sub {
            margin-top: 0.5rem;
            font-size: 0.8rem;
            opacity: 0.7;
            color: #3A5641;
        }

        .pswp-video-wrap {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #000;
        }

        .pswp-video-wrap video {
            max-width: 100%;
            max-height: 100%;
        }

        .pswp__button--download {
            display: flex !important;
        }

        .gallery-empty[hidden] {
            display: none !important;
        }

        .pswp--touch .pswp__button--arrow {
            visibility: visible;
        }
