/* ==========================================
   CHAPTER I
   BACKGROUND
========================================== */

.background{

    position:fixed;

    inset:0;

    background:
        radial-gradient(
            ellipse at center,
            #262626 0%,
            #202020 25%,
            #1A1A1A 50%,
            #111111 100%
        );

    z-index:var(--z-background);

}


/* ==========================================
   CHAPTER II
   TOPOGRAPHY
========================================== */

.topography{

    position:fixed;

    pointer-events:none;

    user-select:none;

    opacity:.03;

    z-index:var(--z-topography);

}

.topography-1{

    width:800px;

    left:-180px;

    bottom:-40px;

}

.topography-2{

    width:600px;

    right:-150px;

    top:-30px;

    transform:rotate(180deg);

}


/* ==========================================
   CHAPTER III
   EDITORIAL FRAME
========================================== */

.editorial-frame{

    position:fixed;

    inset:28px;

    border:1px solid var(--color-frame);

    pointer-events:none;

    display:none;

    z-index:var(--z-frame);

}


/* ==========================================
   CHAPTER IV
   SCENE
========================================== */

.scene{

    width:100vw;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    /* z-index:var(--z-letter); */

}


/* ==========================================
   CHAPTER V
   THE ENVELOPE
========================================== */

.envelope{

    position:relative;

    width:var(--envelope-width);

    aspect-ratio:470 / 296;

    filter:drop-shadow(var(--shadow-soft));

    perspective:1800px;

    isolation:isolate;

}

/* ==========================================
   CHAPTER VI
   THE LETTER
========================================== */

.letter{

    position:absolute;

    left:50%;

    top:8%;

    width:82%;

    height:86%;

    transform:
        translateX(-50%)
        translateY(40px);

    background:#111111;

    border-radius:4px;

    overflow:hidden;

    opacity:0;

    z-index:var(--z-letter);

}

.letter-content{

    width:100%;

    height:100%;

    overflow:hidden;

}

.invitation{

    width:100%;

    height:100%;

    overflow-y:auto;

    overflow-x:hidden;

    scroll-snap-type:y mandatory;

    scroll-behavior:smooth;

    overscroll-behavior-y:contain;

}

/* ==========================================
   CHAPTER VII
   ENVELOPE BODY
========================================== */

.envelope-body{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:contain;

    z-index:var(--z-envelope-body);

}


/* ==========================================
   CHAPTER IX
   FLAP
========================================== */

.flap{

    position:absolute;

    inset:0;

    transform-origin:top center;

    z-index:var(--z-flap-top);

}

.flap-top{

    width:100%;

    height:100%;

    object-fit:contain;

    display:block;

}


/* ==========================================
   CHAPTER X
   SEAL
========================================== */

.seal{

    position:absolute;

    left:50%;

    top:46%;

    transform:translate(-50%,-50%);

    border:none;

    background:none;

    padding:0;

    cursor:pointer;

    z-index:var(--z-seal);

}

.seal-image{

    width:var(--seal-size);

    display:block;

    filter:drop-shadow(var(--shadow-seal));

}

/* ==========================================
   OPENING TRANSITION
========================================== */

.envelope-body{

    transition:
        opacity .25s ease;

}

.flap{

    transition:
        transform .9s var(--ease),
        opacity .15s ease;

}

.seal{

    transition:
        transform .25s ease,
        opacity .2s ease;

}

.seal:focus,
.seal:focus-visible{

    outline:none;

}


/* ==========================================
   CHAPTER V
   THE FIRST NIGHT — HERO
========================================== */

.hero{

    width:100%;

    height:100%;

    display:flex;

    align-items:center;

    justify-content:center;

    position:relative;

    background:#111111;

}

.hero-content{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;

}

.hero-names{

    margin:0;

    display:flex;

    flex-direction:column;

    align-items:center;

    font-family:var(--font-title);

    font-size:clamp(56px, 13vw, 108px);

    font-weight:400;

    line-height:.9;

    letter-spacing:.01em;

    color:#f1ece8;

}

.hero-ampersand{

    margin:20px 0;

    font-size:.68em;

    line-height:1;

}

.hero-date{

    margin-top:34px;

    font-family:var(--font-body);

    font-size:15px;

    font-weight:400;

    letter-spacing:.25em;

    color:#d8d2cf;

}

.hero-concept{

    margin-top:52px;

    font-family:var(--font-title);

    font-size:18px;

    font-weight:400;

    font-style:normal;

    color:#bca6ad;

}


/* ==========================================
   INVITATION
   CHAPTER SYSTEM
========================================== */

.invitation{

    display:block;

    width:100%;

    height:100%;

    min-height:100%;

    overflow-y:auto;

    overflow-x:hidden;

    scroll-snap-type:y mandatory;

    scroll-behavior:smooth;

    overscroll-behavior-y:contain;

}

