/*
 * Royal Dream Events — new design (Lola's mockup, "Royal Dream Events - 17").
 * Ivory, blush, soft mauve, champagne gold and plum; Cormorant Garamond
 * headings with Jost body text. Loaded after Bootstrap 5.3 (grid, navbar,
 * dropdown); everything here is prefixed rde-.
 */

:root {
    --ivory: #fbf7f4;
    --ivory-2: #f6eee9;
    --white: #fffdfb;
    --blush: #f5e4e7;
    --blush-2: #ecd3d9;
    --mauve: #b48aa3;
    --mauve-soft: #efe4ec;
    --plum: #4b1d45;
    --plum-2: #6a2d5e;
    --plum-deep: #34102f;
    --gold: #c9a35f;
    --gold-light: #ead7a8;
    --gold-dark: #9c7634;
    --ink: #3d2c39;
    --ink-soft: #6c5867;
    --line: rgba(201, 163, 95, 0.45);
    --radius: 16px;
    --shadow: 0 14px 34px -18px rgba(75, 29, 69, 0.35);
    --shadow-lg: 0 24px 50px -24px rgba(75, 29, 69, 0.45);
    --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --header-h: 96px;
    --gold-grad: linear-gradient(135deg, #f0dfb4 0%, #dcbc7c 42%, #c79f5a 72%, #b98f4b 100%);
}

/* ---------- Base ---------- */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    color: var(--plum);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: 0.005em;
}

a {
    color: var(--plum-2);
    text-decoration-color: rgba(156, 118, 52, 0.55);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--gold-dark);
}

:focus-visible {
    outline: 2px solid var(--gold-dark);
    outline-offset: 3px;
    border-radius: 4px;
}

img {
    max-width: 100%;
    height: auto;
    /* Photo protection ("Royal Dream Events - 19"): no dragging photos out of
       the page, no selecting them, no iPhone long-press "Save to Photos".
       site.js also blocks right-click / long-press menus on photos. */
    -webkit-user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.rde-lb-link,
.rde-card {
    -webkit-touch-callout: none; /* links around photos: no long-press image menu either */
}

.rde-center {
    text-align: center;
}

.rde-skip {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 2000;
    background: var(--plum);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 8px;
}

.rde-skip:focus {
    left: 8px;
    color: #fff;
}

.rde-preview-bar {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 1090;
    background: rgba(52, 16, 47, 0.88);
    color: var(--gold-light);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .rde-preview-bar span {
        display: none;
    }
}

.container-xl {
    max-width: 1340px;
    --bs-gutter-x: 2.5rem; /* 20px side padding */
}

@media (min-width: 992px) {
    .col-lg-7.rde-content {
        padding-right: 2.5rem;
    }
}

/* ---------- Buttons ---------- */

.rde-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.7rem;
    border-radius: 999px;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        filter 0.25s ease;
}

.rde-btn i {
    font-size: 0.8em;
    transition: transform 0.25s ease;
}

.rde-btn:hover i {
    transform: translateX(3px);
}

