/* ==========================================
   VARIABLES
========================================== */

:root {
    --cream: #fff8f4;
    --cream-2: #fff1ec;
    --rose: #d96f79;
    --rose-dark: #9e4554;
    --pink: #f3c8cc;
    --pink-light: #ffe4e4;
    --peach: #f5b99f;
    --wine: #732f3c;
    --yellow: #f1c56a;
    --lavender: #e6dcf4;
    --text: #432f31;
    --muted: #8b7375;
    --white: #ffffff;

    --serif: "Playfair Display", serif;
    --sans: "DM Sans", sans-serif;
}


/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--text);
    font-family: var(--sans);
    overflow-x: hidden;
}

body.invite-locked {
    overflow: hidden;
}

img {
    width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.section {
    padding: 110px max(6vw, 30px);
}


/* ==========================================
   TYPOGRAPHY
========================================== */

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 600;
}

h2 {
    font-size: clamp(45px, 6vw, 72px);
    line-height: .98;
}

h2 em {
    color: var(--rose);
    font-weight: 500;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: .24em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--rose-dark);
}


/* ==========================================
   INVITATION GATE
========================================== */

.invitation-gate {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        radial-gradient(
            circle at 30% 30%,
            #fff 0,
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fff7f3,
            #fbe6e2
        );

    transition:
        opacity 1s ease,
        visibility 1s ease,
        transform 1s ease;
}

.invitation-gate.opened {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
}

.envelope-button {
    border: 0;
    background: transparent;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 30px;
}

.gate-eyebrow {
    font-size: 11px;
    letter-spacing: .35em;
    color: var(--rose-dark);
    font-weight: 700;
}

.envelope {
    width: 350px;
    height: 225px;

    position: relative;
    display: block;

    perspective: 1000px;
}

.envelope-back {
    position: absolute;
    inset: 0;

    background: #eeb6ad;

    border-radius: 8px;

    box-shadow:
        0 30px 80px
        rgba(91, 44, 48, .18);
}

.envelope-letter {
    position: absolute;

    width: 86%;
    height: 85%;

    left: 7%;
    top: 8%;

    background: #fffaf5;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    border-radius: 4px;

    transition: .8s ease;
}

.envelope-letter small {
    font-size: 12px;
    letter-spacing: .16em;
}

.envelope-letter strong {
    margin-top: 18px;

    font-family: var(--serif);
    font-size: 28px;

    color: var(--wine);
}

.envelope-front {
    position: absolute;
    inset: 0;

    background: #e7a99f;

    clip-path: polygon(
        0 40%,
        50% 76%,
        100% 40%,
        100% 100%,
        0 100%
    );

    border-radius: 8px;
}

.envelope-flap {
    position: absolute;
    inset: 0;

    background: #f2c0b7;

    clip-path: polygon(
        0 0,
        100% 0,
        50% 65%
    );

    transform-origin: top;

    transition: transform .7s ease;

    z-index: 4;
}

.envelope-flap i {
    position: absolute;

    left: 50%;
    top: 30%;

    transform:
        translate(-50%, -50%);

    color: white;

    font-style: normal;
    font-size: 24px;
}

.envelope-button:hover .envelope {
    transform: translateY(-5px);
}

.envelope-button.active .envelope-flap {
    transform: rotateX(180deg);
}

.envelope-button.active .envelope-letter {
    transform: translateY(-90px);
}

.wax-seal {
    width: 74px;
    height: 74px;

    position: absolute;

    left: 50%;
    top: 48%;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    background: var(--wine);
    color: #f6c3b5;

    font-family: var(--serif);
    font-size: 14px;

    z-index: 8;

    border:
        4px double
        rgba(255,255,255,.25);

    box-shadow:
        0 8px 25px
        rgba(80,26,36,.35);
}

.tap-open {
    font-size: 12px;

    color: var(--muted);

    letter-spacing: .1em;
}

.tap-open b {
    display: block;

    margin-top: 10px;

    font-size: 18px;

    animation:
        bounce 1.4s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }

}

.gate-decoration {
    position: absolute;

    color: var(--rose);

    opacity: .3;
}

.decoration-one {
    left: 15%;
    top: 20%;

    font-size: 40px;
}

.decoration-two {
    right: 17%;
    bottom: 20%;

    font-size: 55px;
}