.chapter{

    display:block;

    position:relative;

    width:100%;

    height:100dvh;

    min-height:100dvh;

    flex:none;

    scroll-snap-align:start;

    scroll-snap-stop:always;

    overflow:hidden;

    box-sizing:border-box;

}


/* ==========================================
   CHAPTER VI
   THE NIGHT
========================================== */

.chapter-night{

    background:#111111;

    display:flex;

    align-items:center;

    justify-content:center;

    box-sizing:border-box;

    padding:8%;
}

.night-frame{

    width:100%;

    height:100%;

    max-width:720px;

    max-height:82%;

    border:1px solid rgba(216, 210, 207, .28);

    display:flex;

    align-items:center;

    justify-content:center;

    box-sizing:border-box;

    padding:12% 10%;

}

.night-content{

    width:100%;

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

}

.night-date,
.night-location{

    font-family:var(--font-body);

    font-size:11px;

    font-weight:400;

    letter-spacing:.25em;

    color:#d8d2cf;

}

.night-location{

    margin-top:12px;

}

.night-message{

    max-width:520px;

    margin:64px 0 0;

    font-family:var(--font-title);

    font-size:clamp(30px, 7vw, 54px);

    font-weight:400;

    line-height:1.05;

    color:#f1ece8;

}

/* ==========================================
 CHAPTER VI — ENTRANCE
 ========================================== */

.chapter-hero{

    transition:
        opacity 1.2s ease;

}

.chapter-hero.is-leaving{

    opacity:0;

}

/* ==========================================
   COUNTDOWN
========================================== */

.countdown{

    width:100%;

    margin-top:52px;

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:18px;

}

.countdown-days{

    display:flex;

    align-items:baseline;

    gap:7px;

}

.countdown-days .countdown-value{

    font-family:var(--font-body);

    font-size:30px;

    font-weight:500;

    letter-spacing:.04em;

    color:#bca6ad;

}

.countdown-days .countdown-label{

    font-family:var(--font-body);

    font-size:10px;

    font-weight:400;

    letter-spacing:.18em;

    color:#d8d2cf;

}

.countdown-time{

    display:flex;

    align-items:baseline;

    justify-content:center;

    gap:10px;

    white-space:nowrap;

}

.countdown-unit{

    display:flex;

    align-items:baseline;

    gap:4px;

}

.countdown-time .countdown-value{

    font-family:var(--font-body);

    font-size:16px;

    font-weight:500;

    letter-spacing:.04em;

    color:#bca6ad;

}

.countdown-time .countdown-label{

    font-family:var(--font-body);

    font-size:8px;

    font-weight:400;

    letter-spacing:.14em;

    color:#d8d2cf;

}

.countdown-separator{

    font-family:var(--font-title);

    font-size:14px;

    color:rgba(216, 210, 207, .45);

}

/* ==========================================
   CHAPTER VII
   THE EVENT
========================================== */

.chapter-event{

    background:#111111;

    display:flex;

    align-items:center;

    justify-content:center;

    box-sizing:border-box;

    padding:8%;

}

.event-frame{

    width:100%;

    height:100%;

    max-width:720px;

    max-height:82%;

    border:1px solid rgba(216, 210, 207, .22);

    display:flex;

    align-items:center;

    justify-content:center;

    box-sizing:border-box;

    padding:12% 10%;

}

.event-content{

    width:100%;

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

}

.event-eyebrow{

    font-family:var(--font-body);

    font-size:10px;

    font-weight:400;

    letter-spacing:.28em;

    color:#d8d2cf;

}

.event-time{

    margin-top:48px;

    display:flex;

    flex-direction:column;

    align-items:center;

}

.event-time-value{

    font-family:var(--font-title);

    font-size:52px;

    font-weight:400;

    line-height:1;

    color:#f1ece8;

}

.event-time-label{

    margin-top:10px;

    font-family:var(--font-body);

    font-size:8px;

    letter-spacing:.22em;

    color:#bca6ad;

}

.event-location{

    margin-top:64px;

    display:flex;

    flex-direction:column;

    align-items:center;

}

.event-location-city{

    font-family:var(--font-body);

    font-size:11px;

    letter-spacing:.25em;

    color:#d8d2cf;

}

.event-location-name{

    margin-top:12px;

    font-family:var(--font-title);

    font-size:24px;

    color:#f1ece8;

}

.event-location-coordinates{

    margin-top:14px;

    font-family:var(--font-body);

    font-size:8px;

    font-weight:400;

    letter-spacing:.18em;

    color:rgba(216, 210, 207, .5);

}


/* ==========================================
   CHAPTER VIII
   THE PLACE
========================================== */