.rde-btn-gold {
    background: var(--gold-grad);
    color: var(--plum-deep);
    box-shadow:
        0 10px 22px -12px rgba(156, 118, 52, 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.rde-btn-gold:hover {
    color: var(--plum-deep);
    transform: translateY(-2px);
    filter: brightness(1.04) saturate(1.05);
    box-shadow:
        0 16px 28px -14px rgba(156, 118, 52, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.rde-btn-outline {
    background: rgba(255, 253, 251, 0.6);
    color: var(--plum);
    border-color: var(--gold);
}

.rde-btn-outline:hover {
    background: var(--blush);
    color: var(--plum);
    transform: translateY(-2px);
}

.rde-btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(234, 215, 168, 0.75);
}

.rde-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

.rde-btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.rde-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

/* ---------- Header ---------- */

/* Solid on every page: the homepage photos sit under a dark overlay, so the
   menu needs its own ivory background there too. */
.rde-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    padding: 12px 0;
    background: rgba(251, 247, 244, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -24px rgba(75, 29, 69, 0.6);
    transition:
        box-shadow 0.35s ease,
        padding 0.35s ease;
}

.rde-header.is-scrolled {
    padding: 6px 0;
}

.rde-header .navbar {
    padding: 0;
}

.rde-header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Logo lockup: Lola's crown-and-cloud emblem + gold lettering. The emblem only
   gets a height (never a width), so it keeps its proportions, and the same
   size on every page. */
.rde-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.rde-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.rde-lockup picture {
    display: block;
    flex-shrink: 0;
}

.rde-logo-emblem {
    display: block;
    width: auto;
    max-width: none;
    height: var(--logo-h, 58px);
}

.rde-wordmark {
    display: inline-grid;
    justify-items: center;
    line-height: 1;
    color: var(--gold-dark);
}

.rde-wm-crown {
    width: 30px;
    height: 19px;
    color: var(--gold);
    margin-bottom: 1px;
}

.rde-wm-main {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 2.05rem;
    letter-spacing: 0.01em;
    background: linear-gradient(180deg, #d7b674 0%, #b68d48 55%, #9c7634 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 0 2px 2px;
}

.rde-wm-sub {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 0.62rem;
    letter-spacing: 0.48em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-top: 2px;
    padding-left: 0.48em;
}

.rde-wm-sub i {
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.rde-wm-sub i:last-child {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.rde-nav {
    margin: 0 auto;
    gap: 0.25rem;
}

.rde-nav .nav-item {
    position: relative;
}

.rde-nav .nav-link {
    color: var(--plum);
    font-size: 0.97rem;
    font-weight: 400;
    padding: 0.5rem 0.7rem !important;
    position: relative;
    white-space: nowrap;
}

.rde-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.15rem;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.rde-nav .nav-link:hover,
.rde-nav .nav-link.active {
    color: var(--plum);
}

.rde-nav .nav-link:hover::after,
.rde-nav .nav-link.active::after {
    transform: scaleX(1);
}

.rde-has-sub {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.rde-sub-toggle {
    border: 0;
    background: none;
    color: var(--plum);
    padding: 0.35rem 0.3rem;
    margin-left: -0.55rem;
    font-size: 0.65rem;
    line-height: 1;
}

.rde-dropdown {
    border: 1px solid rgba(201, 163, 95, 0.3);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    padding: 0.55rem;
    min-width: 250px;
    margin-top: 0 !important;
}

.rde-dropdown .dropdown-item {
    border-radius: 9px;
    color: var(--plum);
    padding: 0.55rem 0.9rem;
    font-size: 0.95rem;
}

.rde-dropdown .dropdown-item:hover,
.rde-dropdown .dropdown-item:focus {
    background: var(--blush);
    color: var(--plum);
}

/* Build Your Party Online, top right. One copy shows per width:
   -compact next to the menu button (tablets), -desktop at the end of the
   full menu (computers); phones get .rde-mbar at the bottom instead. */
.rde-header-cta {
    padding: 0.7rem 1.35rem;
    font-size: 0.92rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.rde-header-cta-compact {
    display: none;
}

.rde-burger {
    border: 0;
    width: 46px;
    height: 46px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 12px;
    background: rgba(255, 253, 251, 0.7);
    flex-shrink: 0;
}

.rde-burger:focus {
    box-shadow: none;
}

.rde-burger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--plum);
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.rde-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.rde-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.rde-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1200px) {
    .rde-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
    }

    /* Hover opens the services list on desktop; the chevron button also works with keyboard/touch. */
    @media (hover: hover) {
        .rde-has-sub:hover > .rde-dropdown {
            display: block;
        }
    }
}

/* Below 1200px the logo, six menu links and the gold button don't fit on one
   line: the links fold into the menu button, the gold button stays. */
@media (max-width: 1199.98px) {
    .rde-header-inner {
        flex-wrap: wrap;
        gap: 0 1rem;
    }

    .rde-header-cta-compact {
        display: inline-flex;
        margin-left: auto;
    }

    .rde-header-cta-desktop {
        display: none;
    }

    .rde-burger {
        display: flex;
    }

    .navbar-collapse {
        flex-basis: 100%;
        max-height: calc(100vh - 90px);
        max-height: calc(100dvh - 90px);
        overflow-y: auto;
    }

    .rde-nav {
        padding: 0.75rem 0 0.75rem;
        gap: 0;
    }

    .rde-nav .nav-item {
        border-bottom: 1px solid rgba(201, 163, 95, 0.2);
    }

    .rde-nav .nav-link {
        font-size: 1.08rem;
        padding: 0.8rem 0.25rem !important;
    }

    .rde-nav .nav-link::after {
        display: none;
    }

    .rde-has-sub .nav-link {
        flex: 1;
    }

    .rde-sub-toggle {
        margin: 0;
        padding: 0.8rem 0.9rem;
        font-size: 0.8rem;
    }

    .rde-dropdown {
        flex-basis: 100%;
        border: 0;
        box-shadow: none;
        background: var(--blush);
        margin-bottom: 0.75rem !important;
    }
}

@media (max-width: 991.98px) {
    :root {
        --header-h: 76px;
    }

    .rde-header {
        background: rgba(251, 247, 244, 0.96);
        padding: 6px 0;
    }

    .rde-logo-emblem {
        height: min(var(--logo-h, 58px), 50px);
    }

    .rde-lockup {
        gap: 0.6rem;
    }

    .rde-wm-main {
        font-size: 1.65rem;
    }

    .rde-wm-crown {
        width: 24px;
        height: 15px;
    }

    .rde-wm-sub {
        font-size: 0.55rem;
    }
}

@media (max-width: 767.98px) {
    .rde-header-cta-compact {
        display: none;
    }

    .rde-burger {
        margin-left: auto;
    }

    /* The open menu stops above the gold button at the bottom of the screen. */
    .navbar-collapse {
        max-height: calc(100vh - 150px);
        max-height: calc(100dvh - 150px);
    }
}

@media (max-width: 575.98px) {
    .rde-logo-emblem {
        height: min(var(--logo-h, 58px), 44px);
    }

    .rde-lockup {
        gap: 0.5rem;
    }

    .rde-wm-main {
        font-size: 1.45rem;
    }

    .rde-wm-sub {
        font-size: 0.5rem;
    }

    .rde-wm-sub i {
        width: 18px;
    }
}

/* ---------- Home hero (slideshow) ---------- */

/* Full-width photos under the same dark overlay as the original homepage
   masthead (components/masthead.php: black 80% at the top to 70% at the
   bottom), with the words in white and gold on top. */
.rde-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(600px, 88vh, 860px);
    padding: calc(var(--header-h) + 40px) 0 150px;
    /* Dark behind the photos while they load; ivory along the bottom edge
       (under the wave), so no dark hairline shows below the banner. */
    background: linear-gradient(180deg, #1d0f1b calc(100% - 40px), var(--ivory) calc(100% - 40px));
    color: #fff;
    overflow: hidden;
}

.rde-hero-media {
    position: absolute;
    /* Ends just above the bottom edge, which the ivory wave covers anyway:
       the zooming photo is drawn on its own layer and would otherwise leave a
       1px line of photo under the banner. */
    inset: 0 0 4px 0;
}

.rde-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7));
}

.rde-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.6s ease;
}

.rde-slide.is-active {
    opacity: 1;
}

.rde-slide picture,
.rde-slide img {
    display: block;
    width: 100%;
    height: 100%;
}

.rde-slide img {
    object-fit: cover;
    transform: scale(1.07);
    transition: transform 9s ease-out;
}

.rde-slide.is-active img {
    transform: scale(1);
}

.rde-hero-inner {
    position: relative;
    z-index: 2;
}

.rde-hero-text {
    max-width: 640px;
}

.rde-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.1rem;
}