.decoration-three {
    right: 22%;
    top: 22%;

    font-size: 24px;
}


/* ==========================================
   NAVIGATION
========================================== */

.nav {
    height: 82px;

    position: fixed;

    left: 0;
    top: 0;

    width: 100%;

    z-index: 1000;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    padding: 0 5vw;

    background:
        rgba(255,248,244,.82);

    backdrop-filter:
        blur(15px);

    border-bottom:
        1px solid
        rgba(120,65,70,.08);
}

.monogram {
    font-family: var(--serif);

    font-size: 23px;
}

.monogram span {
    color: var(--rose);
}

.nav nav {
    display: flex;

    gap: 35px;
}

.nav nav a {
    font-size: 12px;

    font-weight: 600;
}

.nav nav a:hover {
    color: var(--rose);
}

.nav-cta {
    justify-self: end;

    padding: 12px 20px;

    background: var(--wine);

    color: white;

    border-radius: 50px;

    font-size: 12px;
}


/* ==========================================
   MUSIC
========================================== */

.music-toggle {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 900;

    border: 0;

    background: var(--wine);

    color: white;

    border-radius: 50px;

    padding: 11px 18px;

    cursor: pointer;

    display: flex;

    align-items: center;

    gap: 8px;

    box-shadow:
        0 12px 35px
        rgba(75,30,35,.22);
}

.music-toggle span {
    font-size: 17px;
}

.music-toggle b {
    font-size: 11px;
}


/* ==========================================
   HERO
========================================== */

.hero {
    min-height: 100vh;

    padding:
        130px 7vw 70px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 80px;

    position: relative;

    background:
        radial-gradient(
            circle at 80% 20%,
            #ffe3df 0,
            transparent 30%
        ),
        var(--cream);
}

.hero-copy {
    max-width: 650px;
}

.hero h1 {
    font-size:
        clamp(82px, 9vw, 125px);

    line-height: 1;

    margin: 35px 0;
}

.hero h1 em {
    color: var(--rose);

    font-size: .65em;
}

.hero-date {
    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 14px;

    letter-spacing: .08em;
}

.hero-date span {
    color: var(--rose);
}

.hero-date b {
    margin-left: 15px;

    font-weight: 500;
}

.intro {
    margin: 28px 0;

    font-family: var(--serif);

    font-style: italic;

    font-size: 21px;

    line-height: 1.6;
}

.button {
    display: inline-flex;

    align-items: center;

    gap: 20px;

    padding: 16px 26px;

    background: var(--wine);

    color: white;

    border-radius: 50px;

    font-size: 13px;
}

.button span {
    transition: .3s;
}

.button:hover span {
    transform: translateY(3px);
}


/* ==========================================
   HERO ART
========================================== */

.hero-art {
    display: flex;

    justify-content: center;

    position: relative;
}

.arch {
    width: min(430px, 80vw);

    height: 600px;

    border-radius:
        220px 220px 20px 20px;

    overflow: hidden;

    position: relative;

    background: #f5c9c4;

    box-shadow:
        0 40px 100px
        rgba(117,62,69,.18);
}

.hero-photo {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position:
        center bottom;

    position: relative;

    z-index: 2;
}

.marigold-border {
    position: absolute;

    left: 0;
    top: 30px;

    width: 100%;

    text-align: center;

    color: #e69b53;

    letter-spacing: 12px;

    font-size: 23px;

    z-index: 4;
}

.moon {
    width: 180px;
    height: 180px;

    position: absolute;

    right: -40px;
    top: 60px;

    border-radius: 50%;

    background: #fff0d7;
}

.art-label {
    position: absolute;

    left: 50%;
    bottom: 20px;

    transform:
        translateX(-50%);

    background: white;

    padding: 8px 18px;

    border-radius: 50px;

    font-family: var(--serif);

    font-style: italic;

    font-size: 13px;

    z-index: 5;
}

.doodle {
    position: absolute;

    color: var(--rose);

    z-index: 6;

    animation:
        float 4s ease-in-out infinite;
}

.h1 {
    left: 5%;
    top: 30%;
}

.h2 {
    right: 4%;
    bottom: 15%;
}

.f1 {
    right: 3%;
    top: 18%;
}

.f2 {
    left: 7%;
    bottom: 15%;
}