.chapter-place{

    background:#111111;

    display:flex;

    align-items:center;

    justify-content:center;

    box-sizing:border-box;

    padding:8%;

}

.place-content{

    width:100%;

    max-width:720px;

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

}

.place-eyebrow{

    font-family:var(--font-body);

    font-size:10px;

    font-weight:400;

    letter-spacing:.28em;

    color:#d8d2cf;

}

.place-map{

    position:relative;

    width:100%;

    aspect-ratio:3 / 4;

    margin-top:32px;

    box-sizing:border-box;

    overflow:hidden;

    background:#111111;

}

.place-map-image{

    width:100%;

    height:100%;

    display:block;

    object-fit:contain;

    object-position:center;

}

.place-info{

    margin-top:28px;

    display:flex;

    flex-direction:column;

    align-items:center;

}

.place-name{

    font-family:var(--font-title);

    font-size:25px;

    font-weight:400;

    color:#f1ece8;

}

.place-address{

    margin-top:8px;

    font-family:var(--font-body);

    font-size:10px;

    font-weight:400;

    letter-spacing:.18em;

    color:#d8d2cf;

}

.place-map-link{

    margin-top:28px;

    font-family:var(--font-body);

    font-size:8px;

    font-weight:400;

    letter-spacing:.22em;

    color:#bca6ad;

    text-decoration:none;

}


/* ==========================================
   THE PLACE — VIEWPORT FIT
========================================== */

.chapter-place{

    height:100dvh;

    min-height:100dvh;

    padding:6% 8%;

    box-sizing:border-box;

    overflow:hidden;

}

.place-content{

    width:100%;

    height:100%;

    max-width:720px;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;

    box-sizing:border-box;

}

.place-map{

    width:auto;

    height:46vh;

    aspect-ratio:3 / 4;

    flex:none;

    margin-top:28px;

    box-sizing:border-box;

    overflow:hidden;

    background:#111111;

}

.place-map-image{

    width:100%;

    height:100%;

    display:block;

    object-fit:contain;

    object-position:center;

}

.place-info{

    flex:none;

    margin-top:22px;

    display:flex;

    flex-direction:column;

    align-items:center;

}

.place-map-link{

    flex:none;

    margin-top:22px;

}


/* ==========================================
   THE PLACE — FINAL LAYOUT FIX
========================================== */

.chapter-place{

    height:100dvh;

    min-height:0;

    padding:0 8%;

    box-sizing:border-box;

    overflow:hidden;

}

.place-content{

    width:100%;

    height:100%;

    max-width:720px;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:flex-start;

    text-align:center;

    box-sizing:border-box;

    padding-top:10vh;

}

.place-eyebrow{

    flex:none;

}

.place-map{

    width:auto;

    height:58vh;

    aspect-ratio:3 / 4;

    flex:none;

    margin-top:26px;

    box-sizing:border-box;

    overflow:hidden;

    background:#111111;

}

.place-map-image{

    width:100%;

    height:100%;

    display:block;

    object-fit:contain;

    object-position:center;

}

.place-info{

    flex:none;

    margin-top:14px;

    display:flex;

    flex-direction:column;

    align-items:center;

}

.place-name{

    font-family:var(--font-title);

    font-size:25px;

    font-weight:400;

    line-height:1.1;

    color:#f1ece8;

}

.place-address{

    margin-top:7px;

    font-family:var(--font-body);

    font-size:11px;

    font-weight:400;

    letter-spacing:.16em;

    color:#d8d2cf;

}

.place-map-link{

    position:relative;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:150px;

    padding:10px 18px;

    margin-top:24px;

    font-family:var(--font-body);

    font-size:10px;

    font-weight:500;

    letter-spacing:.20em;

    color:#bca6ad;

    text-decoration:none;

    border:1px solid rgba(188, 166, 173, .45);

    transition:
        color .35s ease,
        border-color .35s ease,
        background-color .35s ease;

}

.place-map-link:hover{

    color:#f1ece8;

    border-color:rgba(188, 166, 173, .75);

    background:rgba(188, 166, 173, .05);

}

.place-map-link::before,
.place-map-link::after{

    content:"";

    position:absolute;

    width:4px;

    height:4px;

    border:1px solid rgba(188, 166, 173, .65);

    transform:rotate(45deg);

}

.place-map-link::before{

    left:-3px;

}

.place-map-link::after{

    right:-3px;

}


/* ==========================================
   CHAPTER IX
   THE NIGHT SCHEDULE
========================================== */

.chapter-schedule{

    background:#111111;

    display:flex;

    align-items:center;

    justify-content:center;

    box-sizing:border-box;

    padding:0 8%;

}