.rde-hero-title {
    font-weight: 500;
    font-size: clamp(2.7rem, 5.2vw, 4.6rem);
    line-height: 1.02;
    margin: 0 0 1.4rem;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.rde-hero-title span,
.rde-hero-title em {
    display: block;
}

.rde-hero-title em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold-light);
}

.rde-hero-lead {
    font-size: 1.22rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 36ch;
    margin: 0;
}

.rde-hero-controls {
    position: absolute;
    z-index: 3;
    right: max(24px, calc((100vw - 1320px) / 2 + 12px));
    bottom: 84px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 253, 251, 0.78);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow);
}

.rde-hero-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    color: var(--plum);
    font-size: 0.8rem;
    display: grid;
    place-items: center;
    transition: background-color 0.2s ease;
}

.rde-hero-arrow:hover {
    background: var(--blush);
}

.rde-hero-dots {
    display: flex;
    gap: 0.45rem;
}

.rde-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--gold-dark);
    background: transparent;
    transition:
        width 0.3s ease,
        background-color 0.3s ease;
}

.rde-dot.is-active {
    width: 26px;
    background: var(--gold);
    border-color: var(--gold);
}

.rde-hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 70px;
    color: var(--ivory);
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .rde-hero {
        min-height: clamp(540px, 86vh, 760px);
        padding: calc(var(--header-h) + 36px) 0 150px;
    }

    .rde-hero-lead {
        max-width: none;
    }

    .rde-hero-controls {
        right: 50%;
        transform: translateX(50%);
        bottom: 76px;
    }
}

@media (max-width: 575.98px) {
    .rde-hero-title {
        font-size: 2.55rem;
    }

    .rde-hero-lead {
        font-size: 1.1rem;
    }

    .rde-eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.16em;
    }

    .rde-btn-row .rde-btn {
        width: 100%;
    }
}

/* ---------- Sections & headings ---------- */

.rde-section {
    padding: clamp(64px, 8vw, 110px) 0;
    position: relative;
}

.rde-section-tight {
    padding: clamp(48px, 6vw, 80px) 0;
}

