/* ============ MAP ============ */
.map-wrapper {
    margin-top: 1.2rem;
    border-radius: 1.3rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1.1s var(--ease-smooth) 0.45s, transform 1.1s var(--ease-smooth) 0.45s, box-shadow 0.3s ease;
}
.map-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}
.map-frame {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
    border-radius: 1.3rem;
}
.map-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    text-align: center;
}
.maps-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    width: 100%;
}
.map-link {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.6);
    border-bottom: 1px dashed rgba(0, 0, 0, 0.3);
    text-decoration: none;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 1.1s ease 0.6s, transform 1.1s var(--ease-smooth) 0.6s, color 0.25s;
}
.map-link:hover {
    color: #000;
    border-bottom-color: #000;
}
.map-toggle-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin: 0.8rem auto 0;
    padding: 0.55rem 1.2rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.35s ease;
    opacity: 0;
    transform: translateY(12px);
}
.map-toggle-btn:hover {
    background: rgba(255, 180, 80, 0.22);
    border-color: rgba(255, 180, 80, 0.5);
}

/* ============ TIMELINE ============ */
.schedule-wrapper {
    max-width: 820px;
    width: 100%;
    padding: 2.5rem 2.8rem;
    position: relative;
    overflow-y: auto;
    max-height: 90vh;
}
.schedule-wrapper h3 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(-35px);
    transition: all 0.9s var(--ease-smooth);
}
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    margin-bottom: 1.5rem;
}
.timeline-item {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 0.85rem 1rem;
    opacity: 0;
    transform: translateX(-50px);
    position: relative;
    z-index: 2;
    cursor: pointer;
    border-radius: 60px;
    transition: opacity 0.7s var(--ease-smooth), transform 0.35s ease, background 0.6s ease, box-shadow 0.6s ease;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 0.35rem;
}
.timeline-item:hover {
    background: rgba(10, 14, 20, 0.62);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transform: translateX(8px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}
.tl-dot {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.45s var(--ease-bounce);
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    z-index: 1;
    position: relative;
    will-change: transform;
}
.tl-dot:hover {
    transform: scale(1.2) rotate(5deg);
    background: rgba(255, 200, 100, 0.5);
    border-color: #ffd080;
    box-shadow: 0 0 28px rgba(255, 200, 80, 0.55);
}
.tl-dot.lit {
    background: rgba(255, 195, 90, 0.85);
    border-color: #ffd966;
    box-shadow: 0 0 32px rgba(255, 190, 60, 0.8);
    animation: dotShakeGlow 0.7s var(--ease-bounce) forwards, dotPulseGlow 2.2s ease-in-out 0.7s infinite;
}
@keyframes dotShakeGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(255, 190, 60, 0.3);
    }
    40% {
        transform: scale(1.35) rotate(6deg);
        box-shadow: 0 0 48px rgba(255, 210, 80, 1);
    }
    70% {
        transform: scale(1.08) rotate(-3deg);
        box-shadow: 0 0 28px rgba(255, 190, 60, 0.7);
    }
    85% {
        transform: scale(1.22) rotate(2deg);
        box-shadow: 0 0 38px rgba(255, 200, 70, 0.9);
    }
    100% {
        transform: scale(1.14);
        box-shadow: 0 0 32px rgba(255, 190, 60, 0.8);
    }
}
@keyframes dotPulseGlow {
    0%,
    100% {
        transform: scale(1.14);
        box-shadow: 0 0 32px rgba(255, 190, 60, 0.8);
    }
    30% {
        transform: scale(1.2) rotate(1.5deg);
        box-shadow: 0 0 44px rgba(255, 210, 80, 0.95);
    }
    60% {
        transform: scale(1.1) rotate(-1deg);
        box-shadow: 0 0 28px rgba(255, 180, 55, 0.7);
    }
}
.tl-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    min-width: 0;
}
.tl-time {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-family: var(--sans);
}
.timeline-item:hover .tl-time {
    color: #ffd966;
    text-shadow: 0 0 6px rgba(255, 200, 80, 0.5);
    transform: scale(1.04);
}
.tl-name {
    font-size: 1.05rem;
    font-weight: 400;
    transition: color 0.3s ease;
}
.timeline-item:hover .tl-name {
    color: #ffe0a3;
}
.tl-addr {
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateX(12px);
    transition: all 0.65s ease 0.3s;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.25rem 0.7rem;
    border-radius: 1rem;
    display: inline-block;
    margin-top: 0.2rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
#s3.active .tl-addr {
    opacity: 1;
    transform: translateX(0);
}
.tl-route-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.45rem;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    background: rgba(255, 180, 80, 0.16);
    border: 1px solid rgba(255, 180, 80, 0.45);
    color: #ffffff;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s ease;
    opacity: 0;
    transform: translateY(12px);
}
.tl-route-btn i {
    font-size: 0.8rem;
}
.tl-route-btn:hover {
    background: rgba(255, 180, 80, 0.32);
    border-color: #ffd080;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(255, 180, 80, 0.25);
    transform: translateY(-2px);
}
#s3.active .tl-route-btn {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease 0.5s, transform 0.7s var(--ease-bounce) 0.5s, background 0.35s, border-color 0.35s;
}

