﻿
        :root {
            --cream: #faf7f2;
            --ivory: #f5f0e8;
            --champagne: #e8dcc8;
            --blush: #e8cfc4;
            --dusty-rose: #c4907a;
            --terracotta: #b06a52;
            --gold: #c9a96e;
            --gold-light: #e0c898;
            --sage: #a8b5a0;
            --ink: #2a2420;
            --ink-soft: #4a3f38;
            --ink-light: #8a7a70;
            --ink-faint: #b8a898;

            --surface: rgba(255, 255, 255, 0.65);
            --surface2: rgba(255, 255, 255, 0.45);
            --glass: rgba(255, 255, 255, 0.55);
            --border: rgba(180, 155, 130, 0.2);
            --border2: rgba(180, 155, 130, 0.35);

            --grad-gold: linear-gradient(135deg, #c9a96e 0%, #e0c898 50%, #c9a96e 100%);
            --grad-blush: linear-gradient(135deg, #e8cfc4 0%, #f0e0d6 50%, #ddc0b0 100%);
            --grad-hero: linear-gradient(160deg, #faf7f2 0%, #f0e8dc 40%, #e8dcc8 100%);
            --grad-warm: linear-gradient(135deg, rgba(232, 220, 200, 0.4) 0%, rgba(232, 207, 196, 0.3) 100%);

            --shadow-soft: 0 4px 24px rgba(42, 36, 32, 0.08);
            --shadow-med: 0 8px 40px rgba(42, 36, 32, 0.12);
            --shadow-deep: 0 20px 60px rgba(42, 36, 32, 0.16);

            --radius: 12px;
            --radius2: 20px;
            --radius3: 32px;
            --font-display: 'Dancing Script', 'Cormorant Garamond', 'Times New Roman', serif;
            --font-body: 'Be Vietnam Pro', sans-serif;
            --font-ui: 'Be Vietnam Pro', sans-serif;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            font-weight: 300;
            background: var(--cream);
            color: var(--ink);
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        ::-webkit-scrollbar {
            width: 3px;
        }

        ::-webkit-scrollbar-track {
            background: var(--ivory);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--gold);
            border-radius: 3px;
        }

        #welcome {
            position: fixed;
            inset: 0;
            z-index: 9000;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--cream);
            overflow: hidden;
        }

        .w-noise {
            position: absolute;
            inset: 0;
            pointer-events: none;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
            opacity: 0.5;
        }

        .w-orb {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            filter: blur(80px);
        }

        .w-orb-1 {
            width: 600px;
            height: 600px;
            top: -150px;
            right: -100px;
            background: radial-gradient(circle, rgba(232, 207, 196, 0.5) 0%, transparent 70%);
            animation: orbFloat 12s ease-in-out infinite alternate;
        }

        .w-orb-2 {
            width: 500px;
            height: 500px;
            bottom: -100px;
            left: -80px;
            background: radial-gradient(circle, rgba(201, 169, 110, 0.25) 0%, transparent 65%);
            animation: orbFloat 15s ease-in-out infinite alternate-reverse;
        }

        @keyframes orbFloat {
            from {
                transform: translate(0, 0) scale(1)
            }

            to {
                transform: translate(30px, -20px) scale(1.05)
            }
        }

        .w-box {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 3rem 2rem;
            max-width: 500px;
            width: calc(100% - 2rem);
        }

        .w-flourish {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-bottom: 2rem;
        }

        .w-flourish-line {
            height: 1px;
            width: 60px;
            background: linear-gradient(90deg, transparent, var(--gold));
        }

        .w-flourish-line:last-child {
            background: linear-gradient(90deg, var(--gold), transparent);
        }

        .w-flourish-diamond {
            width: 8px;
            height: 8px;
            background: var(--gold);
            transform: rotate(45deg);
            flex-shrink: 0;
        }

        .w-eyebrow {
            font-family: var(--font-ui);
            font-size: 0.55rem;
            letter-spacing: 0.45em;
            text-transform: uppercase;
            color: var(--ink-light);
            margin-bottom: 1.5rem;
        }

        .w-title {
            font-family: var(--font-display);
            font-size: clamp(3rem, 10vw, 5rem);
            font-style: italic;
            font-weight: 500;
            line-height: 1.05;
            color: var(--ink);
            margin-bottom: 0.5rem;
        }

        .w-subtitle {
            font-family: var(--font-ui);
            font-size: 0.6rem;
            letter-spacing: 0.3em;
            color: var(--gold);
            text-transform: uppercase;
            margin-bottom: 2.5rem;
        }

        .w-ask {
            font-family: var(--font-body);
            font-size: 0.75rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--ink-light);
            margin-bottom: 1.8rem;
        }

        .w-btns {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: clamp(0.65rem, 3vw, 1rem);
            max-width: 360px;
            margin: 0 auto;
        }

        .w-btn {
            background: var(--glass);
            border: 1px solid var(--border2);
            border-radius: var(--radius2);
            padding: clamp(1.05rem, 4vw, 1.8rem) clamp(0.5rem, 3vw, 1rem);
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.6rem;
            min-width: 0;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            backdrop-filter: blur(20px);
            position: relative;
            overflow: hidden;
        }

        .w-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(201, 169, 110, 0.12), rgba(232, 207, 196, 0.15));
            opacity: 0;
            transition: opacity 0.3s;
        }

        .w-btn:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-deep);
            border-color: var(--gold);
        }

        .w-btn:hover::before {
            opacity: 1;
        }

        .w-btn-inner {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }

        .w-btn-ico {
            font-size: 2rem;
        }

        .w-btn-title {
            font-family: var(--font-ui);
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 0.12em;
            color: var(--ink);
        }

        .w-btn-sub {
            font-size: 0.65rem;
            color: var(--ink-light);
            letter-spacing: 0.06em;
            font-family: var(--font-body);
        }

        @keyframes wFadeOut {
            to {
                opacity: 0;
                transform: scale(1.03) translateY(-12px);
            }
        }

        .w-fade-out {
            animation: wFadeOut 0.6s cubic-bezier(0.4, 0, 1, 1) forwards;
        }

        #main-content {
            opacity: 0;
            transition: opacity 0.8s ease;
        }

        #main-content.show {
            opacity: 1;
        }

        #wLoadingBar {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: rgba(180, 155, 130, 0.15);
            overflow: hidden;
            z-index: 10;
        }

        #wLoadingBar .wlb-inner {
            height: 100%;
            width: 0%;
            background: var(--grad-gold);
            border-radius: 2px;
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #wLoadingStatus {
            position: absolute;
            bottom: 2.2rem;
            left: 0;
            right: 0;
            text-align: center;
            font-family: var(--font-ui);
            font-size: 0.52rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--ink-faint);
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
        }

        #wLoadingStatus.show {
            opacity: 1;
        }

        @keyframes wSpin {
            to {
                transform: rotate(360deg);
            }
        }

        .wls-dot {
            display: inline-block;
            width: 10px;
            height: 10px;
            border: 1.5px solid var(--champagne);
            border-top-color: var(--gold);
            border-radius: 50%;
            animation: wSpin 0.7s linear infinite;
            vertical-align: middle;
            margin-right: 6px;
        }

        .w-btn.w-btn-locked {
            pointer-events: none;
            opacity: 0.45;
            cursor: not-allowed;
        }

        .w-btn.w-btn-locked:hover {
            transform: none;
            box-shadow: none;
        }

        .w-btn.w-btn-locked::before {
            opacity: 0;
        }

        @keyframes wBtnReady {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.03);
            }

            100% {
                transform: scale(1);
            }
        }

        .w-btn.w-btn-ready {
            animation: wBtnReady 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
        }

        #nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 2.5rem;
            padding: 1.2rem 2rem;
            background: rgba(250, 247, 242, 0.8);
            backdrop-filter: blur(24px);
            border-bottom: 1px solid rgba(180, 155, 130, 0.15);
            transition: all 0.3s;
        }

        #nav.shrunk {
            padding: 0.8rem 2rem;
        }

        #nav a {
            font-family: var(--font-ui);
            font-size: 0.58rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--ink-soft);
            text-decoration: none;
            font-weight: 400;
            transition: all 0.25s;
            position: relative;
        }

        #nav a::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            right: 0;
            height: 1px;
            background: var(--gold);
            transform: scaleX(0);
            transition: transform 0.25s;
            transform-origin: left;
        }

        #nav a:hover {
            color: var(--gold);
        }

        #nav a:hover::after {
            transform: scaleX(1);
        }

        @media(max-width:640px) {
            #nav {
                gap: 1.2rem;
            }

            #nav a {
                font-size: 0.5rem;
                letter-spacing: 0.1em;
            }
        }

        .fam-toggle {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            z-index: 400;
            background: rgba(250, 247, 242, 0.9);
            border: 1px solid var(--border2);
            border-radius: 40px;
            display: flex;
            overflow: hidden;
            backdrop-filter: blur(24px);
            box-shadow: var(--shadow-med);
            transform: translateY(80px);
            opacity: 0;
            transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .fam-toggle.visible {
            transform: translateY(0);
            opacity: 1;
        }

        .ft-opt {
            background: none;
            border: none;
            padding: 0.38rem 0.8rem;
            cursor: pointer;
            font-family: var(--font-ui);
            font-size: 0.46rem;
            font-weight: 400;
            letter-spacing: 0.1em;
            color: var(--ink-light);
            display: flex;
            align-items: center;
            gap: 0.3rem;
            transition: all 0.25s;
            text-transform: uppercase;
        }

        .ft-opt.active {
            background: var(--ink);
            color: var(--cream);
            border-radius: 40px;
        }

        .ft-ico {
            font-size: 0.7rem;
        }

        #hero {
            position: relative;
            min-height: 100svh;
            display: grid;
            grid-template-columns: 2fr 1fr;
            overflow: hidden;
            padding: 0;
        }

        @media(max-width:768px) {
            #hero {
                grid-template-columns: 1fr;
                width: 100%;
                max-width: 100vw;
                position: relative;
                min-height: 100svh;
            }
        }

        .h-visual {
            position: relative;
            overflow: hidden;
            background: var(--champagne);
        }

        @media(max-width:768px) {
            .h-visual {
                position: absolute;
                inset: 0;
                height: 100%;
                max-height: none;
            }
        }

        .h-bg {
            position: absolute;
            inset: 0;
        }

        .h-bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .h-bg .h-ph {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 5rem;
            background: linear-gradient(160deg, var(--champagne), var(--blush));
        }

        .h-bg-desk {
            display: none;
        }

        @media(min-width:769px) {
            .h-bg {
                display: none;
            }

            .h-bg-desk {
                display: block;
            }

            .h-bg-desk img {
                object-fit: contain;
                object-position: center center;
                background: var(--champagne);
            }
        }

        .h-visual-overlay {
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: linear-gradient(to right, transparent 70%, var(--cream));
        }

        @media(max-width:768px) {
            .h-visual-overlay {
                background: linear-gradient(
                    to top,
                    rgba(20, 15, 10, 0.88) 0%,
                    rgba(20, 15, 10, 0.55) 40%,
                    rgba(20, 15, 10, 0.15) 70%,
                    transparent 100%
                );
            }
        }

        .h-visual-number {
            position: absolute;
            bottom: 2rem;
            left: 2rem;
            font-family: var(--font-display);
            font-size: clamp(4rem, 10vw, 8rem);
            font-weight: 300;
            color: rgba(250, 247, 242, 0.15);
            line-height: 1;
            pointer-events: none;
            user-select: none;
            letter-spacing: 0;
        }

        .h-content {
            position: relative;
            z-index: 3;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: clamp(2rem, 5vw, 5rem) clamp(2rem, 5vw, 4rem);
            padding-top: 100px;
            background: var(--cream);
        }

        @media(max-width:768px) {
            .h-content {
                position: absolute;
                inset: 0;
                z-index: 3;
                background: transparent;
                width: 100%;
                box-sizing: border-box;
                justify-content: flex-end;
            }
        }

        .h-eyebrow {
            font-family: var(--font-ui);
            font-size: 0.55rem;
            letter-spacing: 0.4em;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 1.5rem;
            animation: fadeUp 0.9s 0.3s ease both;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .h-eyebrow::before {
            content: '';
            display: block;
            width: 30px;
            height: 1px;
            background: var(--gold);
        }

        .h-names-wrap {
            margin-bottom: 1.5rem;
            animation: fadeUp 0.9s 0.45s ease both;
        }

        .h-name-line {
            font-family: var(--font-display);
            font-size: clamp(3.5rem, 7vw, 6rem);
            font-weight: 500;
            line-height: 0.95;
            color: var(--ink);
            letter-spacing: 0;
        }

        .h-name-line.italic {
            font-style: italic;
            color: var(--ink-soft);
        }

        .h-amp-wrap {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 0.3rem 0;
        }

        .h-amp {
            font-family: var(--font-display);
            font-style: italic;
            font-size: clamp(1.5rem, 3.5vw, 2.5rem);
            font-weight: 300;
            color: var(--gold);
        }

        .h-amp-line {
            flex: 1;
            max-width: 80px;
            height: 1px;
            background: linear-gradient(90deg, var(--gold), transparent);
        }

        .h-quote {
            font-family: var(--font-display);
            font-style: italic;
            font-size: clamp(0.95rem, 2vw, 1.1rem);
            color: var(--ink-light);
            line-height: 1.8;
            max-width: 380px;
            margin-bottom: 2rem;
            animation: fadeUp 0.9s 0.55s ease both;
            padding-left: 1rem;
            border-left: 2px solid var(--gold-light);
        }

        .h-meta {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
            margin-bottom: 2.5rem;
            animation: fadeUp 0.9s 0.65s ease both;
        }

        .h-date {
            font-family: var(--font-ui);
            font-size: 0.85rem;
            letter-spacing: 0.2em;
            color: var(--ink);
        }

        .h-dsub {
            font-family: var(--font-body);
            font-size: 0.7rem;
            letter-spacing: 0.1em;
            color: var(--ink-light);
        }

        .h-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
            animation: fadeUp 0.9s 0.75s ease both;
        }

        .h-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--ink);
            color: var(--cream);
            padding: 0.9rem 2.2rem;
            border-radius: 40px;
            text-decoration: none;
            font-family: var(--font-ui);
            font-size: 0.6rem;
            font-weight: 400;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            transition: all 0.3s;
            box-shadow: var(--shadow-med);
        }

        .h-btn:hover {
            background: var(--gold);
            color: var(--ink);
            transform: translateY(-2px);
            box-shadow: var(--shadow-deep);
        }

        .h-btn-ghost {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: transparent;
            color: var(--ink-soft);
            padding: 0.9rem 2rem;
            border-radius: 40px;
            border: 1px solid var(--border2);
            text-decoration: none;
            font-family: var(--font-ui);
            font-size: 0.6rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            transition: all 0.3s;
            cursor: pointer;
        }

        .h-btn-ghost:hover {
            border-color: var(--gold);
            color: var(--gold);
        }

        .h-cd {
            margin-top: 2.5rem;
            animation: fadeUp 0.9s 0.85s ease both;
        }

        .h-cd-lbl {
            font-family: var(--font-ui);
            font-size: 0.52rem;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            color: var(--ink-faint);
            margin-bottom: 1rem;
        }

        .h-cd-boxes {
            display: flex;
            align-items: flex-start;
            gap: 0.4rem;
        }

        .cd-u {
            display: flex;
            flex-direction: column;
            align-items: center;
            background: var(--glass);
            backdrop-filter: blur(12px);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 0.8rem 0.7rem;
            min-width: 52px;
        }

        .cd-n {
            display: block;
            font-family: var(--font-display);
            font-size: clamp(1.6rem, 4vw, 2.2rem);
            font-weight: 400;
            color: var(--ink);
            line-height: 1;
            transition: transform 0.3s, opacity 0.3s;
        }

        .cd-n.tick {
            transform: translateY(-3px);
            opacity: 0.5;
        }

        .cd-ul {
            display: block;
            font-family: var(--font-ui);
            font-size: 0.42rem;
            letter-spacing: 0.15em;
            color: var(--ink-light);
            text-transform: uppercase;
            margin-top: 0.2rem;
        }

        .cd-sep {
            font-family: var(--font-display);
            font-size: 1.8rem;
            color: var(--gold-light);
            line-height: 1;
            margin-top: 0.8rem;
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: none;
            }
        }

        #heroMusicBtn {
            position: absolute;
            top: 80px;
            right: 2rem;
            z-index: 10;
            animation: fadeUp 0.9s 1s ease both;
        }

        @media(max-width:768px) {
            #heroMusicBtn {
                position: fixed !important;
                top: 1rem !important;
                right: 1rem !important;
                bottom: auto !important;
                z-index: 20 !important;
                margin: 0;
                animation-delay: 0.15s;
            }
            #heroMusicBtn button {
                background: rgba(20, 15, 10, 0.45) !important;
                border-color: rgba(255, 255, 255, 0.25) !important;
                color: rgba(255, 255, 255, 0.85) !important;
                backdrop-filter: blur(12px);
            }
        }

        section {
            padding: 6rem 1.5rem;
            position: relative;
        }

        @media(max-width:480px) {
            section {
                padding: 4rem 1rem;
            }
        }

        [style*="max-width"],
        .couple-editorial,
        .love-section,
        .sides-grid,
        .map-outer,
        .shuttle-grid,
        .s-head,
        .gallery-wrap,
        .rsvp-wrap,
        .dress-wrap,
        .contact-wrap,
        .wishes-wrap {
            box-sizing: border-box;
        }

        .s-head {
            text-align: center;
            padding: 0 1rem 4rem;
            max-width: 640px;
            margin: 0 auto;
        }

        .s-kicker {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-family: var(--font-ui);
            font-size: 0.55rem;
            letter-spacing: 0.35em;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 1.2rem;
        }

        .s-kicker::before,
        .s-kicker::after {
            content: '';
            display: block;
            width: 24px;
            height: 1px;
            background: var(--gold-light);
        }

        .s-title {
            font-family: var(--font-display);
            font-size: clamp(2.2rem, 5vw, 3.5rem);
            font-weight: 500;
            font-style: italic;
            color: var(--ink);
            line-height: 1.15;
            margin-bottom: 0.8rem;
        }

        .s-sub {
            font-size: 0.82rem;
            color: var(--ink-light);
            line-height: 1.85;
            font-family: var(--font-body);
            font-weight: 300;
        }

        .s-ornament {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin: 1.2rem auto;
        }

        .s-ornament::before,
        .s-ornament::after {
            content: '';
            width: 40px;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--champagne));
        }

        .s-ornament::after {
            background: linear-gradient(90deg, var(--champagne), transparent);
        }

        .s-ornament-leaf {
            font-size: 0.85rem;
            opacity: 0.5;
        }


        .rv,
        .rv-l,
        .rv-r,
        .rv-s {
            opacity: 0;
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .rv {
            transform: translateY(28px);
        }

        .rv-l {
            transform: translateX(-28px);
        }

        .rv-r {
            transform: translateX(28px);
        }

        .rv-s {
            transform: scale(0.96);
        }

        .rv.in,
        .rv-l.in,
        .rv-r.in,
        .rv-s.in {
            opacity: 1;
            transform: none;
        }

        .d1 {
            transition-delay: 0.1s;
        }

        .d2 {
            transition-delay: 0.2s;
        }

        .d3 {
            transition-delay: 0.3s;
        }


        #couple {
            background: var(--ivory);
        }

        .couple-editorial {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem 3rem;
            align-items: start;
            margin-bottom: 4rem;
        }

        @media(max-width:680px) {
            .couple-editorial {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
        }

        .p-card {
            display: flex;
            flex-direction: column;
            gap: 0;
        }

        .p-card:nth-child(2) {
            padding-top: 3rem;
        }

        @media(max-width:680px) {
            .p-card:nth-child(2) {
                padding-top: 0;
            }
        }

        .p-photo-wrap {
            position: relative;
            overflow: hidden;
            margin-bottom: 1.5rem;
            border-radius: var(--radius2);
        }

        .p-photo-wrap::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: var(--radius2);
            box-shadow: inset 0 0 0 1px rgba(180, 155, 130, 0.25);
            pointer-events: none;
        }

        .p-photo {
            width: 100%;
            aspect-ratio: 3/4;
            overflow: hidden;
            background: linear-gradient(160deg, var(--champagne), var(--blush));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            border-radius: var(--radius2);
            transition: transform 0.6s ease;
        }

        .p-photo-wrap:hover .p-photo {
            transform: scale(1.03);
        }

        .p-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: var(--radius2);
        }

        .p-photo-label {
            position: absolute;
            bottom: 1.2rem;
            left: 1.2rem;
            background: rgba(250, 247, 242, 0.85);
            backdrop-filter: blur(12px);
            border: 1px solid var(--border);
            border-radius: 30px;
            padding: 0.35rem 0.9rem;
            font-family: var(--font-ui);
            font-size: 0.52rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--ink-soft);
        }

        .p-index {
            font-family: var(--font-display);
            font-size: 0.7rem;
            color: var(--gold);
            letter-spacing: 0.15em;
            margin-bottom: 0.3rem;
        }

        .p-name {
            font-family: var(--font-display);
            font-size: clamp(1.6rem, 3vw, 2.2rem);
            font-weight: 300;
            color: var(--ink);
            margin-bottom: 0.2rem;
            line-height: 1.2;
        }

        .p-role {
            font-family: var(--font-ui);
            font-size: 0.55rem;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            color: var(--dusty-rose);
            margin-bottom: 1rem;
        }

        .p-bio {
            font-size: 0.85rem;
            color: var(--ink-light);
            line-height: 1.9;
            font-weight: 300;
        }


        .love-section {
            max-width: 760px;
            margin: 0 auto;
            position: relative;
        }

        .love-box {
            background: white;
            border-radius: var(--radius3);
            padding: 3rem 3.5rem;
            text-align: center;
            box-shadow: var(--shadow-soft);
            border: 1px solid var(--border);
            position: relative;
            overflow: hidden;
        }

        @media(max-width:600px) {
            .love-box {
                padding: 2rem 1.5rem;
            }
        }

        .love-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--champagne), var(--gold), var(--blush), var(--champagne));
        }

        .love-bigq {
            font-family: var(--font-display);
            font-size: 8rem;
            font-weight: 300;
            line-height: 0.6;
            color: var(--champagne);
            display: block;
            margin-bottom: 1rem;
            font-style: italic;
        }

        .love-h {
            font-family: var(--font-display);
            font-size: 1.4rem;
            font-style: italic;
            font-weight: 300;
            color: var(--dusty-rose);
            margin-bottom: 1.5rem;
        }

        .love-p {
            font-size: 0.88rem;
            color: var(--ink-soft);
            line-height: 2;
            white-space: pre-line;
            text-align: left;
            max-width: 560px;
            margin: 0 auto;
            overflow: visible;
            display: block;
            height: auto;
            max-height: none;
            -webkit-line-clamp: unset;
        }

        @media(max-width:768px) {
            .love-p {
                font-size: 0.85rem;
                line-height: 1.9;
                max-width: 100%;
                overflow: visible;
                display: block;
                height: auto;
                max-height: none;
            }

            .love-box {
                overflow: visible;
            }
        }


        #info {
            background: var(--cream);
        }

        .sides-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            max-width: 920px;
            margin: 0 auto 2.5rem;
        }

        @media(max-width:640px) {
            .sides-grid {
                grid-template-columns: 1fr;
            }
        }

        .side-card {
            background: white;
            border-radius: var(--radius2);
            overflow: hidden;
            box-shadow: var(--shadow-soft);
            border: 1px solid var(--border);
            transition: box-shadow 0.3s, transform 0.3s;
        }

        .side-card:hover {
            box-shadow: var(--shadow-med);
            transform: translateY(-3px);
        }

        .sc-banner {
            padding: 1.5rem;
            position: relative;
            overflow: hidden;
        }

        .sc-banner.g {
            background: linear-gradient(135deg, var(--ivory), var(--champagne));
        }

        .sc-banner.b {
            background: linear-gradient(135deg, #f8eff0, #f0e0d8);
        }

        .sc-banner-label {
            font-family: var(--font-ui);
            font-size: 0.52rem;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            color: var(--ink-light);
            margin-bottom: 0.5rem;
        }

        .sc-banner-title {
            font-family: var(--font-display);
            font-size: 1.6rem;
            font-weight: 300;
            font-style: italic;
            color: var(--ink);
        }

        .sc-banner-deco {
            position: absolute;
            bottom: -10px;
            right: 1rem;
            font-family: var(--font-display);
            font-size: 4rem;
            font-weight: 300;
            font-style: italic;
            color: rgba(42, 36, 32, 0.06);
            line-height: 1;
            user-select: none;
        }

        .sc-body {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .sc-row {
            display: flex;
            gap: 0.8rem;
            align-items: flex-start;
        }

        .sc-ico-wrap {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--ivory);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            flex-shrink: 0;
            margin-top: 0.1rem;
        }

        .sc-lbl {
            font-family: var(--font-ui);
            font-size: 0.5rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--ink-light);
            margin-bottom: 0.2rem;
        }

        .sc-val {
            font-size: 0.9rem;
            color: var(--ink);
            font-weight: 400;
        }

        .sc-adr {
            font-size: 0.78rem;
            color: var(--ink-light);
            line-height: 1.55;
            margin-top: 0.1rem;
        }

        .sc-tl {
            border-top: 1px solid var(--border);
            padding-top: 1.2rem;
            margin-top: 0.3rem;
        }

        .tl-lbl {
            font-family: var(--font-ui);
            font-size: 0.52rem;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: var(--gold);
            font-weight: 400;
            margin-bottom: 1rem;
        }

        .tl-row {
            display: grid;
            grid-template-columns: 44px 10px 1fr;
            gap: 0.4rem;
            align-items: start;
            margin-bottom: 0.8rem;
            position: relative;
        }

        .tl-row::before {
            content: '';
            position: absolute;
            left: 57px;
            top: 16px;
            bottom: -12px;
            width: 1px;
            background: linear-gradient(to bottom, var(--champagne), transparent);
        }

        .tl-row:last-child::before {
            display: none;
        }

        .tl-t {
            font-family: var(--font-ui);
            font-size: 0.58rem;
            color: var(--gold);
            font-weight: 400;
            padding-top: 0.12rem;
            text-align: right;
            letter-spacing: 0.05em;
        }

        .tl-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--gold);
            margin-top: 0.25rem;
            flex-shrink: 0;
            box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
        }

        .tl-b strong {
            display: block;
            font-size: 0.82rem;
            color: var(--ink);
            font-weight: 400;
        }

        .tl-b span {
            display: block;
            font-size: 0.75rem;
            color: var(--ink-light);
            line-height: 1.5;
            margin-top: 0.1rem;
        }

        .map-outer {
            max-width: 920px;
            margin: 0 auto;
        }

        /* ── Map tabs — mirror fam-toggle style ── */
        .map-tabs {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0;
            margin-bottom: 1rem;
            background: rgba(250, 247, 242, 0.9);
            border: 1px solid var(--border2);
            border-radius: 40px;
            overflow: hidden;
            box-shadow: var(--shadow-soft);
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
        }

        .mt {
            display: inline-flex;
            align-items: center;
            gap: 0.33rem;
            padding: 0.42rem 0.88rem;
            border: none;
            background: transparent;
            cursor: pointer;
            font-family: var(--font-ui);
            font-size: 0.51rem;
            font-weight: 400;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--ink-light);
            transition: all 0.25s;
            white-space: nowrap;
        }

        .mt.on {
            background: var(--ink);
            color: var(--cream);
            border-radius: 40px;
        }

        .mt-ico {
            font-size: 0.72rem;
            line-height: 1;
        }

        /* ── Map card redesign ── */
        .map-card {
            border-radius: var(--radius2);
            overflow: hidden;
            border: 1px solid var(--border);
            box-shadow: 0 8px 48px rgba(42,36,32,0.1);
            background: white;
            transition: border-color 0.35s ease, box-shadow 0.35s ease;
        }

        .map-info-bar {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.85rem 1.1rem;
            border-bottom: 1px solid var(--border);
            background: white;
            transition: background 0.35s ease;
        }

        .map-info-body {
            flex: 1;
            min-width: 0;
        }

        .map-pin-dot { display: none; }

        .map-venue-name {
            font-family: var(--font-ui);
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--ink);
            letter-spacing: 0.01em;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .map-venue-addr {
            font-family: var(--font-body);
            font-size: 0.58rem;
            color: var(--ink-light);
            margin-top: 0.18rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .map-dir-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            flex-shrink: 0;
            padding: 0.48rem 1rem;
            border-radius: 999px;
            background: var(--ink);
            color: white;
            font-family: var(--font-ui);
            font-size: 0.54rem;
            font-weight: 400;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            text-decoration: none;
            transition: opacity 0.2s, transform 0.2s;
        }

        .map-dir-btn:hover {
            opacity: 0.85;
            transform: translateY(-1px);
        }

        .map-frame {
            position: relative;
        }

        .map-frame iframe {
            width: 100%;
            height: 380px;
            display: block;
            border: none;
        }

        @media (max-width: 600px) {
            .map-frame iframe { height: 280px; }
        }

        /* Nhà Trai active → gold tone */
        #info .map-card.side-g {
            border-color: rgba(201, 169, 110, 0.4);
            box-shadow: 0 8px 40px rgba(201, 169, 110, 0.15);
        }
        #info .map-card.side-g .map-info-bar {
            background: linear-gradient(135deg, #fdf8ef, #f5ead4);
        }
        #info .map-card.side-g .map-pin-dot {
            background: #c9a96e;
            box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.25);
        }
        #info .map-card.side-g .map-info-bar { background: #fffdf8; }
        #info .map-card.side-g .map-dir-btn {
            background: linear-gradient(135deg, #7a5c3a, #c9a96e);
        }

        /* Nhà Gái active → rose tone */
        #info .map-card.side-b {
            border-color: rgba(201, 112, 144, 0.4);
            box-shadow: 0 8px 40px rgba(201, 112, 144, 0.12);
        }
        #info .map-card.side-b .map-info-bar {
            background: linear-gradient(135deg, #fef4f6, #fce4ea);
        }
        #info .map-card.side-b .map-pin-dot {
            background: #c97090;
            box-shadow: 0 0 0 3px rgba(201, 112, 144, 0.25);
        }
        #info .map-card.side-b .map-info-bar { background: #fff8fa; }
        #info .map-card.side-b .map-dir-btn {
            background: linear-gradient(135deg, #8a3f56, #c97090);
        }

        #shuttle {
            background: var(--ivory);
        }

        .shuttle-grid {
            max-width: 920px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
        }

        .sh-card {
            background: white;
            border: 1px solid var(--border);
            border-radius: var(--radius2);
            overflow: hidden;
            box-shadow: var(--shadow-soft);
            transition: box-shadow 0.3s;
        }

        .sh-card:hover {
            box-shadow: var(--shadow-med);
        }

        .sh-head {
            padding: 1.2rem 1.8rem;
            background: linear-gradient(135deg, var(--ivory), var(--champagne));
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .sh-plate {
            font-family: var(--font-display);
            font-size: 1.3rem;
            font-weight: 400;
            color: var(--ink);
        }

        .sh-cap {
            font-family: var(--font-ui);
            font-size: 0.55rem;
            font-weight: 400;
            letter-spacing: 0.12em;
            color: var(--sage);
            background: rgba(168, 181, 160, 0.12);
            padding: 0.25rem 0.8rem;
            border-radius: 20px;
            border: 1px solid rgba(168, 181, 160, 0.3);
            text-transform: uppercase;
        }

        .sh-body {
            padding: 1.2rem 1.8rem;
        }

        .sh-info {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
            margin-bottom: 1.2rem;
        }

        .sh-row {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }

        .sh-ico {
            font-size: 0.9rem;
        }

        .sh-lbl {
            font-family: var(--font-ui);
            font-size: 0.48rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--ink-light);
        }

        .sh-val {
            font-size: 0.85rem;
            color: var(--ink);
            font-weight: 400;
        }

        .sh-pts-lbl {
            font-family: var(--font-ui);
            font-size: 0.55rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--gold);
            font-weight: 400;
            margin-bottom: 0.8rem;
        }

        .sh-pt {
            display: flex;
            gap: 0.8rem;
            align-items: flex-start;
            margin-bottom: 0.7rem;
        }

        .sh-pt-time {
            font-family: var(--font-ui);
            font-size: 0.62rem;
            color: var(--ink-soft);
            min-width: 38px;
            padding-top: 0.1rem;
            letter-spacing: 0.05em;
        }

        .sh-pt-body {
            flex: 1;
        }

        .sh-pt-name {
            font-size: 0.85rem;
            color: var(--ink);
            font-weight: 400;
        }

        .sh-pt-addr {
            font-size: 0.75rem;
            color: var(--ink-light);
        }

        .sh-pt-note {
            font-size: 0.72rem;
            color: var(--dusty-rose);
            margin-top: 0.15rem;
        }

        #gallery {
            background: var(--cream);
        }

        .g-tabs {
            display: flex;
            gap: 0.5rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }

        .g-tab {
            padding: 0.5rem 1.4rem;
            border: 1px solid var(--border);
            border-radius: 30px;
            background: white;
            cursor: pointer;
            font-family: var(--font-ui);
            font-size: 0.58rem;
            font-weight: 400;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--ink-light);
            transition: all 0.25s;
        }

        .g-tab.on {
            background: var(--ink);
            border-color: transparent;
            color: var(--cream);
        }

        .g-tab:hover:not(.on) {
            border-color: var(--gold);
            color: var(--gold);
        }

        .g-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.8rem;
            max-width: 960px;
            margin: 0 auto;
        }

        @media(max-width:500px) {
            .g-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .g-cell {
            aspect-ratio: 1;
            border-radius: var(--radius);
            overflow: hidden;
            background: var(--ivory);
            cursor: pointer;
            position: relative;
            border: 1px solid var(--border);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .g-cell:hover {
            transform: scale(1.02);
            box-shadow: var(--shadow-med);
        }

        .g-cell img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .g-cell:hover img {
            transform: scale(1.06);
        }

        .g-ov {
            position: absolute;
            inset: 0;
            background: rgba(42, 36, 32, 0.35);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.25s;
            backdrop-filter: blur(2px);
        }

        .g-ov span {
            color: white;
            font-size: 1.5rem;
        }

        .g-cell:hover .g-ov {
            opacity: 1;
        }

        .g-ph {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 0.3rem;
            height: 100%;
            font-size: 1.6rem;
            color: var(--ink-faint);
        }

        .g-show-more-btn {
            background: none;
            border: 1px solid var(--border2);
            color: var(--ink-soft);
            padding: 0.7rem 2.5rem;
            border-radius: 30px;
            font-family: var(--font-ui);
            font-size: 0.6rem;
            font-weight: 400;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.3s;
        }

        .g-show-more-btn:hover {
            background: var(--ink);
            border-color: transparent;
            color: var(--cream);
        }

        .vid-tab-wrap {
            max-width: 960px;
            margin: 0 auto;
        }

        .vid-frame {
            position: relative;
            aspect-ratio: 16/9;
            border-radius: var(--radius2);
            overflow: hidden;
            background: var(--ink);
            border: 1px solid var(--border);
            box-shadow: var(--shadow-med);
        }

        .vid-frame iframe {
            width: 100%;
            height: 100%;
            display: block;
        }

        .vid-cover {
            position: absolute;
            inset: 0;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            background: linear-gradient(160deg, rgba(42, 36, 32, 0.7), rgba(42, 36, 32, 0.5));
            backdrop-filter: blur(4px);
        }

        .vid-play-btn {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            background: rgba(250, 247, 242, 0.15);
            border: 2px solid rgba(250, 247, 242, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            backdrop-filter: blur(8px);
        }

        .vid-play-btn:hover {
            background: var(--gold);
            border-color: var(--gold);
            transform: scale(1.1);
        }

        .vid-play-icon {
            color: var(--cream);
            font-size: 1.4rem;
            margin-left: 4px;
        }

        .vid-cover-title {
            font-family: var(--font-display);
            font-size: 1.4rem;
            font-style: italic;
            font-weight: 300;
            color: var(--cream);
        }

        .vid-cover-sub {
            font-family: var(--font-ui);
            font-size: 0.55rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: rgba(250, 247, 242, 0.6);
        }

        .vid-frame.playing .vid-cover {
            display: none;
        }

        #rsvp {
            background: var(--ivory);
        }

        .rsvp-box {
            max-width: 620px;
            margin: 0 auto;
            background: white;
            border: 1px solid var(--border);
            border-radius: var(--radius3);
            padding: 2.5rem;
            box-shadow: var(--shadow-med);
            position: relative;
            overflow: hidden;
        }

        .rsvp-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--champagne), var(--gold), var(--blush), var(--champagne));
        }

        .f-g {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            margin-bottom: 1.2rem;
        }

        .f-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.8rem;
            margin-bottom: 1.2rem;
        }

        @media(max-width:500px) {
            .f-row {
                grid-template-columns: 1fr;
            }
        }

        .f-lbl {
            font-family: var(--font-ui);
            font-size: 0.55rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--ink-soft);
            font-weight: 400;
        }

        .f-g input,
        .f-g select,
        .f-g textarea {
            background: var(--cream);
            border: 1px solid var(--border2);
            border-radius: var(--radius);
            color: var(--ink);
            padding: 0.8rem 1rem;
            font-size: 16px;
            font-family: var(--font-body);
            font-weight: 300;
            outline: none;
            width: 100%;
            transition: all 0.2s;
            -webkit-appearance: none;
        }

        @media(min-width:600px) {

            .f-g input,
            .f-g select,
            .f-g textarea {
                font-size: 0.88rem;
            }
        }

        .f-g input:focus,
        .f-g select:focus,
        .f-g textarea:focus {
            border-color: var(--gold);
            background: white;
            box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
        }

        .f-g textarea {
            min-height: 90px;
            resize: vertical;
            line-height: 1.7;
        }

        .f-g select option {
            background: white;
            color: var(--ink);
        }

        .fp-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.7rem;
        }

        .fp {
            border: 1.5px solid var(--border2);
            border-radius: var(--radius);
            padding: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.6rem;
            cursor: pointer;
            transition: all 0.25s;
            background: var(--cream);
        }

        .fp:hover {
            border-color: var(--gold-light);
        }

        .fp.sg {
            border-color: var(--gold);
            background: rgba(201, 169, 110, 0.08);
        }

        .fp.sb {
            border-color: var(--dusty-rose);
            background: rgba(196, 144, 122, 0.08);
        }

        .fp input {
            display: none;
        }

        .fp-ico {
            font-size: 1.1rem;
        }

        .fp-nm {
            font-family: var(--font-ui);
            font-size: 0.7rem;
            font-weight: 400;
            color: var(--ink);
            flex: 1;
            letter-spacing: 0.08em;
        }

        .fp-ck {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            border: 1.5px solid var(--border2);
            transition: all 0.2s;
        }

        .fp.sg .fp-ck {
            background: var(--gold);
            border-color: var(--gold);
        }

        .fp.sb .fp-ck {
            background: var(--dusty-rose);
            border-color: var(--dusty-rose);
        }

        .vib {
            background: var(--ivory);
            border-radius: var(--radius);
            padding: 1rem 1.1rem;
            margin-top: 0.6rem;
            display: none;
            border: 1px solid var(--border);
        }

        .vib.show {
            display: block;
        }

        .vib-ttl {
            font-family: var(--font-ui);
            font-size: 0.55rem;
            font-weight: 400;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 0.7rem;
        }

        .vib-r {
            display: flex;
            gap: 0.5rem;
            align-items: flex-start;
            margin-bottom: 0.4rem;
            font-size: 0.78rem;
        }

        .vi {
            flex-shrink: 0;
        }

        .vt {
            display: flex;
            flex-direction: column;
            gap: 0.1rem;
        }

        .vt strong {
            color: var(--ink);
            font-weight: 400;
        }

        .vt span {
            color: var(--ink-light);
        }

        .att-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.7rem;
        }

        .att input {
            display: none;
        }

        .att label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.8rem 1rem;
            border: 1.5px solid var(--border2);
            border-radius: var(--radius);
            cursor: pointer;
            transition: all 0.25s;
            background: var(--cream);
            font-family: var(--font-body);
        }

        .att input:checked+label.yes {
            border-color: var(--sage);
            background: rgba(168, 181, 160, 0.1);
        }

        .att input:checked+label.no {
            border-color: var(--dusty-rose);
            background: rgba(196, 144, 122, 0.08);
        }

        .a-ico {
            font-size: 1rem;
        }

        .a-vi {
            font-family: var(--font-ui);
            font-size: 0.7rem;
            font-weight: 400;
            color: var(--ink);
            letter-spacing: 0.06em;
        }

        .pu-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .pu input {
            display: none;
        }

        .pu label {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            padding: 0.8rem 1rem;
            border: 1.5px solid var(--border2);
            border-radius: var(--radius);
            cursor: pointer;
            background: var(--cream);
            transition: all 0.25s;
        }

        .pu input:checked+label {
            border-color: #ed9005;
            background: rgba(201, 169, 110, 0.08);
        }

        .pu-ico {
            font-size: 1rem;
            flex-shrink: 0;
        }

        .pu-t {
            font-size: 0.85rem;
            color: var(--ink);
            font-weight: 400;
        }

        .pu-s {
            font-size: 0.74rem;
            color: var(--ink-light);
            line-height: 1.4;
        }

        .rst {
            font-size: 0.82rem;
            padding: 0.6rem 0.9rem;
            border-radius: var(--radius);
            margin-bottom: 0.6rem;
        }

        .rst.ok {
            background: rgba(168, 181, 160, 0.15);
            color: #5a7a52;
            border: 1px solid rgba(168, 181, 160, 0.3);
        }

        .rst.er {
            background: rgba(196, 144, 122, 0.12);
            color: var(--dusty-rose);
            border: 1px solid rgba(196, 144, 122, 0.3);
        }

        .rst.ld {
            background: rgba(201, 169, 110, 0.12);
            color: var(--terracotta);
            border: 1px solid rgba(201, 169, 110, 0.3);
        }

        .btn-sub {
            width: 100%;
            padding: 1rem;
            background: var(--ink);
            border: none;
            border-radius: 40px;
            color: var(--cream);
            font-family: var(--font-ui);
            font-size: 0.65rem;
            font-weight: 400;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: var(--shadow-med);
        }

        .btn-sub:hover {
            background: var(--gold);
            color: var(--ink);
            transform: translateY(-2px);
            box-shadow: var(--shadow-deep);
        }

        .btn-sub:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .ok-msg {
            display: none;
            text-align: center;
            padding: 2.5rem 1rem;
        }

        .ok-msg h3 {
            font-family: var(--font-display);
            font-size: 2.2rem;
            font-style: italic;
            font-weight: 300;
            color: var(--ink);
            margin-bottom: 0.6rem;
        }

        .ok-msg p {
            font-size: 0.88rem;
            color: var(--ink-light);
            line-height: 1.85;
        }

        .phone-lock-note {
            font-size: 0.72rem;
            color: var(--ink-faint);
            margin-top: 0.4rem;
            display: flex;
            align-items: center;
            gap: 0.3rem;
            letter-spacing: 0.03em;
        }

        .ok-summary {
            margin: 1.5rem auto 0;
            max-width: 340px;
            background: var(--ivory);
            border: 1px solid var(--border2);
            border-radius: var(--radius);
            padding: 1rem 1.25rem;
            text-align: left;
        }

        .ok-sum-row {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            padding: 0.35rem 0;
            border-bottom: 1px solid var(--border);
            font-size: 0.82rem;
        }

        .ok-sum-row:last-child {
            border-bottom: none;
        }

        .ok-sum-row span {
            color: var(--ink-light);
            white-space: nowrap;
        }

        .ok-sum-row strong {
            color: var(--ink);
            text-align: right;
            font-weight: 500;
            word-break: break-word;
        }

        .btn-edit {
            margin-top: 1.4rem;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: none;
            border: 1px solid var(--border2);
            border-radius: 40px;
            padding: 0.55rem 1.4rem;
            font-family: var(--font-ui);
            font-size: 0.75rem;
            letter-spacing: 0.08em;
            color: var(--ink-soft);
            cursor: pointer;
            transition: all 0.25s;
        }

        .btn-edit:hover {
            border-color: var(--gold);
            color: var(--gold);
            background: rgba(201, 169, 110, 0.06);
        }

        footer {
            text-align: center;
            padding: 4rem 1.5rem 5rem;
            background: var(--ink);
            position: relative;
            overflow: hidden;
        }

        .ft-texture {
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 169, 110, 0.12) 0%, transparent 60%);
        }

        .ft-ornament {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            margin-bottom: 2rem;
        }

        .ft-ornament-line {
            width: 80px;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.5));
        }

        .ft-ornament-line:last-child {
            background: linear-gradient(90deg, rgba(201, 169, 110, 0.5), transparent);
        }

        .ft-ornament-center {
            font-family: var(--font-display);
            font-size: 1.2rem;
            color: var(--gold);
            font-style: italic;
        }

        .ft-names {
            font-family: var(--font-display);
            font-size: clamp(2.5rem, 6vw, 4rem);
            font-style: italic;
            font-weight: 300;
            color: rgba(250, 247, 242, 0.95);
            margin-bottom: 0.8rem;
            line-height: 1.1;
        }

        .ft-date {
            font-family: var(--font-ui);
            font-size: 0.65rem;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 1.5rem;
        }

        .ft-quote {
            font-family: var(--font-display);
            font-style: italic;
            font-size: 0.95rem;
            color: rgba(250, 247, 242, 0.4);
            letter-spacing: 0.05em;
        }

        .lb {
            position: fixed;
            inset: 0;
            z-index: 9999;
            background: rgba(42, 36, 32, 0.95);
            backdrop-filter: blur(12px);
            display: none;
            align-items: center;
            justify-content: center;
        }

        .lb.open {
            display: flex;
        }

        .lb img {
            max-width: min(90vw, 900px);
            max-height: 88vh;
            object-fit: contain;
            border-radius: var(--radius);
            box-shadow: var(--shadow-deep);
        }

        .lb-x {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            background: rgba(250, 247, 242, 0.1);
            border: 1px solid rgba(250, 247, 242, 0.2);
            border-radius: 50%;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--cream);
            font-size: 1.1rem;
            transition: all 0.2s;
            backdrop-filter: blur(8px);
        }

        .lb-x:hover {
            background: rgba(250, 247, 242, 0.2);
        }

        .lb-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(250, 247, 242, 0.1);
            border: 1px solid rgba(250, 247, 242, 0.2);
            border-radius: 50%;
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--cream);
            font-size: 1.3rem;
            transition: all 0.2s;
            backdrop-filter: blur(8px);
        }

        .lb-nav:hover {
            background: rgba(250, 247, 242, 0.22);
        }

        .lb-p {
            left: 1.5rem;
        }

        .lb-n {
            right: 1.5rem;
        }

        canvas {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 1;
        }

        .ct {
            position: fixed;
            pointer-events: none;
            z-index: 9999;
            border-radius: 50%;
            animation: ctAnim 0.9s ease forwards;
        }

        @keyframes ctAnim {
            0% {
                transform: scale(1) rotate(0deg);
                opacity: .9
            }

            100% {
                transform: scale(0) rotate(360deg);
                opacity: 0;
                translate: 0 -20px
            }
        }

        .hb {
            position: fixed;
            pointer-events: none;
            z-index: 9999;
            animation: hbAnim 1.1s ease forwards;
        }

        @keyframes hbAnim {
            0% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 1
            }

            100% {
                transform: translate(calc(-50% + var(--tx)) calc(-50% + var(--ty))) scale(0);
                opacity: 0
            }
        }

        .fp-bg {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 2;
            overflow: hidden;
        }

        .fpi {
            position: absolute;
            top: -20px;
            border-radius: 60% 40% 55% 45%/45% 55% 40% 60%;
            animation: hpFall linear infinite;
        }

        .h-petals {
            position: absolute;
            inset: 0;
            z-index: 2;
            overflow: hidden;
            pointer-events: none;
        }

        .hp {
            position: absolute;
            top: -15px;
            border-radius: 60% 40% 55% 45%/45% 55% 40% 60%;
            animation: hpFall linear infinite;
        }

        @keyframes hpFall {
            0% {
                transform: translateY(-60px) rotate(0deg) translateX(0);
                opacity: 0
            }

            10% {
                opacity: .5
            }

            80% {
                opacity: .25
            }

            100% {
                transform: translateY(105vh) rotate(540deg) translateX(40px);
                opacity: 0
            }
        }

        #rsvpExpired h3 {
            color: var(--dusty-rose) !important;
        }

        .stagger>* {
            opacity: 0;
            animation: fadeUp 0.7s ease both;
        }

        .stagger>*:nth-child(1) {
            animation-delay: 0.1s;
        }

        .stagger>*:nth-child(2) {
            animation-delay: 0.2s;
        }

        .stagger>*:nth-child(3) {
            animation-delay: 0.3s;
        }

        .stagger>*:nth-child(4) {
            animation-delay: 0.4s;
        }

        .section-divider {
            width: 100%;
            max-width: 920px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 0 1.5rem;
        }

        .section-divider::before,
        .section-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--border2), transparent);
        }

        .section-divider-ico {
            color: var(--gold-light);
            font-size: 0.8rem;
        }

        :root {
            --cream: #fbf7ef;
            --ivory: #f4ecdf;
            --champagne: #e8d7bd;
            --blush: #ead1ca;
            --dusty-rose: #9f5f4f;
            --terracotta: #884a3c;
            --gold: #9d7841;
            --gold-light: #d9bd84;
            --sage: #74856f;
            --ink: #241c17;
            --ink-soft: #40342d;
            --ink-light: #66584f;
            --ink-faint: #8c7c70;
            --surface: rgba(255, 252, 246, 0.82);
            --surface2: rgba(255, 250, 241, 0.68);
            --glass: rgba(255, 255, 255, 0.72);
            --border: rgba(137, 105, 65, 0.18);
            --border2: rgba(137, 105, 65, 0.32);
            --shadow-soft: 0 14px 38px rgba(74, 51, 34, 0.09);
            --shadow-med: 0 22px 54px rgba(74, 51, 34, 0.13);
            --shadow-deep: 0 30px 80px rgba(74, 51, 34, 0.18);
        }

        html {
            scroll-padding-top: 82px;
        }

        body {
            font-family: var(--font-body);
            font-weight: 400;
            line-height: 1.65;
            background:
                linear-gradient(120deg, rgba(255, 255, 255, 0.82), rgba(244, 236, 223, 0.62)),
                radial-gradient(900px 480px at 12% 8%, rgba(232, 215, 189, 0.34), transparent 62%),
                radial-gradient(820px 520px at 88% 28%, rgba(234, 209, 202, 0.28), transparent 64%),
                var(--cream);
        }

        .w-orb {
            display: none;
        }

        .w-title,
        .h-name-line,
        .h-amp,
        .h-quote,
        .s-title,
        .p-name,
        .love-bigq,
        .love-h,
        .sc-banner-title,
        .sh-plate,
        .vid-cover-title,
        .ok-msg h3,
        .ft-ornament-center,
        .ft-names,
        .ft-quote {
            font-family: var(--font-display);
            font-style: normal;
            letter-spacing: 0;
        }

        .w-eyebrow,
        .w-subtitle,
        #nav a,
        .ft-opt,
        .h-eyebrow,
        .h-date,
        .h-btn,
        .h-btn-ghost,
        .h-cd-lbl,
        .cd-ul,
        .s-kicker,
        .p-role,
        .sc-banner-label,
        .sc-lbl,
        .tl-lbl,
        .tl-t,
        .mt,
        .sh-cap,
        .sh-lbl,
        .sh-pts-lbl,
        .g-tab,
        .g-show-more-btn,
        .vid-cover-sub,
        .f-lbl,
        .fp-nm,
        .a-vi,
        .btn-sub,
        .ft-date {
            font-family: var(--font-ui);
            font-weight: 600;
            letter-spacing: 0.14em;
        }

        .h-name-line {
            font-weight: 600;
            line-height: 1;
        }

        .h-name-line.italic,
        .h-quote,
        .s-title,
        .love-h,
        .ft-names,
        .ft-quote {
            font-style: normal;
        }

        .w-title,
        .h-name-line,
        .s-title,
        .ft-names {
            font-family: var(--font-display);
            font-weight: 700;
            letter-spacing: 0;
        }

        .h-name-line {
            font-size: clamp(4rem, 7vw, 6.4rem);
            line-height: 1.02;
        }

        .h-name-line.italic {
            color: var(--ink-soft);
        }

        .h-quote,
        .ft-quote {
            font-family: 'Cormorant Garamond', 'Times New Roman', serif;
            font-style: italic;
            font-weight: 400;
        }

        @media(min-width:769px) {
            .h-bg-desk img {
                object-fit: cover;
                object-position: center center;
            }

            .h-names-wrap {
                display: flex;
                align-items: baseline;
                gap: clamp(0.55rem, 1vw, 1rem);
                white-space: nowrap;
                margin-bottom: 1.4rem;
            }

            .h-name-line {
                flex: 0 0 auto;
                font-size: clamp(3rem, 4.2vw, 4.8rem);
                line-height: 1;
            }

            .h-amp-wrap {
                flex: 0 0 auto;
                display: inline-flex;
                gap: 0;
                margin: 0;
            }

            .h-amp {
                font-size: clamp(2rem, 3vw, 3.2rem);
                line-height: 1;
            }

            .h-amp-line {
                display: none;
            }
        }

        @media(min-width:769px) and (max-width:1180px) {
            .h-content {
                padding-inline: clamp(1.8rem, 3.8vw, 3rem);
            }

            .h-name-line {
                font-size: clamp(2.45rem, 4vw, 3.35rem);
            }

            .h-amp {
                font-size: clamp(1.75rem, 3vw, 2.45rem);
            }
        }

        .h-content {
            background: linear-gradient(145deg, rgba(251, 247, 239, 0.94), rgba(246, 238, 225, 0.88));
        }

        section {
            padding-block: clamp(5rem, 9vw, 8rem);
        }

        #couple,
        #shuttle,
        #rsvp {
            background:
                linear-gradient(180deg, rgba(244, 236, 223, 0.92), rgba(251, 247, 239, 0.88)),
                var(--ivory);
        }

        #info,
        #gallery {
            background:
                linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(246, 238, 225, 0.7)),
                var(--cream);
        }

        #nav,
        .fam-toggle,
        .w-btn,
        .cd-u,
        .p-photo-label,
        .love-box,
        .side-card,
        .sh-card,
        .rsvp-box,
        .map-frame {
            background: var(--glass);
            border-color: var(--border2);
            backdrop-filter: blur(22px);
            -webkit-backdrop-filter: blur(22px);
            box-shadow: var(--shadow-soft);
        }

        .love-box,
        .side-card,
        .sh-card,
        .rsvp-box {
            transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease, border-color 0.45s ease;
        }

        .love-box:hover,
        .side-card:hover,
        .sh-card:hover,
        .rsvp-box:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-med);
            border-color: rgba(157, 120, 65, 0.42);
        }

        .h-btn,
        .btn-sub {
            background: linear-gradient(135deg, #7a5436 0%, #b98d4d 100%);
            color: #fffaf2;
            border: 1px solid rgba(255, 255, 255, 0.38);
            box-shadow: 0 18px 44px rgba(122, 84, 54, 0.28);
        }

        .h-btn:hover,
        .btn-sub:hover {
            background: linear-gradient(135deg, #67452c 0%, #a1783e 100%);
            color: #fffaf2;
            transform: translateY(-4px);
        }

        .h-btn-ghost,
        .g-show-more-btn,
        .mt,
        .g-tab {
            color: var(--ink-soft);
            background: rgba(255, 255, 255, 0.68);
        }

        .h-btn-ghost:hover,
        .g-show-more-btn:hover,
        .mt:hover,
        .g-tab:hover:not(.on) {
            color: var(--terracotta);
            border-color: var(--gold);
            background: rgba(255, 252, 246, 0.96);
            transform: translateY(-2px);
        }

        .ft-opt.active,
        .mt.on,
        .g-tab.on {
            background: linear-gradient(135deg, #6f4b31, #a47a3e);
            color: #fffaf2;
            box-shadow: 0 12px 30px rgba(111, 75, 49, 0.22);
        }

        .s-sub,
        .p-bio,
        .sc-adr,
        .tl-b span,
        .sh-pt-addr,
        .pu-s,
        .ok-msg p,
        .h-dsub,
        .h-quote,
        .w-ask,
        .w-btn-sub {
            color: var(--ink-light);
        }

        .s-kicker,
        .h-eyebrow,
        .tl-lbl,
        .sh-pts-lbl,
        .vib-ttl,
        .ft-date {
            color: #8a612f;
        }

        .p-photo-wrap,
        .g-cell,
        .map-frame,
        .vid-frame {
            box-shadow: var(--shadow-med);
        }

        .p-photo img,
        .g-cell img {
            transform: scale(1.01);
            transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease;
        }

        .h-bg img {
            transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease;
        }

        .p-photo-wrap:hover .p-photo img,
        .g-cell:hover img {
            transform: scale(1.07);
            filter: saturate(1.04) contrast(1.03);
        }

        .h-visual:hover .h-bg img {
            filter: saturate(1.04) contrast(1.03);
        }

        .h-visual-number {
            color: rgba(255, 250, 242, 0.42);
            animation: floatSoft 7s ease-in-out infinite;
            letter-spacing: 0;
        }

        .w-box,
        .h-cd,
        .love-section,
        .map-outer,
        .rsvp-box {
            animation: floatSoft 8s ease-in-out infinite;
        }

        @keyframes floatSoft {

            0%,
            100% {
                transform: translate3d(0, 0, 0);
            }

            50% {
                transform: translate3d(0, -8px, 0);
            }
        }

        .rv,
        .rv-l,
        .rv-r,
        .rv-s {
            transition: opacity 0.95s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.95s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.95s ease;
            filter: blur(8px);
        }

        .rv {
            transform: translateY(42px);
        }

        .rv-l {
            transform: translateX(-42px);
        }

        .rv-r {
            transform: translateX(42px);
        }

        .rv-s {
            transform: scale(0.94);
        }

        .rv.in,
        .rv-l.in,
        .rv-r.in,
        .rv-s.in {
            filter: blur(0);
        }

        .motion-ready {
            will-change: transform;
        }

        .vid-frame {
            background: linear-gradient(135deg, var(--champagne), var(--blush));
        }

        .vid-cover {
            background: linear-gradient(160deg, rgba(73, 53, 38, 0.62), rgba(157, 120, 65, 0.48));
        }

        footer {
            background:
                linear-gradient(180deg, rgba(244, 236, 223, 0.92), rgba(232, 215, 189, 0.82)),
                var(--ivory);
            color: var(--ink);
        }

        .ft-texture {
            background:
                linear-gradient(90deg, transparent, rgba(157, 120, 65, 0.13), transparent),
                radial-gradient(ellipse 70% 42% at 50% 0%, rgba(255, 255, 255, 0.58), transparent 62%);
        }

        .ft-names,
        .ft-quote {
            color: var(--ink);
        }

        .ft-quote {
            color: var(--ink-light);
        }

        .lb {
            background: rgba(54, 42, 34, 0.82);
        }

        :focus-visible {
            outline: 3px solid rgba(157, 120, 65, 0.5);
            outline-offset: 4px;
        }

        @media(max-width:768px) {
            #hero {
                grid-template-columns: 1fr;
                padding: 0 !important;
                background:
                    linear-gradient(180deg, rgba(239, 226, 203, 0.96), rgba(255, 250, 242, 0.98) 42%, var(--cream));
            }

            #hero::before {
                inset: 0;
                background: radial-gradient(420px 260px at 50% 8%, rgba(201, 169, 110, 0.16), transparent 70%);
            }

            section {
                padding: 4.5rem 1.1rem;
            }

            .h-visual {
                height: clamp(320px, 86vw, 430px);
                min-height: 320px;
                margin: 5.2rem 0 0;
                border-radius: 0;
            }

            .h-visual::before,
            .h-content::before,
            .h-names-wrap::before {
                display: none;
            }

            .h-bg img {
                object-position: center center;
            }

            .h-visual-overlay {
                background: linear-gradient(to bottom, transparent 52%, rgba(251, 247, 239, 0.96) 100%);
            }

            .h-visual-number {
                left: 50%;
                bottom: 1.25rem;
                font-size: clamp(4.6rem, 20vw, 7rem);
                transform: translateX(-50%);
                opacity: 0.62;
            }

            #nav {
                gap: 0.75rem;
                padding: 0.8rem 0.7rem;
                overflow-x: auto;
                justify-content: flex-start;
            }

            #nav a {
                flex: 0 0 auto;
                font-size: 0.56rem;
                letter-spacing: 0.08em;
            }

            .h-content {
                padding: 2.25rem 1.25rem 6.25rem;
                align-items: center;
                text-align: center;
            }

            .h-name-line {
                font-size: clamp(2.45rem, 12.5vw, 3.8rem);
                text-align: center;
                width: 100%;
            }

            .h-eyebrow {
                justify-content: center;
                width: 100%;
                gap: 0.75rem;
                letter-spacing: 0.12em;
                margin-bottom: 1.35rem;
            }

            .h-eyebrow::before,
            .h-eyebrow::after {
                content: '';
                display: block;
                width: 34px;
                height: 1px;
                background: var(--gold);
                flex: 0 0 34px;
            }

            .h-names-wrap {
                width: 100%;
                margin-bottom: 1.35rem;
            }

            .h-amp-wrap {
                justify-content: center;
                width: 100%;
                gap: 0.75rem;
                margin: 0.45rem 0 0.55rem;
            }

            .h-amp-wrap::before {
                content: '';
                display: block;
                width: clamp(52px, 19vw, 78px);
                height: 1px;
                background: linear-gradient(90deg, transparent, var(--gold));
            }

            .h-amp-line {
                flex: 0 1 clamp(52px, 19vw, 78px);
                max-width: none;
                background: linear-gradient(90deg, var(--gold), transparent);
            }

            .h-quote {
                max-width: 310px;
                margin-left: auto;
                margin-right: auto;
                padding: 0.95rem 0 0;
                border-left: 0;
                border-top: 1px solid var(--gold-light);
                text-align: center;
                line-height: 1.75;
            }

            .h-meta {
                align-items: center;
                width: 100%;
            }

            .h-actions {
                align-items: stretch;
                justify-content: center;
                width: 100%;
            }

            .h-btn,
            .h-btn-ghost {
                width: 100%;
                justify-content: center;
                padding-inline: 1.2rem;
                letter-spacing: 0.1em;
            }

            .h-cd-boxes {
                width: 100%;
                justify-content: space-between;
            }

            .cd-u {
                min-width: 0;
                flex: 1;
                padding: 0.75rem 0.4rem;
            }

            .cd-sep {
                display: none;
            }

            .s-head {
                padding-inline: 0;
                padding-bottom: 3rem;
            }

            .s-kicker {
                letter-spacing: 0.12em;
                gap: 8px;
            }

            .s-kicker::before,
            .s-kicker::after {
                width: 16px;
            }

            .s-title {
                font-size: clamp(2rem, 11vw, 3rem);
            }

            .fam-toggle {
                right: 1rem;
                bottom: 1rem;
                max-width: calc(100vw - 2rem);
            }
        }

        @media(max-width:430px) {

            .w-btns,
            .fp-grid,
            .att-grid {
                grid-template-columns: 1fr;
            }

            .w-btns {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                max-width: min(100%, 300px);
            }

            .w-btn {
                border-radius: 16px;
                gap: 0.45rem;
            }

            .w-btn-inner {
                gap: 0.35rem;
            }

            .w-btn-ico {
                font-size: 1.55rem;
            }

            .w-btn-title {
                font-size: 0.66rem;
                letter-spacing: 0.08em;
            }

            .w-btn-sub {
                font-size: 0.56rem;
            }

            .w-title {
                font-size: clamp(2.6rem, 18vw, 4rem);
            }

            .rsvp-box,
            .love-box {
                border-radius: var(--radius2);
                padding: 1.5rem 1rem;
            }

            .map-tabs {
                display: grid;
                grid-template-columns: 1fr;
            }
        }

        @media(prefers-reduced-motion: reduce) {

            *,
            *::before,
            *::after {
                animation-duration: 0.001ms !important;
                animation-iteration-count: 1 !important;
                scroll-behavior: auto !important;
                transition-duration: 0.001ms !important;
            }
        }
    