.rde-section-tint {
    background: linear-gradient(180deg, var(--blush) 0%, var(--ivory-2) 100%);
}

.rde-heading {
    text-align: center;
    margin: 0 auto 2.6rem;
    max-width: 760px;
}

.rde-crown {
    display: block;
    width: 30px;
    height: 19px;
    color: var(--gold);
    margin: 0 auto 0.55rem;
}

/* Lola's logo as the small mark above section headings and on side cards
   (rde_crown()): one size everywhere, proportions kept. */
.rde-heading > picture,
.rde-aside-card > picture,
.rde-card-noimg > picture {
    display: block;
}

img.rde-emblem-mark {
    width: auto;
    height: 46px;
    margin: 0 auto 0.75rem;
}

.rde-heading-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    font-size: clamp(2.05rem, 3.8vw, 3rem);
    font-weight: 500;
    margin: 0 0 0.6rem;
}

.rde-heading-title::before,
.rde-heading-title::after {
    content: "";
    flex: 1 1 60px;
    max-width: 170px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.rde-heading-title::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.rde-heading-text {
    color: var(--ink-soft);
    font-size: 1.12rem;
    margin: 0;
}

.rde-ornament {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.rde-ornament i {
    width: 54px;
    height: 1px;
    background: var(--gold);
}

.rde-ornament b {
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    background: var(--gold);
}

/* ---------- Service cards ---------- */

.rde-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.rde-card {
    flex: 0 0 calc((100% - 6 * 18px) / 7);
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow);
    border: 1px solid rgba(201, 163, 95, 0.18);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.rde-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.rde-card-media {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--blush);
}

.rde-card-media picture,
.rde-card-media img {
    display: block;
    width: 100%;
    height: 100%;
}

.rde-card-media img {
    object-fit: cover;
    transition: transform 0.8s ease;
}

.rde-card:hover .rde-card-media img {
    transform: scale(1.06);
}

.rde-card-noimg {
    display: grid;
    place-items: center;
    height: 100%;
}

.rde-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.95rem 0.75rem 1.1rem;
    text-align: center;
}

.rde-card-title {
    font-size: 1.24rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.15;
}

.rde-card-text {
    display: block;
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.55;
    margin-top: 0.6rem;
}

.rde-card-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.rde-card-more i {
    font-size: 0.75em;
}

.rde-cards-wide {
    gap: 26px;
}

.rde-cards-wide .rde-card {
    flex-basis: calc((100% - 2 * 26px) / 3);
}

.rde-cards-wide .rde-card-media {
    aspect-ratio: 4 / 3;
}

.rde-cards-wide .rde-card-body {
    padding: 1.4rem 1.4rem 1.6rem;
    justify-content: flex-start;
}

.rde-cards-wide .rde-card-title {
    font-size: 1.6rem;
}

@media (max-width: 1399.98px) {
    .rde-card {
        flex-basis: calc((100% - 3 * 18px) / 4);
    }
}

@media (max-width: 991.98px) {
    .rde-card {
        flex-basis: calc((100% - 2 * 18px) / 3);
    }

    .rde-cards-wide .rde-card {
        flex-basis: calc((100% - 26px) / 2);
    }
}

@media (max-width: 575.98px) {
    .rde-cards {
        gap: 12px;
    }

    .rde-card {
        flex-basis: calc((100% - 12px) / 2);
    }

    .rde-card-title {
        font-size: 1.1rem;
    }

    .rde-cards-wide .rde-card {
        flex-basis: 100%;
    }
}

/* ---------- Split sections (personalized, sensory) ---------- */