/* ============ DRESS CODE ============ */
.dresscode-inner {
    max-width: 850px;
    text-align: center;
    padding: 0 1rem;
}
.dresscode-inner h2 {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 5.5vw, 4.5rem);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 0.4rem;
    opacity: 0;
    transform: translateY(-45px);
    transition: all 0.9s var(--ease-smooth);
}
.dresscode-inner .sub {
    font-size: 0.7rem;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(-18px);
    transition: all 0.8s var(--ease-smooth) 0.12s;
}
.dresscode-inner .dress-note {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 1.8rem;
    font-style: italic;
    opacity: 0;
    transform: translateY(28px);
    transition: all 1.1s ease 0.55s;
}
.dress-text {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.dress-text p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translateY(28px);
    transition: all 1s var(--ease-smooth);
}
.dress-text p.dress-lead {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
}
.dress-text p.dress-guys {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.2rem;
    color: #ffc878;
}
.dresscode-inner .dress-text p:nth-child(2) {
    transition-delay: 0.18s;
}
.dresscode-inner .dress-text p:nth-child(3) {
    transition-delay: 0.36s;
}

/* ============ RSVP & MENU ============ */
.rsvp-card {
    max-width: 680px;
    width: 100%;
    padding: 2.8rem 2.8rem;
}
.rsvp-card h2 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 300;
    font-style: italic;
    text-align: center;
    margin-bottom: 1.8rem;
    opacity: 0;
    transform: translateY(-35px);
    transition: all 0.9s var(--ease-smooth);
}
.field-label {
    font-size: 0.6rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
    display: block;
}
.name-row {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    margin-bottom: 1.3rem;
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.9s var(--ease-smooth) 0.1s;
}
.no-guest-msg {
    margin: -0.2rem 0 1.3rem;
    padding: 0.9rem 1.2rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.9s var(--ease-smooth);
}
input[type="text"],
textarea {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-family: var(--sans);
    color: #fff;
    width: 100%;
    outline: none;
    transition: all 0.3s ease;
}
textarea {
    border-radius: 1.4rem;
    resize: vertical;
    background: rgba(255, 255, 255, 0.05);
}
input[type="text"]:focus,
textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.11);
}
input[type="text"]:disabled {
    background: transparent;
    border-color: transparent;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-style: italic;
    padding-left: 0.2rem;
    color: #fff;
    letter-spacing: 0.5px;
}
.toggle-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.3rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.8rem;
    opacity: 0;
    transform: translateY(25px);
}
.toggle-row:hover {
    background: rgba(255, 255, 255, 0.11);
}
.toggle-pill {
    width: 42px;
    height: 22px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    position: relative;
    flex-shrink: 0;
    transition: background 0.3s ease;
}
.toggle-pill::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    top: 2px;
    left: 2px;
    transition: transform 0.35s var(--ease-bounce);
}
.toggle-row.on .toggle-pill {
    background: rgba(255, 180, 80, 0.55);
    border-color: rgba(255, 180, 80, 0.6);
}
.toggle-row.on .toggle-pill::after {
    transform: translateX(20px);
}
.plus-block {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.55s var(--ease-smooth);
}
.plus-block.open {
    max-height: 280px;
}
.gastro-card {
    max-width: 950px;
    width: 100%;
    padding: 2.2rem 2.6rem;
    margin-bottom: 1.2rem;
    opacity: 0;
}
.gastro-card h3 {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateX(-35px);
    transition: all 0.8s var(--ease-smooth);
}
.cat-label {
    font-size: 0.6rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.7rem;
    margin-top: 1rem;
}
.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.9rem;
}
.option-tile {
    padding: 1.1rem 0.9rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    cursor: pointer;
    transition: all 0.35s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    position: relative;
    overflow: hidden;
}
.option-tile:hover {
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-3px);
}
.option-tile.active {
    background: rgba(255, 180, 80, 0.18);
    border-color: rgba(255, 180, 80, 0.45);
    box-shadow: 0 0 22px rgba(255, 180, 80, 0.14);
}
.option-tile i {
    font-size: 1.5rem;
    color: rgba(255, 200, 120, 0.85);
    transition: color 0.3s ease;
}
.option-tile.active i {
    color: #ffd080;
}
.option-tile h5 {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0.15rem 0;
}
.option-tile p {
    font-size: 0.65rem;
    opacity: 0.65;
    margin: 0;
}
.drink-tile.active::after {
    content: '✓';
    position: absolute;
    top: 0.45rem;
    right: 0.55rem;
    width: 1.3rem;
    height: 1.3rem;
    line-height: 1.2rem;
    border-radius: 50%;
    background: rgba(255, 180, 80, 0.9);
    color: #1e1e2a;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
}