/* =========================================
   BRIGHT LUXURY EDITORIAL STYLE (2026)
   ========================================= */

/* 1. New Premium Color Palette */
:root {
    /* Backgrounds */
    --bg-pure: #FFFFFF;
    --bg-ivory: #FCFBF8;
    --bg-cream: #F8F6F2;
    
    /* Accents */
    --accent-champagne: #E8DCCB;
    --accent-blush: #F4EAE7;
    --accent-sage: #DDE7DF;
    
    /* Text */
    --text-black: #111111;
    --text-medium: #555555;
    --text-light: #888888;
    
    /* Glass & Shadows */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-soft: 0 40px 80px rgba(17, 17, 17, 0.05);
    
    /* Overriding old variables gently */
    --cream: var(--bg-cream);
    --gold: var(--accent-champagne);
    --ink: var(--text-black);
    --paper: var(--bg-ivory);
}

/* 2. Global Brightness & White Space */
body {
    background-color: var(--bg-ivory);
    color: var(--text-medium);
}

/* Let sections breathe with massive white space */
section {
    padding: 8rem 1.5rem !important;
    background-color: transparent !important;
}

/* 3. Typography Refinements (Keeping existing font families, adjusting weights/colors) */
h1, h2, h3, .s-title, .w-title {
    color: var(--text-black);
    font-weight: 400 !important;
    letter-spacing: 0.5px;
}

