:root {
    --red: #7d1128;
    --deep-red: #4b0718;
    --rose: #f7a7b8;
    --soft-pink: #ffe4ec;
    --white: #fffaf7;
    --ivory: #fff6ee;
    --gold: #d8ad4f;
    --silver: #c8c8ce;
    --ink: #271018;
    --muted: #765c64;
    --shadow: 0 24px 80px rgba(75, 7, 24, 0.18);
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(247, 167, 184, 0.35), transparent 34rem),
        radial-gradient(circle at 90% 15%, rgba(216, 173, 79, 0.22), transparent 25rem),
        linear-gradient(135deg, #fffaf7 0%, #fff0f4 48%, #fbf8f1 100%);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(216, 173, 79, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 200, 206, 0.16) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 65%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 7vw;
    background: rgba(255, 250, 247, 0.75);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(216, 173, 79, 0.25);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50% 50% 45% 45%;
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(145deg, var(--deep-red), var(--red));
    border: 1px solid rgba(216, 173, 79, 0.7);
    box-shadow: 0 8px 24px rgba(125, 17, 40, 0.22);
}
.brand-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.brand-text span {
    display: block;
    font: 500 10px/1 'Inter';
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-links {
    display: flex;
    gap: 28px;
    font-size: 14px;
    color: #4c2630;
}
.nav-links a {
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.25s ease;
}
.nav-links a:hover::after {
    width: 100%;
}

.header-cta,
.btn {
    border-radius: 999px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
}
.header-cta {
    border: 1px solid rgba(125, 17, 40, 0.2);
    background: rgba(255, 255, 255, 0.45);
}

.section-pad {
    padding: 92px 7vw;
}
.hero {
    min-height: 84vh;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
    align-items: center;
    gap: 56px;
}
.eyebrow {
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 12px;
    font-weight: 700;
}
h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
    margin: 0;
}
h1 {
    max-width: 820px;
    font-size: clamp(54px, 8vw, 112px);
    line-height: 0.9;
    letter-spacing: -0.045em;
    color: var(--deep-red);
}
h2 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 0.96;
    color: var(--deep-red);
}
h3 {
    font-size: 32px;
    color: var(--deep-red);
}
.hero-text,
.service-panel p,
.atelier-copy p,
.contact p {
    max-width: 610px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--red), var(--deep-red));
    box-shadow: 0 14px 32px rgba(125, 17, 40, 0.22);
}
.btn-ghost {
    color: var(--deep-red);
    border-color: rgba(216, 173, 79, 0.55);
    background: rgba(255, 255, 255, 0.52);
}