.rde-split {
    position: relative;
    padding: clamp(70px, 8vw, 120px) 0;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.rde-split > .container-xl {
    width: 100%;
}

.rde-tint-blush {
    background: linear-gradient(90deg, var(--blush) 0%, #fbf1f2 55%, var(--ivory) 100%);
}

.rde-tint-mauve {
    background: linear-gradient(270deg, var(--mauve-soft) 0%, #f6eff3 55%, var(--ivory) 100%);
}

.rde-split-media {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 56%;
    -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 62%, transparent 100%);
}

.rde-split-right .rde-split-media {
    left: auto;
    right: 0;
    -webkit-mask-image: linear-gradient(270deg, #000 62%, transparent 100%);
    mask-image: linear-gradient(270deg, #000 62%, transparent 100%);
}

.rde-split-media picture,
.rde-split-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rde-split-text {
    position: relative;
    z-index: 2;
    width: 46%;
    margin-left: auto;
}

.rde-split-right .rde-split-text {
    margin-left: 0;
}

.rde-split-noimg .rde-split-text {
    width: auto;
    max-width: 720px;
    margin: 0 auto;
}

.rde-split h2 {
    font-size: clamp(2.1rem, 3.8vw, 3.1rem);
    font-weight: 500;
    margin-bottom: 1rem;
}

.rde-split p {
    font-size: 1.1rem;
}

.rde-bullets {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 1.9rem;
}

.rde-bullets li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.55rem;
}

.rde-bullets li::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    top: 0.62em;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    background: var(--gold);
}

.rde-bullets-2col {
    columns: 2 260px;
    column-gap: 2rem;
}

.rde-bullets-2col li {
    break-inside: avoid;
}

@media (max-width: 991.98px) {
    .rde-split {
        display: block;
        min-height: 0;
        padding: 0 0 64px;
    }

    .rde-split-media,
    .rde-split-right .rde-split-media {
        position: relative;
        width: 100%;
        height: clamp(260px, 62vw, 460px);
        -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    }

    .rde-split-text {
        width: auto;
        margin: -0.5rem 0 0;
    }

    .rde-split-noimg {
        padding-top: 64px;
    }
}

/* ---------- Photos ---------- */

.rde-photo-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.rde-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.rde-photo {
    margin: 0;
}

.rde-photo a {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--blush);
}

.rde-photo-row .rde-photo a,
.rde-photo-grid .rde-photo a {
    aspect-ratio: 4 / 3;
}

.rde-photo picture,
.rde-photo img {
    display: block;
    width: 100%;
    height: 100%;
}

.rde-photo img {
    object-fit: cover;
    transition:
        transform 0.8s ease,
        filter 0.4s ease;
}

.rde-photo a:hover img {
    transform: scale(1.05);
}

.rde-photo figcaption {
    font-size: 0.88rem;
    color: var(--ink-soft);
    padding: 0.5rem 0.2rem 0;
    text-align: center;
}

.rde-photo-row figcaption {
    display: none;
}

.rde-masonry {
    columns: 4 250px;
    column-gap: 16px;
}

.rde-masonry .rde-photo {
    break-inside: avoid;
    margin-bottom: 18px;
}

.rde-masonry .rde-photo img {
    height: auto;
}

.rde-masonry .rde-photo[hidden] {
    display: none;
}

.rde-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.2rem;
}

.rde-filter {
    border: 1px solid rgba(201, 163, 95, 0.55);
    background: var(--white);
    color: var(--plum);
    border-radius: 999px;
    padding: 0.45rem 1.05rem;
    font-size: 0.92rem;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.rde-filter:hover {
    background: var(--blush);
}

.rde-filter.is-active {
    background: var(--plum);
    border-color: var(--plum);
    color: #fff;
}

@media (max-width: 991.98px) {
    .rde-photo-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .rde-photo-row .rde-photo:nth-child(n + 4) {
        display: none;
    }

    .rde-photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575.98px) {
    .rde-photo-row,
    .rde-photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .rde-photo-row .rde-photo:nth-child(n + 4) {
        display: block;
    }

    .rde-photo-row .rde-photo:nth-child(n + 5) {
        display: none;
    }

    .rde-masonry {
        columns: 2;
        column-gap: 10px;
    }

    .rde-masonry .rde-photo {
        margin-bottom: 10px;
    }
}

/* ---------- CTA band ---------- */

.rde-cta {
    position: relative;
    margin-top: 80px;
    padding: 56px 0 72px;
    background:
        radial-gradient(ellipse 55% 90% at 75% 70%, rgba(150, 72, 128, 0.45) 0%, rgba(75, 29, 69, 0) 70%),
        var(--plum);
    color: #fff;
    overflow: visible;
}

.rde-cta-wave {
    position: absolute;
    left: 0;
    right: 0;
    top: -79px;
    width: 100%;
    height: 80px;
    color: var(--plum);
}

.rde-cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.rde-cta-text {
    flex: 1 1 480px;
}

.rde-cta-title {
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    font-weight: 500;
    font-style: italic;
    margin: 0 0 0.5rem;
}

.rde-cta-title em {
    color: var(--gold-light);
}

.rde-cta p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.12rem;
    margin: 0;
}

.rde-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.rde-spark {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--gold-light);
    clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
    opacity: 0.8;
    animation: rde-twinkle 4s ease-in-out infinite;
}

.rde-spark-1 {
    left: 4%;
    top: 22%;
    width: 22px;
    height: 22px;
}

.rde-spark-2 {
    left: 9%;
    bottom: 22%;
    animation-delay: 1.3s;
}

.rde-spark-3 {
    right: 6%;
    top: 14%;
    width: 12px;
    height: 12px;
    animation-delay: 2.4s;
}