.s-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem) !important;
    margin-bottom: 2rem !important;
}

/* 4. Luxury Cards & Soft Glassmorphism */
.love-box, .side-card, .sh-card, .rsvp-box, .cd-u {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--shadow-soft) !important;
    border-radius: 12px !important; /* Elegant subtle rounding */
    padding: 3rem 2rem !important;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease;
}

/* Gentle Hover Zoom on Glass Cards */
.love-box:hover, .side-card:hover, .sh-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 50px 100px rgba(17, 17, 17, 0.08) !important;
}

/* 5. Image Treatments (Fashion Magazine Aesthetic) */
.p-photo-wrap, .gallery-wrap img {
    border-radius: 4px !important; /* Sharp, editorial corners */
    filter: brightness(1.05) contrast(0.95) saturate(0.9); /* Soft vintage/film look */
    transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-wrap {
    overflow: hidden;
}

.gallery-wrap img:hover {
    transform: scale(1.05); /* Gentle hover zoom */
}

/* 6. Form & Buttons Modernization */
.rf-input, .rf-sel {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--accent-champagne) !important;
    border-radius: 0 !important;
    padding: 1rem 0.5rem !important;
    color: var(--text-black) !important;
    box-shadow: none !important;
}

.rf-input:focus, .rf-sel:focus {
    border-bottom: 2px solid var(--text-black) !important;
    outline: none !important;
}