.schedule-content{

    width:100%;

    max-width:620px;

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

    transform:translateY(-4vh);

}

.schedule-eyebrow{

    font-family:var(--font-body);

    font-size:10px;

    font-weight:400;

    letter-spacing:.28em;

    color:#d8d2cf;

}


/* ==========================================
   TIMELINE
========================================== */

.schedule-timeline{

    position:relative;

    width:max-content;

    margin:38px auto 0;

    display:flex;

    flex-direction:column;

}


/* linha vertical */

.schedule-timeline::before{

    content:"";

    position:absolute;

    top:20px;

    bottom:48px;

    left:50%;

    width:1px;

    background:rgba(216, 210, 207, .22);

    transform:translateX(-50%);

}


/* ==========================================
   ITEM
========================================== */

.schedule-item{

    position:relative;

    display:grid;

    grid-template-columns:120px 56px 120px;

    align-items:center;

    min-height:86px;

}


/* ==========================================
   HORÁRIO
========================================== */

.schedule-time{

    grid-column:1;

    justify-self:end;

    padding-right:24px;

    font-family:var(--font-body);

    font-size:16px;

    font-weight:500;

    letter-spacing:.06em;

    color:#bca6ad;

}


/* ==========================================
   MARCADOR
========================================== */

.schedule-marker{

    position:relative;

    z-index:2;

    grid-column:2;

    width:38px;

    height:38px;

    display:flex;

    align-items:center;

    justify-content:center;

    justify-self:center;

    background:#111111;

    border:1px solid rgba(188, 166, 173, .5);

    border-radius:50%;

}


/* ==========================================
   ÍCONE
========================================== */

.schedule-icon{

    width:18px;

    height:18px;

    fill:none;

    stroke:#bca6ad;

    stroke-width:1.2;

    stroke-linecap:round;

    stroke-linejoin:round;

}


/* ==========================================
   EVENTO
========================================== */

.schedule-event{

    grid-column:3;

    justify-self:start;

    padding-left:24px;

    text-align:left;

}

.schedule-event-name{

    font-family:var(--font-title);

    font-size:22px;

    font-weight:400;

    line-height:1;

    color:#f1ece8;

}


/* ==========================================
   ÚLTIMO ITEM
========================================== */

.schedule-item--last{

    margin-top:8px;

}

.schedule-item--last .schedule-marker{

    border-color:rgba(188, 166, 173, .75);

}

.schedule-item--last .schedule-event-name{

    color:#bca6ad;

}


.chapter-schedule{
    background:#111111;
}

/* ==========================================
   CHAPTER ORNAMENT
========================================== */

.chapter-ornament{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    margin-top:10px;

}

.chapter-ornament span{

    display:block;

    width:28px;

    height:1px;

    background:rgba(188, 166, 173, .5);

}

.chapter-ornament i{

    display:block;

    width:5px;

    height:5px;

    background:#bca6ad;

    transform:rotate(45deg);

}

/* ==========================================
   SCHEDULE — CHAPTER DIVIDER
========================================== */

.schedule-divider{

    width:105px;

    height:1px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    align-self:center;

    margin-top:72px;

    opacity:.75;

}

.schedule-divider span{

    display:block;

    width:42px;

    height:1px;

    background:rgba(188,166,173,.5);

}

.schedule-divider i{

    display:block;

    flex: none;

    width:5px;

    height:5px;

    background:#bca6ad;

    transform:rotate(45deg);

}


/* ==========================================
   CHAPTER X
   THE DRESS CODE
========================================== */

.chapter-dress-code{

    background:#111111;

    display:flex;

    align-items:center;

    justify-content:center;

    box-sizing:border-box;

    padding:0 8%;

}


.dress-code-content{

    position:relative;

    width:100%;

    max-width:420px;

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

    transform:translateY(-3vh);

}


/* ==========================================
   EYEBROW
========================================== */

.dress-code-eyebrow{

    font-family:var(--font-body);

    font-size:10px;

    font-weight:400;

    letter-spacing:.28em;

    color:#d8d2cf;

}


/* ==========================================
   CHECKERBOARD
========================================== */

.dress-code-checker{

    width:48px;

    height:8px;

    background:
        linear-gradient(
            45deg,
            #bca6ad 25%,
            transparent 25%,
            transparent 75%,
            #bca6ad 75%
        ),
        linear-gradient(
            45deg,
            #bca6ad 25%,
            transparent 25%,
            transparent 75%,
            #bca6ad 75%
        );

    background-position:
        0 0,
        4px 4px;

    background-size:8px 8px;

    opacity:.45;

}

.dress-code-checker--top{

    margin-top:28px;

    align-self:center;

}

.dress-code-checker--bottom{

    margin-top:34px;

    align-self:center;

    opacity:.3;

}