@keyframes rde-twinkle {
    0%,
    100% {
        opacity: 0.25;
        transform: scale(0.8);
    }

    50% {
        opacity: 0.9;
        transform: scale(1);
    }
}

/* ---------- Footer ---------- */

.rde-footer {
    background: linear-gradient(180deg, #f8edef 0%, var(--blush) 100%);
    color: var(--ink);
    padding: 72px 0 28px;
    font-size: 0.98rem;
}

.rde-cta + .rde-footer,
main:has(> .rde-cta:last-child) + .rde-footer {
    border-top: 4px solid var(--gold);
}

.rde-footer-logo {
    margin-bottom: 1.1rem;
}

.rde-lockup-footer {
    gap: 0.9rem;
}

.rde-lockup-footer .rde-logo-emblem {
    height: 92px;
}

.rde-footer-builder {
    font-weight: 500;
}

.rde-footer-builder::before {
    content: "\2726"; /* ✦ */
    color: var(--gold-dark);
    margin-right: 0.4rem;
    font-size: 0.8em;
}

.rde-footer-about {
    color: var(--ink-soft);
    max-width: 34ch;
}

.rde-footer-h {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 1.1rem;
}

.rde-footer-links,
.rde-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
}

.rde-footer-links li {
    margin-bottom: 0.5rem;
}

.rde-footer a {
    color: var(--plum);
    text-decoration: none;
}

.rde-footer a:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

.rde-footer-contact li {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    margin-bottom: 0.6rem;
}

.rde-footer-contact i {
    color: var(--gold-dark);
    width: 16px;
}

.rde-footer .rde-btn-gold {
    color: var(--plum-deep);
    text-decoration: none;
}

.rde-social {
    display: flex;
    gap: 0.6rem;
}

.rde-social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(201, 163, 95, 0.6);
    background: var(--white);
    font-size: 1.05rem;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.rde-social a:hover {
    background: var(--plum);
    color: #fff;
    text-decoration: none;
}

.rde-footer-bottom {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(201, 163, 95, 0.35);
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.6rem;
    font-size: 0.88rem;
    color: var(--ink-soft);
}

/* ---------- Inner page hero ---------- */

.rde-phero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 470px;
    padding: calc(var(--header-h) + 36px) 0 64px;
    background:
        radial-gradient(ellipse 60% 80% at 10% 30%, #fff 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, var(--ivory) 0%, var(--blush) 100%);
    overflow: hidden;
}

.rde-phero-noimg {
    min-height: 0;
    padding-bottom: 40px;
    text-align: center;
}

.rde-phero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 58%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 16%, #000 34%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 16%, #000 34%);
}

.rde-phero-media picture,
.rde-phero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rde-phero-inner {
    position: relative;
    z-index: 2;
}

.rde-phero-text {
    max-width: 560px;
}

.rde-phero-noimg .rde-phero-text {
    max-width: 780px;
    margin: 0 auto;
}

.rde-phero-noimg .rde-btn-row,
.rde-phero-noimg .rde-crumbs ol {
    justify-content: center;
}

.rde-phero-title {
    font-size: clamp(2.4rem, 4.6vw, 3.9rem);
    font-weight: 500;
    margin: 0 0 1rem;
}

.rde-phero-intro p {
    font-size: 1.15rem;
    color: var(--ink);
}

.rde-crumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.rde-crumbs li + li::before {
    content: "›";
    margin-right: 0.35rem;
    color: var(--gold-dark);
}

.rde-crumbs a {
    color: var(--gold-dark);
    text-decoration: none;
}

.rde-crumbs a:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .rde-phero {
        display: block;
        min-height: 0;
        padding: var(--header-h) 0 48px;
    }

    .rde-phero-noimg {
        padding-top: calc(var(--header-h) + 36px);
    }

    .rde-phero-media {
        position: relative;
        width: 100%;
        height: clamp(240px, 54vw, 440px);
        -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    }

    .rde-phero-text {
        max-width: none;
    }
}

/* ---------- Content pages ---------- */

.rde-content h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.3rem);
    font-weight: 500;
    margin: 2.4rem 0 0.8rem;
}

.rde-content h2:first-child {
    margin-top: 0;
}

.rde-content p {
    margin-bottom: 1.1rem;
}

.rde-content-narrow {
    max-width: 780px;
    margin: 0 auto;
}

.rde-highlights {
    margin-top: 2.4rem;
    background: linear-gradient(135deg, var(--blush) 0%, #fbf3f4 100%);
    border-radius: 20px;
    padding: 2rem 2.2rem 1rem;
    border: 1px solid rgba(201, 163, 95, 0.25);
}

.rde-highlights h2 {
    margin-top: 0;
    font-size: 1.9rem;
}

.rde-aside-card {
    position: sticky;
    top: calc(var(--header-h) + 10px);
    background: var(--white);
    border-radius: 22px;
    padding: 2.2rem 2rem;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--gold);
    text-align: center;
}