.w-btn, .h-btn, .rf-btn {
    background: var(--text-black) !important;
    color: var(--bg-pure) !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 1.2rem 2.5rem !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 2px !important;
    font-size: 0.8rem !important;
    transition: all 0.4s ease !important;
}

.w-btn:not(.w-btn-locked):hover, .h-btn:hover, .rf-btn:hover {
    background: var(--accent-champagne) !important;
    color: var(--text-black) !important;
    transform: translateY(-2px);
}

/* 7. Floating Lights & Ambient Background */
/* Repurposing the orbs into soft glowing blush/sage lights */
.w-orb-1 {
    background: radial-gradient(circle, var(--accent-blush) 0%, transparent 70%) !important;
    opacity: 0.4 !important;
    filter: blur(80px) !important;
}
.w-orb-2 {
    background: radial-gradient(circle, var(--accent-sage) 0%, transparent 70%) !important;
    opacity: 0.3 !important;
    filter: blur(80px) !important;
}

/* 8. Enhanced Reveal Animations (Fade Up) */
.rv, .rv-l, .rv-r, .rv-s {
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

/* 9. Mobile Polish */
@media (max-width: 768px) {
    section {
        padding: 5rem 1.2rem !important;
    }
    .s-title {
        font-size: 2.2rem !important;
    }
    .love-box, .side-card, .sh-card, .rsvp-box {
        padding: 2.5rem 1.5rem !important;
    }
}

/* =========================================
   FIXES: FULL HERO & REMOVE BLACK BG
   ========================================= */

/* 1. Fix Hero section to be FULL screen without white borders */
#hero {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    min-height: 100vh !important;
    border-radius: 0 !important;
}