/* ============ MENU — ENTRANCE ANIMATIONS ============ */
#s6.active .gastro-card {
    animation: cardRise 0.7s var(--ease-smooth) both;
}
#s6.active .gastro-card:nth-of-type(1) { animation-delay: 0.05s; }
#s6.active .gastro-card:nth-of-type(2) { animation-delay: 0.18s; }
#s6.active .gastro-card:nth-of-type(3) { animation-delay: 0.31s; }

#s6.active .option-tile {
    animation: tilePop 0.5s var(--ease-bounce) both;
}
#s6.active .option-tile:nth-child(1) { animation-delay: 0.15s; }
#s6.active .option-tile:nth-child(2) { animation-delay: 0.23s; }
#s6.active .option-tile:nth-child(3) { animation-delay: 0.31s; }
#s6.active .option-tile:nth-child(4) { animation-delay: 0.39s; }
#s6.active .option-tile:nth-child(5) { animation-delay: 0.47s; }
#s6.active .option-tile:nth-child(6) { animation-delay: 0.55s; }

@keyframes cardRise {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes tilePop {
    0% { opacity: 0; transform: translateY(18px) scale(0.85); }
    60% { opacity: 1; transform: translateY(-4px) scale(1.05); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.btn-submit {
    width: 100%;
    max-width: 950px;
    padding: 1.1rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(28px);
    margin-top: 0.8rem;
}
.btn-submit:hover {
    background: rgba(255, 180, 80, 0.22);
    border-color: rgba(255, 180, 80, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 180, 80, 0.15);
}
.btn-continue {
    width: 100%;
    padding: 1rem 1.4rem;
    border-radius: 100px;
    background: rgba(255, 180, 80, 0.18);
    border: 1px solid rgba(255, 180, 80, 0.5);
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(28px);
    margin-top: 1.4rem;
}
.btn-continue i {
    font-size: 1rem;
    color: #ffd080;
    transition: transform 0.4s var(--ease-smooth);
}
.btn-continue:hover {
    background: rgba(255, 180, 80, 0.32);
    border-color: #ffd080;
    box-shadow: 0 8px 28px rgba(255, 180, 80, 0.2);
    transform: translateY(-3px);
}
.btn-continue:hover i {
    transform: translateX(5px);
}
.rsvp-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    margin-top: 1.6rem;
}
.btn-ghost {
    padding: 0.85rem 1.3rem;
    border-radius: 100px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.35s ease;
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}
.rsvp-btn {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease 0.32s, transform 0.7s var(--ease-bounce) 0.32s, background 0.35s, border-color 0.35s;
}
.not-me-form {
    max-width: 420px;
    margin: 1rem auto 0;
    display: none;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.3rem 1.5rem;
    border-radius: 1.3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}
.not-me-form.open {
    display: flex;
}
.not-me-form p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
}
.not-me-form input {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-align: center;
    font-size: 0.95rem;
}
.not-me-form input:focus {
    outline: none;
    border-color: rgba(255, 180, 80, 0.55);
}

/* ============ FOOTER ============ */
footer {
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
    text-align: center;
    padding: 2rem;
}
footer p {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4.5vw, 3.5rem);
    font-style: italic;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(35px);
    transition: all 1.1s var(--ease-smooth);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}
footer .footer-sub {
    font-size: 0.7rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-style: normal;
    font-family: var(--sans);
    opacity: 0;
    transform: translateY(18px);
    transition: all 0.9s ease 0.2s;
}