/* ==========================================
   MAIN
========================================== */

.dress-code-main{

    margin-top:18px;

}

.dress-code-title{

    margin:0;

    font-family:var(--font-title);

    font-size:36px;

    font-weight:400;

    line-height:.95;

    letter-spacing:.01em;

    color:#f1ece8;

}

.dress-code-subtitle{

    margin:16px 0 0;

    font-family:var(--font-body);

    font-size:12px;

    font-weight:400;

    letter-spacing:.08em;

    color:#bca6ad;

}


/* ==========================================
   PALETA
========================================== */

.dress-code-palette{

    margin-top:54px;

    display:flex;

    flex-direction:column;

    align-items:center;

}

.dress-code-label{

    font-family:var(--font-body);

    font-size:10px;

    font-weight:400;

    letter-spacing:.25em;

    color:#d8d2cf;

}

.dress-code-colors{

    display:flex;

    gap:8px;

    margin-top:14px;

}

.dress-color{

    width:45px;

    height:45px;

    border-radius:50%;

    border:1px solid rgba(216,210,207,.25);

}

.dress-color--black{
    background:#111111;
}

.dress-color--graphite{
    background:#3a3a3a;
}

.dress-color--wine{
    background:#5b2735;
}

.dress-color--pink{
    background:#C08081;
}

.dress-color--neutral{
    background:#d8d0c8;
}

.dress-code-color-names{

    margin-top:10px;

    font-family:var(--font-body);

    font-size:11px;

    letter-spacing:.06em;

    color:#8f8987;

}


/* ==========================================
   EVITAR
========================================== */

.dress-code-notes{

    margin-top:42px;

    display:flex;

    flex-direction:column;

    align-items:center;

}

.dress-code-notes p{

    max-width:280px;

    margin:12px 0 0;

    font-family:var(--font-body);

    font-size:10px;

    line-height:1.7;

    letter-spacing:.05em;

    color:#aaa3a0;

}


/* ==========================================
   DIVISOR
========================================== */

.dress-code-divider{

    width:105px;

    height:1px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    margin-top:42px;

    opacity:.75;

}

.dress-code-divider span{

    display:block;

    width:42px;

    height:1px;

    background:rgba(188,166,173,.5);

}

.dress-code-divider i{

    display:block;

    flex:none;

    width:5px;

    height:5px;

    background:#bca6ad;

    transform:rotate(45deg);

}

.dress-code-reference-link{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    margin-top:28px;

    padding:11px 16px;

    border:1px solid rgba(188,166,173,.6);

    font-family:var(--font-body);

    font-size:9px;

    font-weight:500;

    letter-spacing:.18em;

    text-decoration:none;

    color:#d8d2cf;

    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease;

}

.dress-code-reference-link span{

    font-size:7px;

    color:#bca6ad;

}

.dress-code-reference-link:hover{

    background:rgba(188,166,173,.08);

    border-color:#bca6ad;

    color:#f1ece8;

}

.dress-code-previews{

    display:grid;

    grid-template-columns:repeat(3, 1fr);

    gap:6px;

    width:100%;

    max-width:400px;

    margin-top:28px;

}

.dress-preview{

    aspect-ratio:3 / 4;

    overflow:hidden;

    border:1px solid rgba(188,166,173,.35);

    background:#181616;

}

.dress-preview img{

    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

    filter:saturate(.75) contrast(.95);

}

/* ==========================================
   CHAPTER XI - THE RSVP
========================================== */

.chapter-rsvp{

    background:#111111;

    display:flex;

    align-items:center;

    justify-content:center;

    box-sizing:border-box;

    padding:0 8%;

}


.rsvp-content{

    position:relative;

    width:100%;

    max-width:520px;

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

    transform:translateY(-5vh);

}


/* ==========================================
   EYEBROW
========================================== */

.rsvp-eyebrow{

    font-family:var(--font-body);

    font-size:10px;

    font-weight:400;

    letter-spacing:.28em;

    color:#d8d2cf;

}


/* ==========================================
   TITLE
========================================== */

.rsvp-title{

    margin:42px 0 0;

    font-family:var(--font-title);

    font-size:clamp(34px, 8vw, 52px);

    font-weight:400;

    line-height:.98;

    color:#f1ece8;

}


/* ==========================================
   BUTTON
========================================== */

.rsvp-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    margin-top:46px;

    padding:13px 22px;

    border:1px solid rgba(188,166,173,.6);

    font-family:var(--font-body);

    font-size:9px;

    font-weight:500;

    letter-spacing:.18em;

    text-decoration:none;

    color:#d8d2cf;

    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease;

}

.rsvp-button span{

    font-size:7px;

    color:#bca6ad;

}