/* Ensure the image fills the space completely on Desktop */
@media (min-width: 769px) {
    #hero {
        display: flex !important;
        flex-direction: row !important;
    }
    .h-visual {
        flex: 1 1 50% !important;
        height: 100vh !important;
        position: relative !important;
    }
    .h-content {
        flex: 1 1 50% !important;
        height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 0 5% !important;
        background: var(--bg-ivory) !important;
    }
}

/* Make image fill space on Mobile */
@media (max-width: 768px) {
    #hero {
        display: flex !important;
        flex-direction: column !important;
        height: 100vh !important;
    }
    .h-visual {
        flex: 1 1 60% !important;
        width: 100% !important;
        height: 60vh !important;
        position: relative !important;
    }
    .h-content {
        flex: 1 1 40% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        background: var(--bg-ivory) !important;
        padding: 2rem !important;
    }
}

/* 2. Remove all unwanted Black Backgrounds */
.w-btn, .h-btn, .rf-btn {
    background: var(--accent-champagne) !important; /* Soft gold/champagne instead of black */
    color: var(--text-black) !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
}

.w-btn:hover, .h-btn:hover, .rf-btn:hover {
    background: #dfd1bd !important;
}

/* Target the wrapper that turned black */
.fam-toggle-wrap, #nav, footer, .bottom-bar {
    background: rgba(255, 255, 255, 0.9) !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
}