.rde-aside-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.rde-aside-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 1.4rem 0;
}

.rde-aside-phone {
    font-size: 0.98rem;
    color: var(--ink-soft);
}

.rde-aside-areas,
.rde-aside-extra {
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(201, 163, 95, 0.3);
}

.rde-aside-areas h3,
.rde-aside-extra h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.rde-chips {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
}

.rde-chips li a,
.rde-chips-plain li {
    display: inline-block;
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 163, 95, 0.5);
    font-size: 0.9rem;
    color: var(--plum);
    text-decoration: none;
    background: var(--ivory);
}

.rde-chips li a:hover {
    background: var(--blush);
}

.rde-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
}

.rde-contact-list li {
    display: flex;
    gap: 0.8rem;
    align-items: baseline;
    margin-bottom: 0.65rem;
    font-size: 1.05rem;
}

.rde-contact-list i {
    color: var(--gold-dark);
    width: 18px;
}

.rde-faq {
    max-width: 860px;
    margin: 0 auto;
}

.rde-faq details {
    border-bottom: 1px solid rgba(201, 163, 95, 0.4);
    padding: 0.4rem 0;
}

.rde-faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
}

.rde-faq summary::-webkit-details-marker {
    display: none;
}

.rde-faq summary h3 {
    font-size: 1.45rem;
    font-weight: 600;
    margin: 0;
}

.rde-faq summary::after {
    content: "+";
    font-family: var(--sans);
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--gold-dark);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.rde-faq details[open] summary::after {
    transform: rotate(45deg);
}

.rde-faq details p {
    color: var(--ink-soft);
    padding-right: 2rem;
}

.rde-area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 22px;
}

.rde-area-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 20px;
    padding: 1.9rem 1.8rem 1.6rem;
    text-decoration: none;
    color: var(--ink);
    box-shadow: var(--shadow);
    border: 1px solid rgba(201, 163, 95, 0.2);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.rde-area-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--ink);
}

.rde-area-pin {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blush);
    color: var(--gold-dark);
    margin-bottom: 1rem;
}

.rde-area-name {
    font-size: 1.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.rde-area-text {
    color: var(--ink-soft);
    font-size: 0.98rem;
    flex: 1;
}

.rde-area-card .rde-card-more {
    justify-content: flex-start;
}

.rde-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

.rde-value {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem 1.6rem 1.4rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.rde-value-mark {
    display: block;
    width: 12px;
    height: 12px;
    margin: 0 auto 1rem;
    transform: rotate(45deg);
    background: var(--gold);
}

.rde-value h3 {
    font-size: 1.55rem;
    margin-bottom: 0.6rem;
}

.rde-value p {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.rde-block {
    max-width: 860px;
    margin: 0 auto 3.2rem;
}

.rde-block-photo {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.rde-block-flip .rde-block-media {
    order: 2;
}

.rde-block-media img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 767.98px) {
    .rde-block-photo {
        grid-template-columns: 1fr;
    }

    .rde-block-flip .rde-block-media {
        order: 0;
    }

    .rde-aside-card {
        position: static;
    }
}

/* ---------- Inquiry form ---------- */

.rde-form-card {
    background: var(--white);
    border-radius: 22px;
    padding: clamp(1.6rem, 4vw, 2.8rem);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(201, 163, 95, 0.2);
}

.rde-form-title {
    font-size: 2.1rem;
    font-weight: 500;
    margin-bottom: 1.4rem;
}

.rde-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 0.35rem;
}

.rde-form input,
.rde-form select,
.rde-form textarea {
    width: 100%;
    border: 1px solid #e5d4da;
    border-radius: 12px;
    padding: 0.78rem 1rem;
    background: #fffdfc;
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.rde-form input:focus,
.rde-form select:focus,
.rde-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 163, 95, 0.2);
}

.rde-form [aria-invalid="true"] {
    border-color: #b43a5f;
    box-shadow: 0 0 0 3px rgba(180, 58, 95, 0.12);
}

.rde-field-error {
    color: #a3284f;
    font-size: 0.86rem;
    margin: 0.3rem 0 0;
}

.rde-form-note {
    font-size: 0.86rem;
    color: var(--ink-soft);
    margin: 1rem 0 1.2rem;
}

.rde-form-status {
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.2rem;
    font-size: 0.98rem;
}

.rde-form-status.is-error {
    background: #fbe9ee;
    color: #8c2346;
    border: 1px solid #efc3d0;
}

.rde-form-status.is-success {
    background: #f1f7ee;
    color: #2f5a2c;
    border: 1px solid #cfe3c8;
}

.rde-form button[disabled] {
    opacity: 0.7;
    cursor: wait;
}

/* ---------- Lightbox ---------- */

.rde-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(36, 10, 33, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 4.5rem;
}

.rde-lightbox[hidden] {
    display: none;
}

.rde-lightbox figure {
    margin: 0;
    text-align: center;
}

.rde-lightbox img {
    max-width: 100%;
    max-height: calc(100vh - 8rem);
    border-radius: 10px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.rde-lightbox figcaption {
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 1.3rem;
    margin-top: 0.8rem;
}

.rde-lightbox button {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(234, 215, 168, 0.5);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: grid;
    place-items: center;
}

.rde-lightbox button:hover {
    background: rgba(255, 255, 255, 0.16);
}

.rde-lb-close {
    top: 18px;
    right: 18px;
}

.rde-lb-prev {
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.rde-lb-next {
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 575.98px) {
    .rde-lightbox {
        padding: 4rem 0.6rem 5rem;
    }

    .rde-lb-prev,
    .rde-lb-next {
        top: auto;
        bottom: 16px;
        transform: none;
    }

    .rde-lb-prev {
        left: calc(50% - 60px);
    }

    .rde-lb-next {
        right: calc(50% - 60px);
    }
}

/* ---------- Build Your Party Online page: numbered steps ---------- */

.rde-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}

.rde-step {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem 1.8rem 1.6rem;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--gold);
}

.rde-step-num {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gold-grad);
    color: var(--plum-deep);
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 1rem;
    box-shadow: 0 8px 18px -10px rgba(156, 118, 52, 0.8);
}