.rsvp-button:hover{

    background:rgba(188,166,173,.08);

    border-color:#bca6ad;

    color:#f1ece8;

}


/* ==========================================
   DIVIDER
========================================== */

.rsvp-divider{

    width:105px;

    height:1px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    margin-top:72px;

    opacity:.75;

}

.rsvp-divider span{

    display:block;

    width:42px;

    height:1px;

    background:rgba(188,166,173,.5);

}

.rsvp-divider i{

    display:block;

    flex:none;

    width:5px;

    height:5px;

    background:#bca6ad;

    transform:rotate(45deg);

}

.rsvp-deadline{

    margin:14px 0 0;

    font-family:var(--font-body);

    font-size:12px;

    letter-spacing:.12em;

    color:#bca6ad;

}


/* ==========================================
   CHAPTER XII
   THE GIFTS
========================================== */

.chapter-gifts{

    background:#111111;

    display:flex;

    align-items:center;

    justify-content:center;

    box-sizing:border-box;

    padding:0 8%;

}

.gifts-content{

    position:relative;

    width:100%;

    max-width:520px;

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

    transform:translateY(-3vh);

}


/* ==========================================
   TITLE
========================================== */

.gifts-title{

    margin:0;

    font-family:var(--font-title);

    font-size:clamp(30px, 7vw, 46px);

    font-weight:400;

    line-height:1;

    letter-spacing:.01em;

    color:#f1ece8;

}


/* ==========================================
   TITLE ORNAMENT
========================================== */

.gifts-top-divider{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    width:105px;

    margin-top:24px;

}

.gifts-top-divider span{

    width:34px;

    height:1px;

    background:rgba(188,166,173,.5);

}

.gifts-top-divider i{

    width:6px;

    height:6px;

    flex:none;

    background:#bca6ad;

    transform:rotate(45deg);

}


/* ==========================================
   GIFT OPTIONS
========================================== */

.gifts-option{

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

}


/* ==========================================
   ICONS
========================================== */

.gifts-icon-wrap{

    width:72px;

    height:72px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-top:28px;

}

.gifts-icon-image{

    width:64px;

    height:64px;

    display:block;

    object-fit:contain;

}


/* ==========================================
   OPTION TITLE
========================================== */

.gifts-option-title{

    margin-top:12px;

    font-family:var(--font-body);

    font-size:11px;

    font-weight:400;

    letter-spacing:.08em;

    color:#d8d2cf;

}


/* ==========================================
   BUTTONS
========================================== */

.gifts-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    margin-top:44px;

    padding:13px 22px;

    border:1px solid rgba(188,166,173,.6);

    background:transparent;

    font-family:var(--font-body);

    font-size:10px;

    font-weight:500;

    letter-spacing:.18em;

    text-decoration:none;

    color:#d8d2cf;

    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease;

}

.gifts-button span{

    font-size:7px;

    color:#bca6ad;

}

.gifts-button:hover{

    background:rgba(188,166,173,.08);

    border-color:#bca6ad;

    color:#f1ece8;

}


/* ==========================================
   LIST OF GIFTS
========================================== */

.chapter-gifts .gifts-option--list .gifts-icon-wrap{

    margin-top:28px;

}

.chapter-gifts .gifts-option--list .gifts-option-title{

    margin-top:12px;

}

.chapter-gifts .gifts-option--list .gifts-button{

    margin-top:18px;

}


/* ==========================================
   OR
========================================== */

.gifts-or{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    width:120px;

    margin-top:46px;

    margin-bottom:0;

}

.gifts-or span{

    width:28px;

    height:1px;

    background:rgba(188,166,173,.35);

}

.gifts-or i{

    font-family:var(--font-body);

    font-size:15px;

    font-style:normal;

    letter-spacing:.08em;

    color:#8f8987;

}


/* ==========================================
   PIX
========================================== */

.chapter-gifts .gifts-option--pix .gifts-icon-wrap{

    margin-top:28px;

}

.chapter-gifts .gifts-option--pix .gifts-option-title{

    margin-top:12px;

    text-transform:none;

}

.chapter-gifts .gifts-option--pix .gifts-button{

    margin-top:18px;

}


/* ==========================================
   FINAL DIVIDER
========================================== */

.gifts-divider{

    width:105px;

    height:1px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    margin-top:64px;

    opacity:.75;

}

.gifts-divider span{

    display:block;

    width:42px;

    height:1px;

    background:rgba(188,166,173,.5);

}

.gifts-divider i{

    display:block;

    flex:none;

    width:5px;

    height:5px;

    background:#bca6ad;

    transform:rotate(45deg);

}


/* ==========================================
   PIX MODAL
========================================== */