/* If the body or html had a black background somehow */
html, body {
    background: var(--bg-ivory) !important;
}

/* Fix any container that might be causing the black box at bottom */
* {
    /* Prevent black background leaking from wild selectors */
}

/* Ensure the toggle itself is bright */
.fam-toggle {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}

.ft-opt.active {
    background: var(--accent-champagne) !important;
    color: var(--text-black) !important;
}

/* =========================================
   FIXES 2: PADDING, BORDERS & BUTTON BALANCE
   ========================================= */

/* 1. Reduce excessive white space in sections */
section {
    padding: 3rem 1.2rem !important;
}
@media (min-width: 768px) {
    section {
        padding: 4rem 2rem !important;
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* 2. Fix Card Padding and Header Borders (Tiệc cưới & Shuttle) */
.love-box, .side-card, .sh-card, .rsvp-box {
    padding: 2rem !important; /* Reset to 2rem so negative margins work properly */
}

/* Re-stretch the card banners to the edges */
.sc-banner, .sh-banner {
    margin: -2rem -2rem 2rem -2rem !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 2rem !important; /* Ensure content inside the banner breathes */
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Make countdown boxes smaller and elegant */
.cd-u {
    padding: 1.5rem 1rem !important;
    min-width: 80px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
}

.h-cd-boxes {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

/* 3. Button Balance (Bản đồ nhà gái / trai) */
.mt-wrap {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.mt {
    background: transparent !important;
    border: 1px solid var(--accent-champagne) !important;
    color: var(--text-medium) !important;
    padding: 1rem 2rem !important;
    border-radius: 100px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    margin: 0 !important; /* Reset old margins if any */
}

.mt.on {
    background: var(--accent-champagne) !important;
    color: var(--text-black) !important;
    border: 1px solid var(--accent-champagne) !important;
    box-shadow: 0 4px 12px rgba(232, 220, 203, 0.4) !important;
}

.mt:hover {
    background: var(--accent-blush) !important;
}

/* =========================================
   FIXES 3: BUTTON SYNC, HERO RATIO, WELCOME BORDER
   ========================================= */

/* 1. Hero Desktop Ratio (Image 65%, Text 35%) */
@media (min-width: 769px) {
    .h-visual {
        flex: 1 1 65% !important;
    }
    .h-content {
        flex: 1 1 35% !important;
        padding: 0 4% !important;
    }
}

/* 2. Hero Buttons Synchronization & Size */
.h-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}
@media (min-width: 768px) {
    .h-actions {
        flex-direction: row;
    }
}

.h-btn, .h-btn-ghost {
    padding: 0 2rem !important;
    border-radius: 100px !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    height: 54px !important; /* Uniform height */
    transition: all 0.3s ease !important;
    margin: 0 !important;
}

.h-btn {
    background: var(--text-black) !important;
    color: var(--bg-pure) !important;
    border: 1px solid var(--text-black) !important;
}
.h-btn:hover {
    background: var(--text-medium) !important;
    border-color: var(--text-medium) !important;
    color: var(--bg-pure) !important;
}

.h-btn-ghost {
    background: transparent !important;
    color: var(--text-black) !important;
    border: 1px solid var(--text-black) !important;
}
.h-btn-ghost:hover {
    background: rgba(0,0,0,0.05) !important;
}

/* 3. Map Button Toggle (Clear selected state) */
.mt {
    background: transparent !important;
    color: var(--text-medium) !important;
    border: 1px solid rgba(0,0,0,0.2) !important;
    border-radius: 100px !important;
    padding: 0 2rem !important;
    height: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}
.mt.on {
    background: var(--text-black) !important;
    color: var(--bg-pure) !important;
    border: 1px solid var(--text-black) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
    transform: translateY(-2px);
}
.mt:hover:not(.on) {
    background: rgba(0,0,0,0.05) !important;
}

/* 4. Welcome Page Buttons (More border and rounding) */
.w-btn {
    border: 1px solid var(--accent-champagne) !important;
    border-radius: 40px !important; /* High border radius */
    background: var(--glass-bg) !important;
    padding: 1.5rem !important;
    margin-bottom: 1rem !important;
}
.w-btn-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.w-btn:not(.w-btn-locked):hover {
    border-color: var(--text-black) !important;
}

/* =========================================
   FIXES 4: SHUTTLE LAYOUT, SMALLER BUTTONS, NO BLACK BG
   ========================================= */

:root {
    /* Define a beautiful elegant taupe/gold instead of harsh black */
    --elegant-taupe: #C5A880;
    --elegant-taupe-hover: #b0936c;
}

/* 1. Shuttle Grid - 2 columns, center the odd one */
.shuttle-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
    justify-content: center !important;
    align-items: flex-start !important;
}

.shuttle-grid > * {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

@media (min-width: 768px) {
    .shuttle-grid > * {
        flex: 0 0 calc(50% - 1rem) !important;
        width: calc(50% - 1rem) !important;
    }
}

/* 2. Smaller Buttons (Welcome & Hero) */

/* Hero Buttons */
.h-btn, .h-btn-ghost {
    padding: 0 1.5rem !important; /* Smaller padding */
    height: 44px !important;      /* Smaller height */
    font-size: 0.75rem !important;
    letter-spacing: 1px !important;
    border-radius: 100px !important;
}

/* Welcome Buttons */
.w-btn {
    padding: 1rem 1.5rem !important; /* Smaller padding */
    border-radius: 100px !important; 
    margin-bottom: 0.8rem !important;
    max-width: 300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.w-btn-inner {
    flex-direction: row !important; /* Put icon and text on same line if not already */
    gap: 10px;
    justify-content: center;
}
.w-btn-ico {
    margin-bottom: 0 !important;
    font-size: 1.2rem !important;
}

/* 3. NO BLACK BACKGROUNDS ANYWHERE */

/* Hero Buttons Colors */
.h-btn {
    background: var(--elegant-taupe) !important;
    color: #ffffff !important;
    border: 1px solid var(--elegant-taupe) !important;
}
.h-btn:hover {
    background: var(--elegant-taupe-hover) !important;
    border-color: var(--elegant-taupe-hover) !important;
    color: #ffffff !important;
}
.h-btn-ghost {
    background: transparent !important;
    color: var(--elegant-taupe) !important;
    border: 1px solid var(--elegant-taupe) !important;
}
.h-btn-ghost:hover {
    background: rgba(197, 168, 128, 0.1) !important; /* Soft taupe hover */
}

/* Map Toggle Buttons Colors */
.mt {
    height: 44px !important; /* Match hero height */
    padding: 0 1.5rem !important;
    font-size: 0.85rem !important;
}
.mt.on {
    background: var(--elegant-taupe) !important;
    color: #ffffff !important;
    border: 1px solid var(--elegant-taupe) !important;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3) !important;
}

/* Replace any remaining black background overrides */
.w-btn:not(.w-btn-locked):hover, .rf-btn:hover {
    background: var(--elegant-taupe) !important;
    border-color: var(--elegant-taupe) !important;
    color: #ffffff !important;
}

.rf-btn {
    background: var(--elegant-taupe) !important;
    color: #ffffff !important;
    border: none !important;
}

/* =========================================
   FIXES 5: WELCOME BUTTONS & SHUTTLE GRID (PROPER 2-COLUMN)
   ========================================= */

/* 1. Welcome Buttons (Square, Separate lines, Gap) */
.w-btns {
    display: flex !important;
    gap: 1.5rem !important; /* "không dính lại" */
    justify-content: center !important;
}
.w-btn {
    border-radius: 12px !important; /* "vuông vuông hơn đi" */
    padding: 1.5rem 1rem !important;
    margin: 0 !important;
    flex: 1;
    max-width: 160px !important;
}
.w-btn-inner {
    flex-direction: column !important; /* Stack vertically */
    gap: 0.5rem !important;
    text-align: center !important;
}
.w-btn-ico {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
}
.w-btn-title {
    display: block !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
}
.w-btn-sub {
    display: block !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    white-space: pre-line !important; /* To respect the <br> we will inject via JS */
}

/* 2. Shuttle Grid (Foolproof CSS Grid for exactly 2 columns) */
.shuttle-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
}

@media (min-width: 768px) {
    .shuttle-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .shuttle-grid .sh-card:last-child:nth-child(odd) {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
        width: calc(50% - 1rem) !important;
    }
}

/* Ensure the cards stretch correctly inside the grid cells */
.shuttle-grid > * {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    flex: none !important;
}

/* =========================================
   FIXES 6: WELCOME SIZES, SHUTTLE CARDS EQUAL HEIGHT, GALLERY STAGGERED
   ========================================= */

/* 1. Welcome Button Sizes (Smaller) */
.w-btn {
    padding: 0.8rem !important; /* Reduced padding */
    max-width: 140px !important; /* Reduced max-width */
}
.w-btn-ico {
    font-size: 1.2rem !important; /* Reduced from 1.5rem */
}
.w-btn-title {
    font-size: 0.95rem !important; /* Reduced from 1.1rem */
}
.w-btn-sub {
    font-size: 0.75rem !important; /* Reduced from 0.85rem */
}

/* 2. Shuttle Grid - Equal Heights & Header Adjustments */
.shuttle-grid {
    align-items: stretch !important; /* Force equal height for all cards in a row */
}
.sh-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important; /* Stretch card to fill grid cell height */
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
    border-radius: 16px !important; /* Mềm mại hơn */
}
.sh-body {
    flex: 1 !important; /* Push everything else so they match */
    padding: 1.2rem 1.2rem !important; /* Tighter body padding */
}
.sh-head {
    padding: 0.8rem 1.2rem !important; /* "đừng có padding" -> drastically reduce padding */
    border-radius: 16px 16px 0 0 !important;
}

/* 3. Khoảnh khắc đẹp (Gallery) - Mềm mại hơn (Staggered Layout) */
.g-cell {
    border-radius: 16px !important; /* Mềm mại hơn, bo góc tròn hơn */
    border: none !important; /* Bỏ viền cứng nhắc */
    box-shadow: 0 6px 20px rgba(0,0,0,0.06) !important;
}

@media (min-width: 501px) {
    .g-grid {
        align-items: start !important;
        padding-bottom: 2.5rem !important; /* Make room for the staggered column */
    }
    .g-cell:nth-child(3n + 2) {
        margin-top: 2.5rem !important; /* Stagger the middle column downwards */
    }
}
@media (max-width: 500px) {
    .g-grid {
        align-items: start !important;
        padding-bottom: 1.5rem !important;
    }
    .g-cell:nth-child(even) {
        margin-top: 1.5rem !important; /* Stagger alternating columns on mobile */
    }
}

/* =========================================
   FIXES 7: WELCOME TYPE + SHUTTLE HEADER WIDTH
   ========================================= */

#welcome .w-btn {
    padding: 0.72rem 0.65rem !important;
    max-width: 140px !important;
    min-height: 128px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    border-color: rgba(190, 145, 105, 0.38) !important;
    box-shadow: 0 10px 26px rgba(176, 106, 82, 0.08) !important;
}

#welcome .w-btn-inner {
    gap: 0.36rem !important;
}