.rde-step-title {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.rde-step p {
    color: var(--ink-soft);
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 991.98px) {
    .rde-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .rde-steps {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }
}

/* ---------- Phones: Build Your Party Online fixed to the bottom ---------- */

.rde-mbar {
    display: none;
}

@media (max-width: 767.98px) {
    .rde-mbar {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1020;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(251, 247, 244, 0.95);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(201, 163, 95, 0.45);
        box-shadow: 0 -12px 28px -20px rgba(75, 29, 69, 0.5);
        transition: transform 0.3s ease;
    }

    .rde-mbar .rde-btn {
        width: 100%;
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
    }

    /* Out of the way while typing in a form (the keyboard is up). */
    .rde-typing .rde-mbar {
        transform: translateY(110%);
    }

    /* Room under the footer so the button never covers its last line. */
    .rde-has-mbar .rde-footer {
        padding-bottom: calc(28px + 72px + env(safe-area-inset-bottom));
    }

    .rde-has-mbar .rde-preview-bar {
        bottom: calc(84px + env(safe-area-inset-bottom));
    }
}

/* ---------- Reveal on scroll (only when JS runs) ---------- */

.js .rde-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.js .rde-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .js .rde-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .rde-slide,
    .rde-slide img {
        transition: opacity 0.6s ease;
        transform: none !important;
    }

    .rde-spark {
        animation: none;
    }
}

/* ---------- Dev Access gate ---------- */

.rde-gate-body {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, #fff 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, var(--ivory) 0%, var(--blush) 100%);
}

.rde-gate {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}

.rde-gate-card {
    width: 100%;
    max-width: 430px;
    background: var(--white);
    border-radius: 24px;
    padding: 2.6rem 2.2rem 2rem;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--gold);
    text-align: center;
}

.rde-gate-logo {
    margin-bottom: 1.2rem;
}

.rde-lockup-gate {
    flex-direction: column;
    gap: 0.6rem;
}

.rde-lockup-gate .rde-logo-emblem {
    height: 104px;
}

.rde-gate-title {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.rde-gate-text {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.rde-gate-error {
    background: #fbe9ee;
    color: #8c2346;
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
    font-size: 0.95rem;
}

.rde-gate-form {
    display: grid;
    gap: 0.4rem;
    text-align: left;
    margin-top: 1.2rem;
}

.rde-gate-form label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-top: 0.4rem;
}

.rde-gate-form input {
    border: 1px solid #e5d4da;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font: inherit;
    background: #fffdfc;
}

.rde-gate-form input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 163, 95, 0.2);
}

.rde-gate-form .rde-btn {
    margin-top: 1.1rem;
}

.rde-gate-form .rde-btn i {
    font-style: normal;
}

.rde-gate-foot {
    margin: 1.4rem 0 0;
    font-size: 0.9rem;
}

/* Screen-reader-only text (the gate page doesn't load Bootstrap). */
.rde-sr {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
