:root {
            --cream: #E8F2EB;
            --warm-white: #FFFFFF;
            --sage: #6B7F5A;
            --gold: #6B7F5A;
            --charcoal: #000000;
            --muted: #222222;
            --border: rgba(107, 127, 90, 0.3);
            --red-soft: #C0392B;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: var(--cream);
            font-family: 'Lato', sans-serif;
            color: var(--charcoal);
            overflow-x: hidden;
        }

        /* HERO */
        .hero {
            min-height: 100vh;
            background: var(--warm-white);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            overflow: hidden;
            padding: 60px 24px;
        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            background:
                radial-gradient(ellipse 60% 50% at 20% 20%, rgba(107, 127, 90, .10) 0%, transparent 70%),
                radial-gradient(ellipse 50% 60% at 80% 80%, rgba(107, 127, 90, .07) 0%, transparent 70%);
        }

        .hero-ornament {
            font-family: 'Cormorant Garamond', serif;
            font-size: 13px;
            letter-spacing: .3em;
            text-transform: uppercase;
            color: #000000;
            margin-bottom: 28px;
            animation: fadeUp 1s ease both;
        }

        .hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(52px, 10vw, 100px);
            font-weight: 400;
            line-height: 1.05;
            color: #000000;
            animation: fadeUp 1s ease .2s both;
        }

        .hero h1 em {
            font-style: italic;
            color: #7A9068;
        }

        .hero-ampersand {
            font-family: 'Playfair Display', serif;
            font-size: clamp(40px, 7vw, 72px);
            font-style: italic;
            color: #7A9068;
            display: block;
            line-height: 1;
            animation: fadeUp 1s ease .35s both;
        }

        .hero-date {
            margin-top: 32px;
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(16px, 3vw, 22px);
            font-weight: 300;
            letter-spacing: .15em;
            color: var(--muted);
            animation: fadeUp 1s ease .5s both;
        }

        .hero-divider {
            width: 80px;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--gold), transparent);
            margin: 28px auto;
            animation: fadeUp 1s ease .65s both;
        }

        .hero-cta {
            margin-top: 20px;
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: 19px;
            color: var(--muted);
            animation: fadeUp 1s ease .8s both;
        }

        .scroll-hint {
            position: absolute;
            bottom: 32px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            color: var(--muted);
            font-size: 11px;
            letter-spacing: .2em;
            text-transform: uppercase;
            animation: fadeUp 1s ease 1.1s both;
        }

        .scroll-hint::after {
            content: '';
            width: 1px;
            height: 40px;
            background: linear-gradient(180deg, var(--gold), transparent);
            animation: scrollLine 2s ease-in-out infinite;
        }

        /* COUNTDOWN */
        .countdown-section {
            background: #6B7F5A;
            padding: 56px 24px;
            text-align: center;
        }

        .countdown-label {
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: 20px;
            color: #ffffff;
            margin-bottom: 28px;
        }

        .countdown-grid {
            display: flex;
            gap: 24px;
            justify-content: center;
            flex-wrap: wrap;
            align-items: flex-start;
        }

        .countdown-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
        }

        .countdown-number {
            font-family: 'Playfair Display', serif;
            font-size: clamp(36px, 8vw, 64px);
            color: #ffffff;
            line-height: 1;
            min-width: 80px;
            text-align: center;
        }

        .countdown-sep {
            font-family: 'Playfair Display', serif;
            font-size: clamp(36px, 8vw, 64px);
            color: #ffffff;
            line-height: 1;
        }

        .countdown-unit {
            font-size: 10px;
            letter-spacing: .25em;
            text-transform: uppercase;
            color: #ffffff;
        }

        /* GIFTS */
        .gifts-section {
            padding: 80px 24px;
            max-width: 900px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 56px;
        }

        .section-eyebrow {
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: 18px;
            color: #000000;
            margin-bottom: 12px;
        }

        .section-title {
            font-family: 'Playfair Display', serif;
            font-size: clamp(28px, 5vw, 44px);
            font-weight: 400;
            color: #000000;
            margin-bottom: 16px;
        }

        .section-sub {
            font-family: 'Cormorant Garamond', serif;
            font-size: 17px;
            font-weight: 300;
            color: #000000;
            max-width: 460px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .floral {
            text-align: center;
            font-size: 28px;
            color: #6B7F5A;
            opacity: 1;
            margin: 8px 0 32px;
            letter-spacing: .2em;
        }

        .gifts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 16px;
        }

        .gift-card {
            background: var(--warm-white);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 20px 16px 18px;
            text-align: center;
            cursor: pointer;
            transition: all .3s ease;
            position: relative;
            overflow: hidden;
            user-select: none;
        }

        .gift-card:focus-visible {
            outline: 2px solid var(--sage);
            outline-offset: 2px;
        }

        .gift-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(107, 127, 90, .06), rgba(107, 127, 90, .08));
            opacity: 0;
            transition: opacity .3s;
        }

        .gift-card:hover:not(.taken) {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(107, 127, 90, .15);
        }

        .gift-card:hover:not(.taken)::before {
            opacity: 1;
        }

        /* Taken */
        .gift-card.taken {
            cursor: not-allowed;
            opacity: .85;
            border-color: rgba(192, 57, 43, .25);
            background: #FDF5F4;
        }

        .taken-badge {
            position: absolute;
            top: 10px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
        }

        .taken-badge span {
            background: #C0392B;
            color: #fff;
            font-size: 10px;
            letter-spacing: .12em;
            text-transform: uppercase;
            padding: 3px 10px;
            border-radius: 100px;
        }

        .gift-who {
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: 14px;
            color: #C0392B;
            margin-top: 6px;
        }

        /* Chosen */
        .gift-card.chosen {
            border-color: var(--sage);
            background: #D4EAD9;
        }

        .gift-check {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 22px;
            height: 22px;
            background: var(--sage);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: scale(0);
            transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
        }

        .gift-card.chosen .gift-check {
            opacity: 1;
            transform: scale(1);
        }

        .gift-check svg {
            width: 12px;
            height: 12px;
            stroke: white;
            stroke-width: 2.5;
            fill: none;
        }

        .gift-img {
            width: 100%;
            height: 140px;
            object-fit: cover;
            border-radius: 10px;
            margin-bottom: 14px;
            display: block;
            transition: transform .3s;
        }

        .gift-img--placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            background: rgba(107, 127, 90, 0.08);
            object-fit: none;
        }

        .gift-card.taken .gift-img {
            filter: grayscale(.55);
        }

        .gift-card.chosen .gift-img {
            transform: scale(1.03);
        }

        .gift-name {
            font-family: 'Playfair Display', serif;
            font-size: 17px;
            font-weight: 400;
            color: var(--charcoal);
            margin-bottom: 4px;
            line-height: 1.35;
        }

        .gift-status {
            font-size: 12px;
            letter-spacing: .1em;
            color: var(--sage);
            font-weight: 400;
            min-height: 18px;
            opacity: 0;
            transition: opacity .3s;
        }

        .gift-card.chosen .gift-status {
            opacity: 1;
        }

        .loading-bar {
            text-align: center;
            padding: 40px;
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: 18px;
            color: var(--muted);
            grid-column: 1/-1;
        }

        /* CONFIRM PANEL */
        .confirm-panel {
            margin-top: 48px;
            background: var(--warm-white);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 36px 32px;
            text-align: center;
            display: none;
        }

        .confirm-panel.visible {
            display: block;
            animation: fadeUp .5s ease both;
        }

        .confirm-title {
            font-family: 'Playfair Display', serif;
            font-size: 24px;
            font-weight: 400;
            color: var(--charcoal);
            margin-bottom: 8px;
        }

        .confirm-sub {
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: 17px;
            color: var(--muted);
            margin-bottom: 24px;
        }

        .selected-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            justify-content: center;
            margin-bottom: 28px;
        }

        .selected-tag {
            background: var(--cream);
            border: 1px solid var(--border);
            border-radius: 100px;
            padding: 6px 16px;
            font-family: 'Cormorant Garamond', serif;
            font-size: 16px;
            color: var(--charcoal);
        }

        .selected-tag--empty {
            font-style: italic;
            color: var(--muted);
        }

        .confirm-btn {
            background: #6B7F5A;
            color: #ffffff;
            border: none;
            border-radius: 100px;
            padding: 14px 40px;
            font-family: 'Lato', sans-serif;
            font-size: 13px;
            letter-spacing: .2em;
            text-transform: uppercase;
            cursor: pointer;
            transition: all .25s;
        }

        .confirm-btn:hover {
            background: #5A6E4A;
        }

        /* NAME MODAL */
        .name-overlay {
            position: fixed;
            inset: 0;
            background: rgba(107, 127, 90, .82);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 990;
            opacity: 0;
            pointer-events: none;
            transition: opacity .3s;
            padding: 24px;
        }

        .name-overlay.show {
            opacity: 1;
            pointer-events: all;
        }

        .name-box {
            position: relative;
            background: var(--warm-white);
            border-radius: 24px;
            padding: 48px 36px;
            max-width: 420px;
            width: 100%;
            text-align: center;
            transform: translateY(30px) scale(.95);
            transition: transform .4s cubic-bezier(.34, 1.3, .64, 1);
        }

        .name-close-btn {
            position: absolute;
            top: 14px;
            right: 16px;
            border: none;
            background: transparent;
            color: var(--muted);
            font-size: 28px;
            line-height: 1;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 8px;
            transition: color .2s, background .2s;
        }

        .name-close-btn:hover {
            color: var(--charcoal);
            background: var(--cream);
        }

        .name-overlay.show .name-box {
            transform: translateY(0) scale(1);
        }

        .name-emoji {
            font-size: 38px;
            margin-bottom: 16px;
        }

        .name-title {
            font-family: 'Playfair Display', serif;
            font-size: 26px;
            font-style: italic;
            color: var(--charcoal);
            margin-bottom: 8px;
        }

        .name-sub {
            font-family: 'Cormorant Garamond', serif;
            font-size: 17px;
            color: var(--muted);
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .name-label {
            display: block;
            text-align: left;
            font-family: 'Lato', sans-serif;
            font-size: 11px;
            letter-spacing: .12em;
            text-transform: uppercase;
            color: var(--muted);
            margin-bottom: 6px;
        }

        .name-input {
            width: 100%;
            padding: 14px 18px;
            border: 1px solid var(--border);
            border-radius: 12px;
            font-family: 'Lato', sans-serif;
            font-size: 16px;
            color: var(--charcoal);
            background: var(--cream);
            outline: none;
            transition: border-color .2s;
            margin-bottom: 8px;
        }

        .name-input:focus {
            border-color: #6B7F5A;
        }

        .name-textarea {
            resize: vertical;
            min-height: 80px;
            margin-bottom: 8px;
        }

        .name-error {
            font-size: 12px;
            color: var(--red-soft);
            min-height: 18px;
            margin-bottom: 12px;
        }

        .name-btn {
            background: #6B7F5A;
            color: #ffffff;
            border: none;
            border-radius: 100px;
            padding: 14px 40px;
            font-family: 'Lato', sans-serif;
            font-size: 13px;
            letter-spacing: .2em;
            text-transform: uppercase;
            cursor: pointer;
            transition: all .25s;
            width: 100%;
        }

        .name-btn:hover {
            background: #5A6E4A;
        }

        /* THANK YOU */
        .thankyou-overlay {
            position: fixed;
            inset: 0;
            background: rgba(107, 127, 90, .88);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 999;
            opacity: 0;
            pointer-events: none;
            transition: opacity .4s;
            padding: 24px;
        }

        .thankyou-overlay.show {
            opacity: 1;
            pointer-events: all;
        }

        .thankyou-box {
            background: var(--warm-white);
            border-radius: 24px;
            padding: 56px 40px;
            max-width: 480px;
            width: 100%;
            text-align: center;
            transform: translateY(30px) scale(.95);
            transition: transform .5s cubic-bezier(.34, 1.3, .64, 1);
        }

        .thankyou-overlay.show .thankyou-box {
            transform: translateY(0) scale(1);
        }

        .thankyou-title {
            font-family: 'Playfair Display', serif;
            font-size: 32px;
            font-style: italic;
            color: var(--charcoal);
            margin-bottom: 12px;
        }

        .thankyou-msg {
            font-family: 'Cormorant Garamond', serif;
            font-size: 18px;
            font-weight: 300;
            color: var(--muted);
            line-height: 1.6;
            margin-bottom: 28px;
        }

        .thankyou-gift {
            background: var(--cream);
            border-radius: 12px;
            padding: 16px 20px;
            font-family: 'Cormorant Garamond', serif;
            font-size: 17px;
            color: var(--charcoal);
            margin-bottom: 28px;
            line-height: 1.8;
        }

        .whatsapp-btn {
            display: inline-block;
            background: #25D366;
            color: #fff;
            border: none;
            border-radius: 100px;
            padding: 12px 28px;
            font-family: 'Lato', sans-serif;
            font-size: 13px;
            letter-spacing: .08em;
            text-decoration: none;
            margin-bottom: 16px;
            transition: background .2s;
        }

        .whatsapp-btn:hover {
            background: #1ebe57;
        }

        .close-btn {
            background: none;
            border: 1px solid var(--border);
            border-radius: 100px;
            padding: 10px 28px;
            font-family: 'Lato', sans-serif;
            font-size: 12px;
            letter-spacing: .15em;
            text-transform: uppercase;
            color: var(--muted);
            cursor: pointer;
            transition: all .2s;
        }

        .close-btn:hover {
            background: var(--cream);
        }

        /* STATUS badge */
        .save-status {
            position: fixed;
            bottom: 16px;
            right: 16px;
            font-size: 11px;
            font-family: 'Lato', sans-serif;
            padding: 6px 12px;
            border-radius: 100px;
            background: #6B7F5A;
            color: #fff;
            opacity: 0;
            transition: opacity .4s;
            z-index: 888;
        }

        .save-status.show {
            opacity: 1;
        }

        /* FOOTER */
        footer {
            background: #6B7F5A;
            padding: 48px 24px;
            text-align: center;
        }

        .footer-names {
            font-family: 'Playfair Display', serif;
            font-size: 22px;
            font-style: italic;
            color: #ffffff;
            margin-bottom: 8px;
        }

        .footer-date {
            font-family: 'Cormorant Garamond', serif;
            font-size: 14px;
            letter-spacing: .25em;
            text-transform: uppercase;
            color: #ffffff;
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(24px)
            }

            to {
                opacity: 1;
                transform: translateY(0)
            }
        }

        @keyframes scrollLine {

            0%,
            100% {
                opacity: 1;
                transform: scaleY(1)
            }

            50% {
                opacity: .4;
                transform: scaleY(.6)
            }
        }