.s1 {
    top: 8%;
    left: 18%;
}

.s2 {
    right: 15%;
    bottom: 5%;
}

@keyframes float {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(0);
    }

    50% {
        transform:
            translateY(-10px)
            rotate(8deg);
    }

}

.scroll-note {
    position: absolute;

    left: 50%;
    bottom: 25px;

    transform:
        translateX(-50%);

    font-size: 9px;

    letter-spacing: .25em;

    color: var(--muted);
}


/* ==========================================
   MARQUEE
========================================== */

.marquee {
    overflow: hidden;

    padding: 18px 0;

    background: var(--wine);

    color: #fff2e8;

    white-space: nowrap;
}

.marquee div {
    width: max-content;

    font-family: var(--serif);

    font-size: 20px;

    letter-spacing: .1em;

    animation:
        marquee 22s linear infinite;
}

.marquee span {
    color: var(--yellow);

    margin: 0 30px;
}

@keyframes marquee {

    to {
        transform:
            translateX(-50%);
    }

}


/* ==========================================
   SECTION HEADINGS
========================================== */

.section-heading {
    margin-bottom: 65px;
}

.section-heading.centered {
    text-align: center;
}

.section-heading .eyebrow {
    margin-bottom: 22px;
}

.section-intro {
    max-width: 600px;

    margin:
        20px auto 0;

    color: var(--muted);
}


/* ==========================================
   STORY
========================================== */

.story {
    background: #fffdf9;
}

.story-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.card {
    border:
        1px solid
        rgba(130,70,75,.13);
}

.story-card {
    min-height: 268px;

    padding: 35px;

    display: flex;

    flex-direction: column;

    background: white;

    border-radius:
        180px 180px 20px 20px;

    text-align: center;
}

.story-card > span {
    font-size: 10px;

    color: var(--muted);
}

.story-icon {
    margin: auto;

    font-size: 45px;

    color: var(--rose);
}

.story-card h3 {
    font-size: 30px;

    margin-bottom: 15px;
}

.story-card p {
    line-height: 1.7;
}

.story-card small {
    font-size: 10px;

    letter-spacing: .1em;
}


/* ==========================================
   COUNTDOWN
========================================== */

.countdown-section {
    background: var(--pink-light);

    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 80px;

    align-items: center;
}

.countdown-copy h2 {
    margin: 25px 0;
}

.countdown {
    width: 100%;

    display: grid;

    grid-template-columns:
        1fr auto
        1fr auto
        1fr auto
        1fr;

    align-items: center;

    text-align: center;
}

.countdown div {
    min-width: 0;

    padding: 25px 10px;
}

.countdown b {
    display: block;

    font-family: var(--serif);

    font-size:
        clamp(45px, 5vw, 80px);

    line-height: 1;

    color: var(--wine);

    font-variant-numeric:
        tabular-nums;
}

.countdown span {
    display: block;

    margin-top: 8px;

    font-size: 10px;

    letter-spacing: .15em;

    text-transform: uppercase;
}

.countdown i {
    font-family: var(--serif);

    font-size: 35px;

    color: var(--rose);
}


/* ==========================================
   EVENTS
========================================== */

.events {
    background: #fff9f4;
}

.event-grid {
    max-width: 800px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;
}