.pix-modal{

    position:fixed;

    inset:0;

    z-index:1000;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:24px;

    box-sizing:border-box;

    visibility:hidden;

    opacity:0;

    pointer-events:none;

    transition:
        opacity .3s ease,
        visibility .3s ease;

}

.pix-modal.is-open{

    visibility:visible;

    opacity:1;

    pointer-events:auto;

}


/* ==========================================
   PIX MODAL — OVERLAY
========================================== */

.pix-modal-overlay{

    position:absolute;

    inset:0;

    background:rgba(10,10,10,.82);

    backdrop-filter:blur(4px);

}


/* ==========================================
   PIX MODAL — CARD
========================================== */

.pix-modal-card{

    position:relative;

    z-index:1;

    width:100%;

    max-width:360px;

    box-sizing:border-box;

    padding:42px 30px 34px;

    border:1px solid rgba(188,166,173,.6);

    background:#111111;

    text-align:center;

    transform:translateY(12px);

    transition:transform .3s ease;

}

.pix-modal.is-open .pix-modal-card{

    transform:translateY(0);

}


/* ==========================================
   PIX MODAL — CLOSE
========================================== */

.pix-modal-close{

    position:absolute;

    top:12px;

    right:14px;

    width:28px;

    height:28px;

    padding:0;

    border:0;

    background:transparent;

    font-family:var(--font-body);

    font-size:20px;

    font-weight:300;

    line-height:1;

    color:#bca6ad;

    cursor:pointer;

}


/* ==========================================
   PIX MODAL — TEXT
========================================== */

.pix-modal-eyebrow{

    display:block;

    font-family:var(--font-body);

    font-size:9px;

    letter-spacing:.22em;

    color:#bca6ad;

}

.pix-modal-title{

    margin:14px 0 24px;

    font-family:var(--font-title);

    font-size:28px;

    font-weight:400;

    line-height:1;

    color:#f1ece8;

}


/* ==========================================
   PIX MODAL — KEY
========================================== */

.pix-key-box{

    width:100%;

    box-sizing:border-box;

    padding:14px 12px;

    border:1px solid rgba(188,166,173,.35);

    background:rgba(188,166,173,.035);

}

.pix-key{

    display:block;

    overflow-wrap:anywhere;

    font-family:var(--font-body);

    font-size:11px;

    line-height:1.5;

    letter-spacing:.04em;

    color:#d8d2cf;

}


/* ==========================================
   PIX MODAL — COPY BUTTON
========================================== */

.pix-copy-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    margin-top:20px;

    padding:12px 20px;

    border:1px solid rgba(188,166,173,.6);

    background:transparent;

    font-family:var(--font-body);

    font-size:10px;

    font-weight:500;

    letter-spacing:.18em;

    color:#d8d2cf;

    cursor:pointer;

    transition:
        background .3s ease,
        color .3s ease;

}

.pix-copy-button:hover{

    background:rgba(188,166,173,.08);

}

.pix-copy-button span:first-child,
.pix-copy-button span:last-child{

    font-size:9px;

    color:#bca6ad;

}


/* ==========================================
   PIX MODAL — BUNNY
========================================== */

.pix-modal-bunny{

    display:block;

    width:42px;

    height:42px;

    margin:26px auto 0;

    object-fit:contain;

}


/* ==========================================
   PIX BUTTON
========================================== */

.chapter-gifts .gifts-button--pix{

    appearance:none;

    -webkit-appearance:none;

    background:transparent;

    color:#d8d2cf;

    border:1px solid rgba(188,166,173,.6);

    font-family:var(--font-body);

    font-size:10px;

    font-weight:500;

    letter-spacing:.18em;

    cursor:pointer;

}

.chapter-gifts .gifts-button--pix:hover{

    background:rgba(188,166,173,.08);

    color:#f1ece8;

    border-color:#bca6ad;

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width:480px){

    .pix-modal{

        padding:20px;

    }

    .pix-modal-card{

        max-width:340px;

        padding:38px 22px 30px;

    }

}

/* ==========================================
   PIX MODAL
========================================== */

.pix-modal{

    position:fixed;

    inset:0;

    z-index:9999;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:24px;

    box-sizing:border-box;

    opacity:0;

    visibility:hidden;

    pointer-events:none;

    transition:
        opacity 350ms ease,
        visibility 350ms ease;

}

.pix-modal.is-open{

    opacity:1;

    visibility:visible;

    pointer-events:auto;

}


/* ==========================================
   PIX MODAL — BACKDROP
========================================== */

.pix-modal-backdrop{

    position:absolute;

    inset:0;

    background:rgba(17,17,17,.88);

    backdrop-filter:blur(4px);

    -webkit-backdrop-filter:blur(4px);

}


/* ==========================================
   PIX MODAL — CONTENT
========================================== */