.hero-card {
    display: flex;
    justify-content: center;
}
.arch-frame {
    width: min(100%, 430px);
    aspect-ratio: 4/5.4;
    padding: 16px;
    border-radius: 220px 220px 30px 30px;
    background: linear-gradient(145deg, var(--gold), var(--silver), var(--rose));
    box-shadow: var(--shadow);
}
.arch-inner {
    position: relative;
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 34px;
    border-radius: 200px 200px 22px 22px;
    background:
        linear-gradient(rgba(75, 7, 24, 0.2), rgba(75, 7, 24, 0.08)),
        radial-gradient(circle at 50% 30%, #fff7f3, #f6b5c5 42%, #7d1128 100%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    overflow: hidden;
}
.arch-inner::before {
    content: '';
    position: absolute;
    width: 180%;
    height: 90px;
    background: rgba(255, 255, 255, 0.18);
    transform: rotate(-34deg);
}
.monogram {
    position: relative;
    font-family: 'Cormorant Garamond', serif;
    font-size: 70px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 8px 28px rgba(75, 7, 24, 0.38);
}
.arch-inner p {
    position: relative;
    color: var(--white);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 12px;
}
.sparkle {
    position: absolute;
    color: #fff8d8;
    font-size: 30px;
}
.sparkle.one {
    top: 23%;
    left: 21%;
}
.sparkle.two {
    right: 19%;
    bottom: 28%;
}

.strip {
    margin: 0 7vw;
    padding: 26px;
    text-align: center;
    border-block: 1px solid rgba(216, 173, 79, 0.34);
    color: var(--deep-red);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(24px, 3.5vw, 40px);
}
.strip p {
    margin: 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 34px;
}
.section-heading h2 {
    max-width: 760px;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.feature-card {
    min-height: 310px;
    padding: 34px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(216, 173, 79, 0.28);
    box-shadow: 0 18px 55px rgba(75, 7, 24, 0.08);
}
.feature-card span {
    color: var(--gold);
    font-weight: 700;
}
.feature-card p {
    color: var(--muted);
    line-height: 1.75;
}
.blush {
    background: linear-gradient(160deg, #fff7f4, #ffe1e9);
}
.ivory {
    background: linear-gradient(160deg, #fffaf0, #ffffff);
}
.rose {
    background: linear-gradient(160deg, #ffe7ef, #fffafa);
}

.services {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: stretch;
}
.service-panel,
.contact,
.atelier {
    border-radius: 38px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(216, 173, 79, 0.3);
    box-shadow: var(--shadow);
}
.service-panel {
    padding: 46px;
}
.service-list {
    display: grid;
    gap: 14px;
}
.service-list div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 30px;
    border-radius: 22px;
    background: rgba(255, 250, 247, 0.72);
    border: 1px solid rgba(200, 200, 206, 0.36);
}
.service-list strong {
    color: var(--gold);
}

.atelier {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 44px;
    align-items: center;
}
.fabric-card {
    min-height: 470px;
    border-radius: 220px 220px 32px 32px;
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.65), transparent 16%),
        linear-gradient(
            145deg,
            rgba(125, 17, 40, 0.92),
            rgba(247, 167, 184, 0.7),
            rgba(216, 173, 79, 0.75)
        );
    border: 12px solid rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 -40px 90px rgba(75, 7, 24, 0.24);
}
.atelier-copy blockquote {
    margin: 28px 0 0;
    padding-left: 24px;
    border-left: 2px solid var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    color: var(--deep-red);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 190px;
    gap: 18px;
}
.gallery-item {
    display: flex;
    align-items: end;
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(125, 17, 40, 0.88), rgba(247, 167, 184, 0.76));
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    box-shadow: 0 18px 50px rgba(75, 7, 24, 0.13);
}
.gallery-item:nth-child(2) {
    background: linear-gradient(145deg, #fff, #ffdfe7);
    color: var(--deep-red);
}
.gallery-item:nth-child(3) {
    background: linear-gradient(145deg, #ffe4ec, #d8ad4f);
    color: var(--deep-red);
}
.gallery-item:nth-child(4) {
    background: linear-gradient(145deg, #d8ad4f, #c8c8ce);
    color: var(--deep-red);
}
.tall {
    grid-row: span 2;
}
.wide {
    grid-column: span 2;
}

.contact {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
    align-items: start;
}
.contact-form {
    display: grid;
    gap: 16px;
}
label {
    display: grid;
    gap: 8px;
    color: var(--deep-red);
    font-weight: 600;
    font-size: 14px;
}
input,
textarea {
    width: 100%;
    border: 1px solid rgba(216, 173, 79, 0.34);
    border-radius: 18px;
    padding: 15px 16px;
    font: inherit;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    outline: none;
}
input:focus,
textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(247, 167, 184, 0.22);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 7vw 42px;
    color: var(--muted);
    border-top: 1px solid rgba(216, 173, 79, 0.24);
}

@media (max-width: 930px) {
    .nav-links,
    .header-cta {
        display: none;
    }
    .hero,
    .services,
    .atelier,
    .contact {
        grid-template-columns: 1fr;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .gallery {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .section-pad {
        padding: 68px 6vw;
    }
    h1 {
        font-size: 54px;
    }
    .gallery {
        grid-template-columns: 1fr;
    }
    .tall,
    .wide {
        grid-row: auto;
        grid-column: auto;
    }
    .site-footer {
        flex-direction: column;
    }
}

.birthday-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(8px);
}

.popup-card {
    width: min(750px, 90%);
    max-height: 85vh;
    overflow-y: auto;
    background: linear-gradient(135deg, #fffaf5, #fff, #fef7f7);
    border: 2px solid #d4af37;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.35);
    animation: popupFade 1s ease;
}

.popup-card h1 {
    color: #b8860b;
    margin-bottom: 25px;
    font-size: 2.5rem;
}

.popup-card p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
}

.signature {
    font-weight: 600;
    color: #c2185b;
}

.enter-btn {
    margin-top: 20px;
    background: linear-gradient(45deg, #d4af37, #f4d03f);
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
}

.enter-btn:hover {
    transform: scale(1.05);
}

.close-btn {
    float: right;
    font-size: 30px;
    cursor: pointer;
    color: #998;
}

@keyframes popupFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

#confetti-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99998;
}

.popup-card,
.gift-screen {
    position: relative;
    z-index: 99999;
}

.hidden {
    display: none;
}

.gift-screen {
    text-align: center;
    position: relative;
    z-index: 2;
}

.gift-heading {
    color: #d4af37;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.gift-subtitle {
    color: white;
    opacity: 0.8;
    margin-bottom: 40px;
}

.gift-box {
    width: 180px;
    height: 180px;
    margin: auto;
    position: relative;
    cursor: pointer;
    animation: floatGift 2.5s ease-in-out infinite;
}

.gift-base {
    width: 180px;
    height: 120px;
    background: #c2185b;
    position: absolute;
    bottom: 0;
    border-radius: 12px;
}

.gift-lid {
    width: 200px;
    height: 45px;
    background: #d81b60;
    position: absolute;
    left: -10px;
    top: 15px;
    border-radius: 12px;
    transition: 1s ease;
    transform-origin: left center;
}

.gift-ribbon-v {
    position: absolute;
    width: 22px;
    height: 180px;
    left: 79px;
    background: #d4af37;
}

.gift-ribbon-h {
    position: absolute;
    width: 180px;
    height: 22px;
    top: 35px;
    background: #d4af37;
}

@keyframes floatGift {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}