#welcome .w-btn-ico {
    font-size: 1.05rem !important;
    margin-bottom: 0.25rem !important;
}

#welcome .w-btn-title {
    font-family: var(--font-display) !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1.05 !important;
    color: #4b332b !important;
    text-transform: none !important;
}

#welcome .w-btn-sub {
    font-family: var(--font-body) !important;
    font-size: 0.68rem !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    letter-spacing: 0.025em !important;
    color: #725d50 !important;
    text-transform: capitalize !important;
}

#welcome .w-flourish-line {
    background: linear-gradient(90deg, transparent, rgba(190, 145, 105, 0.58)) !important;
}

#welcome .w-flourish-line:last-child {
    background: linear-gradient(90deg, rgba(190, 145, 105, 0.58), transparent) !important;
}

#welcome .w-flourish-diamond {
    background: rgba(201, 169, 110, 0.72) !important;
}

#welcome .w-eyebrow,
#welcome .w-ask {
    color: #746257 !important;
}

#welcome .w-ask {
    font-family: var(--font-display) !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #5f4b42 !important;
}

#welcome .w-subtitle {
    color: rgba(201, 169, 110, 0.72) !important;
}

#shuttle .sh-card {
    padding: 0 !important;
    overflow: hidden !important;
}

#shuttle .sh-head {
    width: 100% !important;
    margin: 0 !important;
    padding: 0.85rem 1.2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
}

#shuttle .sh-head > span {
    flex: 0 0 auto !important;
}

#shuttle .sh-head > div {
    min-width: 0 !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    text-align: right !important;
}

#shuttle .sh-plate {
    width: 100% !important;
    text-align: right !important;
    line-height: 1.15 !important;
}

#shuttle .sh-cap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 7.4rem !important;
    text-align: center !important;
}

@media (max-width: 420px) {
    #welcome .w-btn {
        max-width: none !important;
        min-height: 116px !important;
    }

    #welcome .w-btn-title {
        font-size: 1.14rem !important;
    }

    #welcome .w-btn-sub {
        font-size: 0.63rem !important;
    }
}

/* =========================================
   FIXES 8: 2026 EDITORIAL HERO
   ========================================= */

#hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 18% 12%, rgba(232, 207, 196, 0.28), transparent 30%),
        linear-gradient(135deg, #fbf8f2 0%, #f0e7d7 100%) !important;
}

#heroMusicBtn {
    top: 1rem !important;
    right: 1rem !important;
}

.h-content {
    position: relative !important;
}

.h-eyebrow {
    color: #9a7358 !important;
}

.h-date {
    color: #2c2520 !important;
}

@media (min-width: 769px) {
    #hero {
        display: grid !important;
        grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr) !important;
        min-height: 100svh !important;
        height: auto !important;
        padding: clamp(1rem, 2vw, 1.6rem) !important;
        gap: clamp(1rem, 2vw, 1.6rem) !important;
    }

    .h-visual {
        height: auto !important;
        min-height: calc(100svh - clamp(2rem, 4vw, 3.2rem)) !important;
        border-radius: 28px !important;
        overflow: hidden !important;
        box-shadow: 0 24px 80px rgba(42, 36, 32, 0.16) !important;
    }

    .h-bg-desk img {
        object-fit: cover !important;
        object-position: center !important;
        background: transparent !important;
    }

    .h-visual-overlay {
        background:
            linear-gradient(90deg, transparent 56%, rgba(250, 247, 242, 0.22)),
            linear-gradient(0deg, rgba(42, 36, 32, 0.1), transparent 38%) !important;
    }

    .h-content {
        height: auto !important;
        min-height: calc(100svh - clamp(2rem, 4vw, 3.2rem)) !important;
        padding: clamp(2rem, 5vw, 5rem) clamp(1.7rem, 4vw, 4rem) !important;
        justify-content: center !important;
        align-items: flex-start !important;
        text-align: left !important;
        border-radius: 28px !important;
        background: rgba(255, 252, 247, 0.76) !important;
        border: 1px solid rgba(201, 169, 110, 0.18) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
        backdrop-filter: blur(18px) !important;
    }
}

@media (max-width: 768px) {
    #hero {
        display: grid !important;
        grid-template-rows: minmax(0, 1fr) auto !important;
        min-height: 100svh !important;
        height: auto !important;
        padding: 0 !important;
    }

    #nav {
        left: 50% !important;
        right: auto !important;
        top: 0.7rem !important;
        width: calc(100% - 1rem) !important;
        transform: translateX(-50%) !important;
        border-radius: 999px !important;
        padding: 0.72rem 0.8rem !important;
        background: rgba(255, 255, 255, 0.74) !important;
        border: 1px solid rgba(201, 169, 110, 0.18) !important;
        box-shadow: 0 12px 36px rgba(42, 36, 32, 0.08) !important;
        backdrop-filter: blur(18px) !important;
        gap: 0.85rem !important;
    }

    #nav a {
        font-size: 0.52rem !important;
        letter-spacing: 0.055em !important;
        white-space: nowrap !important;
    }

    .h-visual {
        grid-row: 1 / 3 !important;
        height: 100svh !important;
        min-height: 720px !important;
        margin: 0 !important;
        border-radius: 0 !important;
        position: relative !important;
    }

    .h-bg,
    .h-bg-desk {
        display: block !important;
    }

    .h-bg-desk {
        display: none !important;
    }

    .h-bg img {
        object-fit: cover !important;
        object-position: center 19% !important;
    }

    .h-visual-overlay {
        background:
            linear-gradient(180deg, rgba(42, 36, 32, 0.08) 0%, rgba(42, 36, 32, 0.02) 34%, rgba(250, 247, 242, 0.24) 51%, rgba(250, 247, 242, 0.96) 70%, #fbf8f2 100%) !important;
    }

    .h-content {
        grid-row: 2 !important;
        align-self: end !important;
        width: calc(100% - 1.2rem) !important;
        margin: 0.6rem auto 0.8rem !important;
        padding: 1.15rem 1rem 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        text-align: center !important;
        border-radius: 26px !important;
        background: rgba(255, 252, 247, 0.78) !important;
        border: 1px solid rgba(201, 169, 110, 0.2) !important;
        box-shadow: 0 24px 64px rgba(78, 58, 46, 0.15) !important;
        backdrop-filter: blur(20px) saturate(1.08) !important;
    }

    #heroMusicBtn {
        position: static !important;
        order: -2 !important;
        display: block;
        margin: 0 0 0.8rem !important;
    }

    #hMusicToggle {
        height: 34px !important;
        padding: 0 0.9rem !important;
        background: rgba(255, 255, 255, 0.58) !important;
    }

    .h-eyebrow {
        justify-content: center !important;
        width: 100% !important;
        margin-bottom: 0.85rem !important;
        font-size: 0.5rem !important;
        letter-spacing: 0.18em !important;
    }

    .h-eyebrow::before,
    .h-eyebrow::after {
        content: '' !important;
        display: block !important;
        width: clamp(38px, 14vw, 58px) !important;
        height: 1px !important;
        background: rgba(201, 169, 110, 0.58) !important;
        flex: 0 0 auto !important;
    }

    .h-names-wrap {
        width: 100% !important;
        margin-bottom: 0.8rem !important;
    }

    .h-name-line {
        font-size: clamp(2.65rem, 13.4vw, 3.7rem) !important;
        line-height: 0.94 !important;
        text-align: center !important;
    }

    .h-amp-wrap {
        justify-content: center !important;
        width: 100% !important;
        gap: 0.7rem !important;
        margin: 0.2rem 0 0.3rem !important;
    }

    .h-amp-wrap::before {
        content: '' !important;
        display: block !important;
        width: clamp(52px, 18vw, 76px) !important;
        height: 1px !important;
        background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.62)) !important;
    }

    .h-amp-line {
        flex: 0 0 clamp(52px, 18vw, 76px) !important;
        max-width: none !important;
        background: linear-gradient(90deg, rgba(201, 169, 110, 0.62), transparent) !important;
    }

    .h-amp {
        font-size: 1.45rem !important;
        color: rgba(201, 169, 110, 0.78) !important;
    }

    .h-quote {
        max-width: 300px !important;
        margin: 0 auto 1.05rem !important;
        padding: 0 !important;
        border: 0 !important;
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
        color: #6f5d53 !important;
    }

    .h-meta {
        width: 100% !important;
        align-items: center !important;
        gap: 0.18rem !important;
        margin-bottom: 1rem !important;
    }

    .h-date {
        font-size: 0.76rem !important;
        letter-spacing: 0.16em !important;
    }

    .h-dsub {
        font-size: 0.62rem !important;
        letter-spacing: 0.07em !important;
    }

    .h-actions {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.55rem !important;
        margin-top: 0 !important;
    }

    .h-btn,
    .h-btn-ghost {
        width: 100% !important;
        min-width: 0 !important;
        height: 42px !important;
        padding: 0 0.5rem !important;
        font-size: 0.58rem !important;
        letter-spacing: 0.055em !important;
        border-radius: 999px !important;
        white-space: normal !important;
        line-height: 1.15 !important;
    }

    .h-cd {
        display: none !important;
    }
}