.pix-modal-content{

    position:relative;

    z-index:1;

    width:min(100%,420px);

    padding:48px 32px 40px;

    background:#111111;

    border:1px solid rgba(205,181,190,.55);

    text-align:center;

    box-sizing:border-box;

    transform:translateY(12px);

    opacity:0;

    transition:
        opacity 450ms cubic-bezier(.22,.61,.36,1),
        transform 450ms cubic-bezier(.22,.61,.36,1);

}

.pix-modal.is-open .pix-modal-content{

    opacity:1;

    transform:translateY(0);

}


/* ==========================================
   PIX MODAL — CLOSE
========================================== */

.pix-modal-close{

    position:absolute;

    top:14px;

    right:16px;

    width:28px;

    height:28px;

    padding:0;

    border:0;

    background:transparent;

    color:#cdb5be;

    font-family:inherit;

    font-size:18px;

    font-weight:300;

    line-height:1;

    cursor:pointer;

}


/* ==========================================
   PIX MODAL — TEXT
========================================== */

.pix-modal-eyebrow{

    display:block;

    margin-bottom:14px;

    color:#cdb5be;

    font-size:10px;

    letter-spacing:.28em;

    text-transform:uppercase;

}

.pix-modal-title{

    margin:0;

    color:#f0e8e5;

    font-family:Georgia,"Times New Roman",serif;

    font-size:clamp(30px,7vw,38px);

    font-weight:400;

    line-height:1.05;

}

.pix-modal-text{

    max-width:300px;

    margin:18px auto 24px;

    color:#c9c0c2;

    font-size:13px;

    line-height:1.6;

}


/* ==========================================
   PIX MODAL — KEY
========================================== */

.pix-key-box{

    width:100%;

    box-sizing:border-box;

    padding:15px 16px;

    border:1px solid rgba(205,181,190,.45);

    background:rgba(255,255,255,.025);

    overflow:hidden;

}

.pix-key{

    display:block;

    color:#e6d9dd;

    font-family:inherit;

    font-size:13px;

    line-height:1.4;

    overflow-wrap:anywhere;

    word-break:break-word;

}


/* ==========================================
   PIX MODAL — COPY
========================================== */

.pix-copy-button{

    margin-top:22px;

    padding:13px 24px;

    border:1px solid rgba(205,181,190,.65);

    background:transparent;

    color:#e6d9dd;

    font-family:inherit;

    font-size:10px;

    letter-spacing:.18em;

    text-transform:uppercase;

    cursor:pointer;

    transition:
        background 250ms ease,
        color 250ms ease;

}

.pix-copy-button:hover{

    background:#cdb5be;

    color:#111111;

}

.pix-copy-button.copied{

    background:#cdb5be;

    color:#111111;

}


/* ==========================================
   PIX MODAL — MOBILE
========================================== */

@media (max-width:480px){

    .pix-modal{

        padding:20px;

    }

    .pix-modal-content{

        padding:44px 22px 32px;

    }

    .pix-modal-title{

        font-size:30px;

    }

    .pix-modal-text{

        font-size:12px;

    }

    .pix-key{

        font-size:12px;

    }

}


/* ==========================================
   CHAPTER — THE SIGNATURE
========================================== */

.chapter-signature{

    background:#111111;

    display:flex;

    align-items:center;

    justify-content:center;

    box-sizing:border-box;

    padding:0 8%;

}


.signature-content{

    width:100%;

    max-width:520px;

    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

    transform:translateY(-7vh);

}


/* ==========================================
   SEAL
========================================== */

.signature-seal{

    display:flex;

    align-items:center;

    justify-content:center;

    width:150px;

    height:150px;

}


.signature-seal-image{

    display:block;

    width:100%;

    height:100%;

    object-fit:contain;

}


/* ==========================================
   NAMES
========================================== */

.signature-names{

    margin:34px 0 0;

    font-family:var(--font-title);

    font-size:clamp(25px, 6vw, 38px);

    font-weight:300;

    line-height:1;

    letter-spacing:.02em;

    color:#f1ece8;

}


/* ==========================================
   DATE
========================================== */

.signature-date{

    margin-top:14px;

    font-family:var(--font-body);

    font-size:12px;

    font-weight:400;

    letter-spacing:.22em;

    color:#bca6ad;

}


/* ==========================================
   FINAL DIVIDER
========================================== */

.signature-divider{

    width:105px;

    height:1px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    margin-top:68px;

}


.signature-divider span{

    display:block;

    width:42px;

    height:1px;

    background:rgba(188,166,173,.5);

}


.signature-divider i{

    display:block;

    flex:none;

    width:5px;

    height:5px;

    background:#bca6ad;

    transform:rotate(45deg);

}