.event-card {
    position: relative;

    overflow: hidden;

    border-radius:
        180px 180px 20px 20px;

    background: white;

    border:
        1px solid
        rgba(105,50,60,.12);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.event-card:hover {
    transform:
        translateY(-8px);

    box-shadow:
        0 25px 60px
        rgba(80,45,50,.12);
}

.event-num {
    position: absolute;

    top: 22px;
    left: 25px;

    width: 36px;
    height: 36px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background: white;

    z-index: 5;

    font-size: 10px;
}

.scene {
    height: 310px;
}

.scene img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.event-info {
    padding: 30px;
}

.event-info h3 {
    font-size: 32px;
}

.event-info p {
    margin: 8px 0 20px;

    color: var(--rose-dark);

    font-family: var(--serif);

    font-style: italic;
}

.event-info small {
    line-height: 1.7;

    font-size: 10px;

    letter-spacing: .08em;
}


/* ==========================================
   SCRATCH SECTION
========================================== */

.scratch-section {
    background: var(--lavender);

    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    align-items: center;

    gap: 150px;
}

.scratch-copy h2 {
    margin: 25px 0;
}

.scratch-copy > span {
    display: inline-block;

    margin-top: 25px;

    font-family: var(--serif);

    font-style: italic;

    color: var(--rose-dark);
}


/* ==========================================
   SCRATCH CARD
========================================== */

.scratch-wrap {
    max-width: 560px;

    width: 100%;

    aspect-ratio: 560 / 320;

    position: relative;

    overflow: hidden;

    border-radius: 20px;

    box-shadow:
        0 30px 70px
        rgba(75,50,85,.15);

    touch-action: none;

    user-select: none;

    -webkit-user-select: none;
}


/* Hidden wedding information */

.scratch-date {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 25px;

    text-align: center;

    background:
        radial-gradient(
            circle,
            #fff 0,
            #fff3f3 100%
        );
}

.scratch-date p {
    font-size: 10px;

    letter-spacing: .25em;

    text-transform: uppercase;
}

.scratch-date b {
    margin: 15px 0;

    font-family: var(--serif);

    font-size: 45px;

    color: var(--wine);
}

.scratch-date span {
    font-size: 10px;

    letter-spacing: .12em;

    line-height: 1.6;
}


/* Canvas */

#scratchCanvas {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 3;

    cursor: grab;

    touch-action: none;

    user-select: none;

    -webkit-user-select: none;
}

#scratchCanvas:active {
    cursor: grabbing;
}


/* Scratch Me */

.scratch-hint {
    position: absolute;

    left: 50%;

    bottom: 25px;

    transform:
        translateX(-50%);

    z-index: 5;

    background: white;

    padding: 8px 16px;

    border-radius: 50px;

    font-family: var(--serif);

    font-style: italic;

    white-space: nowrap;

    pointer-events: none;

    opacity: 1;

    visibility: visible;

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease;
}


/* Hide after first scratch */

.scratch-hint.hide {
    opacity: 0;

    visibility: hidden;

    transform:
        translateX(-50%)
        translateY(8px);

    pointer-events: none;
}


/* ==========================================
   DETAILS / MAP
========================================== */

.details {
    display: grid;

    grid-template-columns:
        .7fr 1.2fr .7fr;

    gap: 25px;

    background: #fffdf9;
}

.detail-card {
    padding: 50px 35px;

    background: white;

    text-align: center;

    display: flex;

    flex-direction: column;

    justify-content: center;

    min-height: 470px;
}

.detail-symbol {
    font-size: 40px;

    color: var(--rose);

    margin-bottom: 25px;
}

.detail-card h2 {
    font-size: 50px;

    margin: 20px 0;
}

.detail-card > p:last-of-type {
    line-height: 1.8;

    color: var(--muted);
}

.map {
    position: relative;

    overflow: hidden;

    min-height: 470px;
}

.map iframe {
    width: 100%;

    height: 100%;

    border: 0;
}

.map-pin {
    width: 55px;

    height: 55px;

    position: absolute;

    left: 50%;

    top: 50%;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--wine);

    color: white;

    box-shadow:
        0 10px 30px
        rgba(80,30,40,.3);
}

.swatches {
    display: flex;

    justify-content: center;

    gap: 8px;

    margin-top: 25px;
}

.swatches i {
    width: 25px;

    height: 25px;

    border-radius: 50%;
}

.swatches i:nth-child(1) {
    background: #e2a09e;
}

.swatches i:nth-child(2) {
    background: #f4d7c5;
}

.swatches i:nth-child(3) {
    background: #a35565;
}

.swatches i:nth-child(4) {
    background: #f1c96f;
}


/* ==========================================
   DRESS CODE
========================================== */

.dress-code {
    background: #fff3ee;
}

.heading-heart {
    margin-top: 25px;

    color: var(--muted);
}

.heading-heart span {
    color: var(--rose);
}

.dress-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 15px;
}

.dress-card {
    padding: 40px 20px;

    text-align: center;

    background: white;

    border-radius:
        100px 100px 15px 15px;

    border:
        1px solid
        rgba(100,50,60,.1);
}

.dress-icon {
    display: block;

    margin-bottom: 25px;

    font-size: 32px;

    color: var(--rose);
}

.dress-card h3 {
    font-size: 21px;
}