/* =========================================
   FIXES 9: MOBILE ONLY HERO, RSVP AND MAP
   ========================================= */

@media (max-width: 768px) {
    #hero {
        display: flex !important;
        flex-direction: column !important;
        min-height: auto !important;
        height: auto !important;
        background: #fbf8f2 !important;
        overflow: visible !important;
    }

    #nav {
        width: calc(100% - 1.25rem) !important;
        max-width: 520px !important;
    }

    .h-visual {
        display: block !important;
        flex: none !important;
        width: 100% !important;
        height: clamp(430px, 112vw, 560px) !important;
        min-height: 430px !important;
        margin: 0 !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .h-bg {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .h-bg-desk {
        display: none !important;
    }

    .h-bg img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
    }

    .h-visual-overlay {
        background: linear-gradient(180deg, rgba(42, 36, 32, 0.03) 0%, rgba(250, 247, 242, 0.08) 52%, #fbf8f2 96%) !important;
    }

    .h-content {
        flex: none !important;
        width: calc(100% - 1.25rem) !important;
        max-width: 520px !important;
        min-height: 0 !important;
        height: auto !important;
        margin: -4.25rem auto 1.1rem !important;
        padding: 1.05rem 0.95rem 1rem !important;
        position: relative !important;
        z-index: 5 !important;
        border-radius: 24px !important;
        background: rgba(255, 252, 247, 0.9) !important;
        border: 1px solid rgba(201, 169, 110, 0.2) !important;
        box-shadow: 0 18px 54px rgba(78, 58, 46, 0.14) !important;
        backdrop-filter: blur(18px) !important;
    }

    .h-name-line {
        font-size: clamp(2.55rem, 13vw, 3.55rem) !important;
    }

    .h-actions {
        grid-template-columns: 1fr 1fr !important;
    }

    #rsvp {
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
    }

    #rsvp .rsvp-box {
        width: 100% !important;
        max-width: none !important;
        padding: 1.35rem 0.85rem !important;
        border-radius: 20px !important;
    }

    #rsvp .fp-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.45rem !important;
        width: 100% !important;
    }

    #rsvp .fp {
        min-width: 0 !important;
        height: 42px !important;
        padding: 0 0.55rem !important;
        gap: 0.35rem !important;
        border-radius: 999px !important;
        justify-content: center !important;
    }

    #rsvp .fp-ico {
        font-size: 0.86rem !important;
    }

    #rsvp .fp-nm {
        flex: 0 1 auto !important;
        font-size: 0.62rem !important;
        letter-spacing: 0.04em !important;
        white-space: nowrap !important;
    }

    #rsvp .fp-ck {
        width: 12px !important;
        height: 12px !important;
        flex: 0 0 auto !important;
    }

    #info .map-outer {
        width: 100% !important;
        max-width: none !important;
        padding: 0 0.65rem !important;
    }

    #info .map-tabs {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.45rem !important;
        width: 100% !important;
        margin-bottom: 0.75rem !important;
    }

    #info .mt {
        position: relative !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 42px !important;
        padding: 0 0.45rem !important;
        border-radius: 999px !important;
        font-size: 0.55rem !important;
        letter-spacing: 0.045em !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        justify-content: center !important;
    }

    #info .mt.on {
        background: linear-gradient(135deg, #c9a96e, #b88963) !important;
        color: #fffdf8 !important;
        border-color: transparent !important;
        box-shadow: 0 10px 24px rgba(184, 137, 99, 0.26) !important;
        transform: none !important;
    }

    #info .mt.on::after {
        content: '✓' !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 16px !important;
        height: 16px !important;
        margin-left: 0.35rem !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.25) !important;
        font-size: 0.55rem !important;
        line-height: 1 !important;
    }

    #info .map-frame {
        border-radius: 16px !important;
    }

    #info .map-frame iframe {
        height: 260px !important;
    }
}

/* =========================================
   FIXES 10: RESTORE DESKTOP HERO
   ========================================= */

@media (min-width: 769px) {
    #hero {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100vh !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    .h-visual {
        flex: 1 1 65% !important;
        height: 100vh !important;
        min-height: 100vh !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .h-bg-desk img {
        object-fit: contain !important;
        object-position: center center !important;
        background: var(--champagne) !important;
    }

    .h-visual-overlay {
        background: linear-gradient(to right, transparent 70%, var(--cream)) !important;
    }

    .h-content {
        flex: 1 1 35% !important;
        height: 100vh !important;
        min-height: 100vh !important;
        padding: 0 4% !important;
        justify-content: center !important;
        align-items: flex-start !important;
        text-align: left !important;
        border-radius: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        background: var(--bg-ivory) !important;
    }
}

/* =========================================
   FIXES 11: MAP TOGGLE STATES + CLEAN MOBILE HERO
   ========================================= */

#info .map-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
}

#info .mt {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    border: 1px solid rgba(180, 155, 130, 0.38) !important;
    background: rgba(255, 255, 255, 0.72) !important;
    color: #7b675c !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

#info .mt.on {
    background: linear-gradient(135deg, #c9a96e, #b98c64) !important;
    border-color: transparent !important;
    color: #fffdf8 !important;
    box-shadow: 0 12px 28px rgba(184, 137, 99, 0.28) !important;
    transform: none !important;
}

#info .mt.on::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 768px) {
    #hero {
        background: #fbf8f2 !important;
    }

    .h-visual {
        height: min(62svh, 520px) !important;
        min-height: 430px !important;
    }

    .h-bg img {
        object-position: center 10% !important;
    }

    .h-visual-overlay {
        background: linear-gradient(180deg, rgba(42, 36, 32, 0.02) 0%, rgba(42, 36, 32, 0.03) 44%, rgba(251, 248, 242, 0.18) 70%, #fbf8f2 100%) !important;
    }

    .h-content {
        width: 100% !important;
        max-width: none !important;
        margin: -2.15rem 0 0 !important;
        padding: 1.35rem 1.25rem 1.55rem !important;
        border-radius: 30px 30px 0 0 !important;
        background: #fbf8f2 !important;
        border: 0 !important;
        box-shadow: 0 -18px 46px rgba(78, 58, 46, 0.08) !important;
        backdrop-filter: none !important;
    }

    #heroMusicBtn {
        margin-bottom: 0.95rem !important;
    }

    .h-eyebrow {
        margin-bottom: 0.8rem !important;
    }

    .h-names-wrap {
        margin-bottom: 0.7rem !important;
    }

    .h-name-line {
        font-size: clamp(2.75rem, 14vw, 3.85rem) !important;
    }

    .h-quote {
        margin-bottom: 0.95rem !important;
        color: #79675c !important;
    }

    .h-meta {
        width: auto !important;
        display: inline-flex !important;
        padding: 0.55rem 1rem !important;
        margin-bottom: 1rem !important;
        border-radius: 999px !important;
        background: rgba(232, 220, 200, 0.42) !important;
        border: 1px solid rgba(201, 169, 110, 0.18) !important;
    }

    .h-dsub {
        display: none !important;
    }

    .h-actions {
        max-width: 420px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #info .map-tabs {
        gap: 0.5rem !important;
    }

    #info .mt {
        height: 42px !important;
        padding: 0 0.55rem !important;
        font-size: 0.55rem !important;
        letter-spacing: 0.045em !important;
        white-space: nowrap !important;
    }
}

/* =========================================
   HERO MOBILE MODERN 2026
   ========================================= */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
    }
    #hero {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100svh !important;
        min-height: 100vh !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
    }

    #hero .h-visual {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
    }

    #hero .h-visual .h-bg img,
    #hero .h-visual .h-bg-desk img {
        object-fit: cover !important;
        object-position: center top !important;
    }

    #hero .h-visual-overlay {
        background: linear-gradient(
            to top,
            rgba(10, 8, 6, 0.92) 0%,
            rgba(10, 8, 6, 0.65) 35%,
            rgba(10, 8, 6, 0.2) 65%,
            transparent 100%
        ) !important;
    }

    #hero .h-content {
        position: absolute !important;
        inset: 0 !important;
        background: transparent !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        padding: 2rem 1.6rem 3rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        z-index: 3 !important;
    }

    /* Text colors on dark photo */
    #hero .h-eyebrow {
        color: rgba(230, 210, 170, 0.8) !important;
        font-size: 0.5rem !important;
        margin-bottom: 1rem !important;
    }
    #hero .h-eyebrow::before {
        background: rgba(230, 210, 170, 0.5) !important;
    }

    #hero .h-name-line {
        color: #ffffff !important;
        font-size: clamp(2.8rem, 12vw, 4rem) !important;
        line-height: 1 !important;
        text-shadow: 0 2px 20px rgba(0,0,0,0.4) !important;
    }
    #hero .h-name-line.italic {
        color: rgba(255, 245, 220, 0.9) !important;
    }
    #hero .h-amp {
        color: #e0c898 !important;
    }
    #hero .h-amp-line {
        background: linear-gradient(90deg, #e0c898, transparent) !important;
    }

    #hero .h-quote {
        color: rgba(240, 230, 210, 0.65) !important;
        border-left-color: rgba(224, 200, 152, 0.45) !important;
        font-size: 0.85rem !important;
        margin-bottom: 1.2rem !important;
    }

    #hero .h-meta {
        margin-bottom: 1.5rem !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        display: flex !important;
    }
    #hero .h-date {
        color: rgba(255, 255, 255, 0.95) !important;
        font-size: 0.78rem !important;
    }
    #hero .h-dsub {
        color: rgba(255, 255, 255, 0.5) !important;
        font-size: 0.6rem !important;
    }

    #hero .h-actions {
        gap: 0.7rem !important;
        margin-bottom: 0 !important;
    }
    #hero .h-btn {
        background: rgba(255, 255, 255, 0.95) !important;
        color: #2a2420 !important;
        font-size: 0.58rem !important;
        padding: 0.85rem 1.8rem !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.25) !important;
    }
    #hero .h-btn-ghost {
        border-color: rgba(255, 255, 255, 0.45) !important;
        color: rgba(255, 255, 255, 0.85) !important;
        font-size: 0.58rem !important;
        padding: 0.85rem 1.6rem !important;
    }

    /* Countdown on dark bg */
    #hero .h-cd {
        display: none !important;
    }

    /* Music button */
    #heroMusicBtn {
        position: fixed !important;
        top: 1rem !important;
        right: 1rem !important;
        z-index: 100 !important;
    }
    #heroMusicBtn button {
        background: rgba(10, 8, 6, 0.5) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
        color: rgba(255, 255, 255, 0.8) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
    }

    /* Names wrap tighter on mobile */
    #hero .h-names-wrap {
        margin-bottom: 1rem !important;
    }
}

/* =========================================
   MAP TABS: MÀU NHÀ TRAI vs NHÀ GÁI
   ========================================= */
/* ── Fam-toggle compact ── */
.fam-toggle .ft-opt {
    padding: 0.38rem 0.8rem !important;
    font-size: 0.46rem !important;
    gap: 0.3rem !important;
    height: auto !important;
}
.fam-toggle .ft-ico { font-size: 0.7rem !important; }

/* ── Map tabs: mirror fam-toggle ── */
#info .map-tabs {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    background: rgba(250, 247, 242, 0.9) !important;
    border: 1px solid rgba(180,155,130,0.35) !important;
    border-radius: 40px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 24px rgba(42,36,32,0.08) !important;
    width: fit-content !important;
    margin: 0 auto 1rem !important;
    padding: 0 !important;
}

#info .map-tabs .mt {
    height: auto !important;
    padding: 0.42rem 0.9rem !important;
    font-size: 0.67rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    gap: 0.33rem !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--ink-light) !important;
    white-space: nowrap !important;
    border: none !important;
    box-shadow: none !important;
}
#info .map-tabs .mt-ico { font-size: 0.72rem !important; }

/* Active state per side */
#info #mtg.on {
    background: linear-gradient(135deg, #7a5c3a, #c9a96e) !important;
    color: #fff !important;
    border-radius: 40px !important;
}
#info #mtb.on {
    background: linear-gradient(135deg, #8a3f56, #c97090) !important;
    color: #fff !important;
    border-radius: 40px !important;
}