/* ============ ACTIVE STATE REVEALS ============ */
section.active .hero-eyebrow,
section.active .hero-date-row,
section.active .name-left,
section.active .name-right,
section.active .name-and,
section.active .countdown,
section.active .intro-tag,
section.active .intro-heading,
section.active .intro-body,
section.active .story-panel h3,
section.active .story-panel p,
section.active .map-wrapper,
section.active .map-link,
section.active .schedule-wrapper h3,
section.active .timeline-item,
section.active .dresscode-inner h2,
section.active .dresscode-inner .sub,
section.active .dress-note,
section.active .dress-text p,
section.active .rsvp-card h2,
section.active .name-row,
section.active .toggle-row,
section.active .rsvp-btn,
section.active .btn-continue,
section.active .no-guest-msg,
section.active .gastro-card h3,
section.active .btn-submit,
footer.active p,
footer.active .footer-sub {
    opacity: 1 !important;
    transform: none !important;
    filter: blur(0) !important;
}

/* ============ S1 CLOUDS ============ */
.cloud {
    position: absolute;
    top: 8%;
    left: 100%;
    width: 300px;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
}
.cloud-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 14px 24px rgba(70, 90, 120, 0.18));
    transform-origin: 50% 90%;
}
#s1.active .cloud {
    opacity: 1;
    animation: cloudDrift 26s ease-out 0.2s forwards;
    transition: opacity 1s ease;
}
@keyframes cloudDrift {
    0% {
        left: 100%;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    100% {
        left: var(--cloud-x, 28%);
        opacity: 1;
    }
}
/* Slow pendulum swing once reached its spot */
#s1.active .cloud-img {
    animation: cloudSwing 7.5s ease-in-out 4s infinite;
}
@keyframes cloudSwing {
    0%,
    100% {
        transform: rotate(-6deg);
    }
    50% {
        transform: rotate(6deg);
    }
}

/* ---- Cloud 2: higher, smaller, enters from upper area --- */
.cloud-2 {
    top: 3%;
    width: 220px;
}
#s1.active .cloud-2 {
    animation: cloudDrift2 32s ease-out 0.4s forwards;
    opacity: 0.82;
}
@keyframes cloudDrift2 {
    0% {
        left: 120%;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    100% {
        left: var(--cloud-x, 12%);
        opacity: 1;
    }
}
#s1.active .cloud-2 .cloud-img {
    animation: cloudSwing2 10.5s ease-in-out 6s infinite;
}
@keyframes cloudSwing2 {
    0%,
    100% {
        transform: rotate(-3deg);
    }
    50% {
        transform: rotate(9deg);
    }
}

/* ---- Cloud 3: lowest, larger drift, different swing --- */
.cloud-3 {
    top: 15%;
    width: 240px;
}
#s1.active .cloud-3 {
    animation: cloudDrift3 38s ease-out 0.6s forwards;
    opacity: 0.72;
}
@keyframes cloudDrift3 {
    0% {
        left: 110%;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    100% {
        left: var(--cloud-x, 34%);
        opacity: 1;
    }
}
#s1.active .cloud-3 .cloud-img {
    animation: cloudSwing3 13.5s ease-in-out 8s infinite;
}
@keyframes cloudSwing3 {
    0%,
    100% {
        transform: rotate(-8deg);
    }
    50% {
        transform: rotate(4deg);
    }
}

/* ============ NAVIGATION DOTS ============ */
#progress-dots {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
#progress-dots.visible {
    opacity: 1;
    pointer-events: auto;
}
.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s var(--ease-bounce);
    cursor: pointer;
}
.dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}
#dot-tooltip {
    position: fixed;
    background: rgba(25, 25, 35, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 5px 13px;
    border-radius: 40px;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    font-weight: 500;
    pointer-events: none;
    z-index: 200;
    white-space: nowrap;
    transition: opacity 0.22s ease;
    opacity: 0;
    font-family: var(--sans);
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD4A3, #FF9F7A, #C95E8C);
    z-index: 200;
    transition: width 0.35s ease;
    width: 0%;
    border-radius: 0 2px 2px 0;
}

/* ============ RIPPLE & NOTIFICATIONS ============ */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleAnim 0.6s linear;
    pointer-events: none;
}
@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
::-webkit-scrollbar {
    display: none;
}
.notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 11px 22px;
    border-radius: 60px;
    color: #fff;
    font-size: 0.85rem;
    z-index: 300;
    opacity: 0;
    transition: all 0.35s var(--ease-bounce);
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 0.5px;
}
.notification.show {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}