.dress-card p {
    margin-top: 10px;

    font-size: 12px;

    color: var(--muted);
}


/* ==========================================
   TRAVEL
========================================== */

.travel {
    background: white;
}

.travel-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.travel-card {
    padding: 35px;

    background: var(--cream);

    border-radius: 12px;
}

.travel-card > span {
    display: block;

    margin-bottom: 30px;

    font-size: 35px;

    color: var(--rose);
}

.travel-card h3 {
    font-size: 25px;

    margin-bottom: 15px;
}

.travel-card p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}


/* ==========================================
   HASHTAG
========================================== */

.hashtag-section {
    text-align: center;

    background: var(--lavender);
}

.hashtag-section h2 {
    margin: 20px 0 30px;
}

.hashtag-section > a {
    display: inline-block;

    font-family: var(--serif);

    font-size:
        clamp(28px, 4vw, 60px);

    color: var(--rose-dark);

    border-bottom:
        2px solid var(--rose);
}

.hashtag-section > p:last-child {
    margin-top: 25px;

    color: var(--muted);
}


/* ==========================================
   FAMILY
========================================== */

.family {
    background: #fffaf6;
}

.family-grid {
    max-width: 1000px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.family-card {
    padding: 50px 30px;

    background: white;

    border:
        1px solid
        rgba(110,60,65,.1);

    text-align: center;

    border-radius:
        150px 150px 15px 15px;
}

.family-icon {
    display: block;

    margin-bottom: 25px;

    font-size: 35px;

    color: var(--rose);
}

.family-role {
    font-size: 10px;

    letter-spacing: .16em;

    color: var(--rose-dark);

    text-transform: uppercase;
}

.family-card h3 {
    margin: 20px 0;

    font-size: 25px;

    line-height: 1.4;
}

.family-note {
    color: var(--muted);

    font-size: 12px;
}


/* ==========================================
   FAQ
========================================== */

.faq {
    background: white;

    display: grid;

    grid-template-columns:
        .7fr 1.3fr;

    gap: 100px;
}

.accordion details {
    border-top:
        1px solid
        rgba(100,50,60,.15);

    padding: 25px 0;
}

.accordion details:last-child {
    border-bottom:
        1px solid
        rgba(100,50,60,.15);
}

.accordion summary {
    list-style: none;

    cursor: pointer;

    display: flex;

    justify-content:
        space-between;

    font-family: var(--serif);

    font-size: 22px;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary span {
    color: var(--rose);
}

.accordion details[open] summary span {
    transform: rotate(45deg);
}

.accordion details p {
    max-width: 600px;

    margin-top: 20px;

    color: var(--muted);

    line-height: 1.8;
}


/* ==========================================
   FOOTER
========================================== */

footer {
    min-height: 600px;

    padding: 100px 30px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    background: var(--wine);

    color: #fff7ef;
}

.footer-flower {
    font-size: 50px;

    color: var(--yellow);

    margin-bottom: 25px;
}

footer .eyebrow {
    color: #efb8af;
}

footer h2 {
    margin: 30px 0;

    font-size:
        clamp(45px, 6vw, 70px);
}

footer h2 em {
    color: #f1b2a8;
}

.footer-monogram {
    margin-top: 30px;

    font-family: var(--serif);

    font-size: 28px;
}

.footer-monogram span {
    color: #efb0a7;
}

.copyright {
    margin-top: 40px;

    font-size: 10px;

    letter-spacing: .2em;

    opacity: .7;
}


/* ==========================================
   SCROLL REVEAL
========================================== */

.reveal {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* ==========================================
   FLOATING PETALS
========================================== */

.petals {
    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: 500;

    overflow: hidden;
}

.petals i {
    position: absolute;

    top: -30px;

    color:
        rgba(212,103,116,.45);

    font-style: normal;

    animation:
        petalFall linear infinite;
}

.petals i:nth-child(1) {
    left: 10%;
    animation-duration: 10s;
}

.petals i:nth-child(2) {
    left: 25%;
    animation-duration: 14s;
    animation-delay: 2s;
}

.petals i:nth-child(3) {
    left: 42%;
    animation-duration: 11s;
    animation-delay: 5s;
}

.petals i:nth-child(4) {
    left: 60%;
    animation-duration: 16s;
    animation-delay: 3s;
}

.petals i:nth-child(5) {
    left: 78%;
    animation-duration: 12s;
    animation-delay: 6s;
}

.petals i:nth-child(6) {
    left: 90%;
    animation-duration: 15s;
    animation-delay: 1s;
}

@keyframes petalFall {

    0% {
        transform:
            translateY(-40px)
            rotate(0deg);
    }

    100% {
        transform:
            translateY(110vh)
            rotate(360deg);
    }

}


/* ==========================================
   CURSOR
========================================== */

.cursor-glow {
    position: fixed;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    pointer-events: none;

    z-index: -1;

    background:
        radial-gradient(
            circle,
            rgba(245,185,175,.12),
            transparent 65%
        );

    transform:
        translate(-50%, -50%);
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1000px) {

    .nav nav {
        display: none;
    }

    .nav {
        grid-template-columns:
            1fr 1fr;
    }

    .hero {
        grid-template-columns: 1fr;

        text-align: center;

        padding-top: 140px;
    }

    .hero-copy {
        margin: auto;
    }

    .hero-date {
        justify-content: center;

        flex-wrap: wrap;
    }

    .arch {
        height: 550px;
    }

    .story-grid,
    .event-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .countdown-section,
    .scratch-section {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .details {
        grid-template-columns: 1fr;
    }

    .map {
        height: 450px;
    }

    .dress-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .travel-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .faq {
        grid-template-columns: 1fr;

        gap: 30px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 650px) {

    .section {
        padding: 80px 20px;
    }

    .nav {
        height: 70px;

        padding: 0 20px;
    }

    .nav-cta {
        padding: 9px 15px;
    }

    .hero {
        padding:
            110px 20px 70px;

        gap: 45px;
    }

    .hero h1 {
        font-size: 74px;
    }

    .hero-date b {
        width: 100%;

        margin-left: 0;
    }

    .arch {
        width: 310px;

        height: 450px;
    }

    .story-grid,
    .event-grid,
    .family-grid {
        grid-template-columns: 1fr;
    }

    .story-card {
        min-height: 340px;
    }


    /* =========================
       MOBILE COUNTDOWN
    ========================= */

    .countdown-section {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .countdown {
        width: 100%;

        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            );

        gap: 3px;
    }

    .countdown div {
        min-width: 0;

        padding: 18px 2px;
    }

    .countdown i {
        display: none;
    }

    .countdown b {
        font-size:
            clamp(
                26px,
                9vw,
                37px
            );

        line-height: 1;
    }

    .countdown span {
        margin-top: 8px;

        font-size: 7px;

        letter-spacing: .06em;
    }


    /* Events */

    .scene {
        height: 330px;
    }


    /* =========================
       MOBILE SCRATCH
    ========================= */

    .scratch-section {
        gap: 40px;
    }

    .scratch-wrap {
        width: 100%;

        max-width: 560px;

        border-radius: 16px;
    }

    .scratch-date {
        padding: 20px;
    }

    .scratch-date b {
        font-size: 30px;
    }

    .scratch-date p {
        font-size: 8px;
    }

    .scratch-date span {
        font-size: 8px;

        padding: 0 15px;
    }

    .scratch-hint {
        bottom: 18px;

        padding: 7px 14px;

        font-size: 13px;
    }


    /* Other */

    .dress-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .travel-grid {
        grid-template-columns: 1fr;
    }

    .envelope {
        width: 290px;

        height: 190px;
    }

    .wax-seal {
        width: 64px;

        height: 64px;
    }

    .music-toggle b {
        display: none;
    }

    .music-toggle {
        width: 48px;

        height: 48px;

        padding: 0;

        justify-content: center;
    }

}


/* ==========================================
   VERY SMALL DEVICES
========================================== */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 62px;
    }

    .dress-grid {
        grid-template-columns: 1fr;
    }

    .arch {
        width: 280px;

        height: 410px;
    }


    /* Countdown */

    .countdown {
        gap: 1px;
    }

    .countdown div {
        padding: 15px 1px;
    }

    .countdown b {
        font-size: 28px;
    }

    .countdown span {
        font-size: 6.5px;

        letter-spacing: .03em;
    }


    /* Scratch */

    .scratch-date b {
        font-size: 27px;
    }

    .scratch-hint {
        bottom: 14px;

        font-size: 12px;
    }

}