/* =================================
   RESET & BASE
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background: #092819 url("bg.png") center / cover no-repeat;
}

body.intro-active,
body.mobile-menu-open {
    overflow: hidden;
}


/* =================================
   OPENING VIDEO
================================= */

.intro-screen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #ffffff;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
        opacity 900ms ease,
        visibility 0s linear 900ms;
}

.intro-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    background: #000000;
    opacity: 1;
    transition: opacity 2000ms linear;
    will-change: opacity;
}

.intro-white {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 2000ms linear;
    will-change: opacity;
}

.intro-screen.is-fading .intro-video {
    opacity: 0;
}

.intro-screen.is-fading .intro-white {
    opacity: 1;
}

.intro-screen.is-leaving {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.intro-skip {
    position: absolute;
    right: 5%;
    bottom: 5%;
    padding: 13px 22px;
    border: 1px solid #173a29;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    color: #173a29;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    cursor: pointer;
    z-index: 5;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.intro-skip:hover {
    background: #173a29;
    color: #ffffff;
    transform: translateY(-2px);
}


/* =================================
   WEBSITE REVEAL
================================= */

.website-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.website-content.site-loaded {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =================================
   FALLING LEAVES & PINK PETALS
================================= */

.falling-decorations {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 20;
}

.falling-particle {
    position: absolute;
    top: -12vh;
    display: block;
    opacity: 0;
    pointer-events: none;

    animation-name: falling-particle;
    animation-duration: var(--fall-duration);
    animation-delay: var(--fall-delay);
    animation-timing-function: linear;
    animation-iteration-count: infinite;

    will-change: transform, opacity;
}

.falling-petal {
    width: var(--particle-width);
    height: var(--particle-height);
    background: #df7184;
    border-radius: 85% 0 85% 0;
    box-shadow: 0 1px 5px rgba(170, 38, 68, 0.12);
}

.falling-petal:nth-child(3n) {
    background: #e99aa5;
}

.falling-petal:nth-child(4n) {
    background: #c9516b;
}

.falling-leaf {
    width: var(--particle-width);
    height: var(--particle-height);
    background: #81914c;
    border-radius: 0 85% 0 85%;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
}

.falling-leaf:nth-child(3n) {
    background: #a0a45d;
}

.falling-leaf:nth-child(4n) {
    background: #627c40;
}

.falling-leaf::after {
    content: "";
    position: absolute;
    top: 12%;
    left: 48%;
    width: 1px;
    height: 76%;
    background: rgba(244, 232, 185, 0.42);
    transform: rotate(38deg);
}

@keyframes falling-particle {
    0% {
        transform: translate3d(0, -12vh, 0) rotate(0deg);
        opacity: 0;
    }

    8% {
        opacity: var(--particle-opacity);
    }

    50% {
        transform:
            translate3d(var(--mid-drift-x), 52vh, 0)
            rotate(var(--mid-rotation));
        opacity: var(--particle-opacity);
    }

    90% {
        opacity: calc(var(--particle-opacity) * 0.8);
    }

    100% {
        transform:
            translate3d(var(--drift-x), 112vh, 0)
            rotate(var(--rotation));
        opacity: 0;
    }
}


/* =================================
   MUSIC CONTROL
================================= */

.music-toggle {
    position: fixed;
    top: 25px;
    right: 4%;
    z-index: 1100;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;

    border: 1px solid rgba(245, 232, 197, 0.7);
    border-radius: 50px;
    background: rgba(9, 40, 25, 0.88);
    color: #f5e8c5;

    font-family: Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 1.8px;
    cursor: pointer;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        color 0.3s ease;
}

.music-toggle:hover {
    background: #f5e8c5;
    color: #173a29;
    border-color: #f5e8c5;
    transform: translateY(-2px);
}

.music-icon {
    font-size: 12px;
    line-height: 1;
}

.music-label {
    white-space: nowrap;
}


/* =================================
   NAVIGATION
================================= */

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    background: transparent;

    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease;
}

.navigation.nav-hidden {
    transform: translate3d(0, -110%, 0);
    opacity: 0;
    pointer-events: none;
}

.menu-toggle {
    position: absolute;
    top: 24px;
    left: 4%;
    width: 58px;
    height: 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 54px;
    height: 3px;
    border-radius: 10px;
    background: #f5e8c5;

    transition:
        width 0.3s ease,
        transform 0.35s ease,
        opacity 0.25s ease;
}

.menu-toggle:hover span:nth-child(2) {
    width: 42px;
}

.nav-links {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -35%, 0);

    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(35px, 5.2vw, 86px);
    width: max-content;
    max-width: 75vw;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.4s ease,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.55s;
}

.navigation.menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(-50%, -50%, 0);

    transition:
        opacity 0.5s ease 0.08s,
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0s linear 0s;
}

.nav-links a {
    position: relative;
    color: #f5e8c5;
    text-decoration: none;
    white-space: nowrap;

    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 3.5px;

    opacity: 0;
    transform: translate3d(0, 8px, 0);

    transition:
        opacity 0.4s ease,
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.3s ease;
}

.navigation.menu-open .nav-links a {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.navigation.menu-open .nav-links a:nth-child(1) {
    transition-delay: 0.12s, 0.12s, 0s;
}

.navigation.menu-open .nav-links a:nth-child(2) {
    transition-delay: 0.18s, 0.18s, 0s;
}

.navigation.menu-open .nav-links a:nth-child(3) {
    transition-delay: 0.24s, 0.24s, 0s;
}

.navigation.menu-open .nav-links a:nth-child(4) {
    transition-delay: 0.30s, 0.30s, 0s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1px;
    background: #f5e8c5;
    transition: width 0.35s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #ffffff;
}


/* =================================
   HERO - DESKTOP
================================= */

.hero-stage {
    position: relative;
    width: 100%;
    min-height: 100vh;
    isolation: isolate;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
    object-position: top right;
    transform: scale(1.3);
    transform-origin: top right;
    z-index: 1;
}

.name-image {
    position: absolute;
    top: 29%;
    left: 17%;
    width: 33%;
    height: auto;
    object-fit: contain;
    z-index: 3;
}

.hero2-image {
    display: none;
}

.flower-image {
    position: absolute;
    top: 48%;
    left: -2%;
    width: 27%;
    height: auto;
    object-fit: contain;
    z-index: 2;
}


/* =================================
   EVENTS SECTION
================================= */

.cards-section {
    position: relative;
    width: 100%;
    padding: 19vh 8vw 3vh;
    z-index: 2;
}

.events-heading {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 90px;
}

.events-heading-image {
    display: block;
    width: 260px;
    max-width: 55vw;
    height: auto;
    object-fit: contain;
}

.events-instruction {
    display: none;
}

.cards-grid {
    width: 80vw;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.event-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    padding: 0;

    background: rgba(8, 34, 22, 0.35);

    border: 1.5px solid #f5e8c5;
    border-radius: 24px;

    cursor: pointer;
    text-align: left;
    outline: none;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s ease,
        border-color 0.3s ease;
}

.card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;

    transition:
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {

    .event-card:hover {
        transform: translate3d(0, -6px, 0);

        box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.18);

        border-color: #fff0c8;
    }

    .event-card:hover .card-image {
        transform: scale(1.025);
        filter: brightness(0.9);
    }

}

.event-card:focus-visible {
    outline: 2px solid #f5e8c5;
    outline-offset: 6px;
}


/* Card details */

.card-details {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    padding: clamp(20px, 2.4vw, 35px);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;

    border-radius: inherit;

    transform: translate3d(102%, 0, 0);
    opacity: 0;
    pointer-events: none;

    transition:
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.45s ease;

    z-index: 3;
}

.card-details-1 {
    background: #eedccb;
    color: #453222;
}

.card-details-2 {
    background: #400f27;
    color: #f5e8c5;
}

.card-details-3 {
    background: #cb4910;
    color: #fff0d8;
}

.card-number {
    width: 100%;
    display: block;
    padding-bottom: 13px;
    border-bottom: 1px solid currentColor;

    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 2.5px;
    opacity: 0.7;
}

.card-detail-content {
    width: 100%;
}

.card-detail-content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 12px;
}

.event-date {
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 24px;
    opacity: 0.78;
}

.event-detail-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-detail-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.event-detail-row span {
    font-family: Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    opacity: 0.65;
}

.event-detail-row strong {
    font-family: Arial, sans-serif;
    font-size: clamp(11px, 1vw, 14px);
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: break-word;
}

.card-details-1 .card-number,
.card-details-1 .event-date,
.card-details-1 .event-detail-row span {
    color: rgba(69, 50, 34, 0.78);
}

.card-details-1 .card-detail-content h2,
.card-details-1 .event-detail-row strong {
    color: #453222;
}

.card-details-2 .card-number,
.card-details-2 .event-date,
.card-details-2 .event-detail-row span {
    color: rgba(245, 232, 197, 0.72);
}

.card-details-2 .card-detail-content h2,
.card-details-2 .event-detail-row strong {
    color: #f5e8c5;
}

.card-details-3 .card-number,
.card-details-3 .event-date,
.card-details-3 .event-detail-row span {
    color: rgba(255, 240, 216, 0.75);
}

.card-details-3 .card-detail-content h2,
.card-details-3 .event-detail-row strong {
    color: #fff0d8;
}

@media (hover: hover) and (pointer: fine) {

    .event-card:hover .card-details {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }

}

.event-card:focus-visible .card-details,
.event-card.is-active .card-details {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}


/* =================================
   GALLERY SECTION
================================= */

.gallery-section {
    position: relative;
    width: 100%;
    padding: 10vh 8vw 10vh;
    z-index: 2;
}

.section-heading {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-heading img {
    display: block;
    width: 260px;
    max-width: 55vw;
    height: auto;
    object-fit: contain;
}

.gallery-heading {
    margin-bottom: 40px;
}

.gallery-controls {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.gallery-caption {
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(245, 232, 197, 0.75);
}


/* =================================
   STACKED GALLERY
================================= */

.gallery-carousel {
    width: 100%;
    position: relative;

    --gallery-step: clamp(145px, 16vw, 210px);
    --gallery-outer-step: clamp(275px, 30vw, 390px);
    --drag-offset: 0px;
}

.gallery-stage {
    position: relative;
    width: 100%;
    height: clamp(390px, 39vw, 510px);
    overflow: hidden;

    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;

    cursor: grab;
    outline: none;
    perspective: 1400px;
}

.gallery-stage.is-dragging {
    cursor: grabbing;
}

.gallery-stage.is-dragging .gallery-item {
    transition: none !important;
}

.gallery-item {
    position: absolute;
    top: 50%;
    left: 50%;

    width: clamp(230px, 25vw, 330px);
    aspect-ratio: 3 / 4;
    margin: 0;
    overflow: hidden;

    border: 3px solid #f5e8c5;
    border-radius: 17px;
    background: #eedccb;

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.22),
        0 5px 14px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform:
        translate3d(
            calc(-50% + var(--drag-offset)),
            -47%,
            0
        )
        scale(0.65);

    transform-origin: center center;

    transition:
        transform 850ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 650ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 650ms ease;

    backface-visibility: hidden;
    will-change: transform, opacity;
    cursor: pointer;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
}

.gallery-item.position-center {
    z-index: 5;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    filter: brightness(1);

    transform:
        translate3d(
            calc(-50% + var(--drag-offset)),
            -50%,
            0
        )
        scale(1);
}

.gallery-item.position-left-1 {
    z-index: 4;
    opacity: 0.98;
    visibility: visible;
    pointer-events: auto;
    filter: brightness(0.94);

    transform:
        translate3d(
            calc(-50% - var(--gallery-step) + var(--drag-offset)),
            calc(-50% + 9px),
            0
        )
        scale(0.89);
}

.gallery-item.position-right-1 {
    z-index: 4;
    opacity: 0.98;
    visibility: visible;
    pointer-events: auto;
    filter: brightness(0.94);

    transform:
        translate3d(
            calc(-50% + var(--gallery-step) + var(--drag-offset)),
            calc(-50% + 9px),
            0
        )
        scale(0.89);
}

.gallery-item.position-left-2 {
    z-index: 3;
    opacity: 0.75;
    visibility: visible;
    pointer-events: auto;
    filter: brightness(0.78);

    transform:
        translate3d(
            calc(-50% - var(--gallery-outer-step) + var(--drag-offset)),
            calc(-50% + 20px),
            0
        )
        scale(0.76);
}

.gallery-item.position-right-2 {
    z-index: 3;
    opacity: 0.75;
    visibility: visible;
    pointer-events: auto;
    filter: brightness(0.78);

    transform:
        translate3d(
            calc(-50% + var(--gallery-outer-step) + var(--drag-offset)),
            calc(-50% + 20px),
            0
        )
        scale(0.76);
}


/* Gallery controls */

.gallery-navigation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 14px;
}

.gallery-arrow {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;

    border: 1px solid #d4ad42;
    border-radius: 50%;
    background: transparent;
    color: #f5e8c5;

    font-family: Georgia, serif;
    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 350ms ease,
        color 350ms ease,
        transform 350ms ease;
}

.gallery-arrow:hover {
    background: #f5e8c5;
    color: #173a29;
    transform: scale(1.07);
}

.gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.gallery-dot {
    width: 9px;
    height: 9px;
    padding: 0;

    border: 1px solid #d4ad42;
    border-radius: 50%;
    background: #e9cf80;

    cursor: pointer;

    transition:
        transform 350ms ease,
        background 350ms ease,
        width 350ms ease;
}

.gallery-dot.active {
    width: 12px;
    height: 12px;
    background: #b83b30;
    border-color: #b83b30;
    transform: scale(1.05);
}

.gallery-scroll-hint {
    margin-top: 20px;
    text-align: center;

    font-family: Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 2.5px;

    color: rgba(245, 232, 197, 0.58);
}


/* =================================
   DIRECTIONS SECTION
================================= */

.venue-section {
    position: relative;
    width: 100%;
    padding: 3vh 8vw 10vh;
    z-index: 2;
}

.venue-heading {
    margin-bottom: 55px;
}

.venue-layout {
    width: 84vw;
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.25fr);

    gap: 26px;
    align-items: stretch;
}

.map-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-width: 0;
    overflow: hidden;

    border: 1.5px solid #f5e8c5;
    border-radius: 26px;
    background: #102e20;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.18);
}

.map-card iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-open-link {
    position: absolute;
    left: 18px;
    bottom: 18px;

    display: inline-flex;
    align-items: center;
    gap: 14px;

    padding: 12px 17px;

    border-radius: 50px;
    background: rgba(5, 29, 18, 0.91);
    border: 1px solid rgba(245, 232, 197, 0.65);

    color: #f5e8c5;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-decoration: none;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.map-open-link:hover {
    background: #400f27;
    transform: translateY(-3px);
}

.map-open-link span {
    font-size: 16px;
}


/* =================================
   EVENT SCHEDULE
================================= */

.schedule-card {
    width: 100%;
    min-width: 0;
    min-height: 100%;

    padding: clamp(25px, 3vw, 46px);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: rgba(5, 34, 22, 0.91);

    border: 1.5px solid rgba(245, 232, 197, 0.85);
    border-radius: 26px;

    color: #f5e8c5;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.16);
}

.schedule-header {
    padding-bottom: 25px;
}

.schedule-eyebrow {
    display: block;
    margin-bottom: 15px;

    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 3px;

    color: rgba(245, 232, 197, 0.7);
}

.schedule-header h2 {
    font-family: Georgia, serif;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: #f5e8c5;
}

.schedule-header p {
    font-family: Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: rgba(245, 232, 197, 0.72);
}

.schedule-event {
    display: grid;

    grid-template-columns:
        minmax(115px, 0.75fr)
        minmax(0, 1.25fr);

    gap: 20px;
    padding: 23px 0;

    border-top: 1px solid rgba(245, 232, 197, 0.25);
}

.schedule-date {
    display: block;
    margin-bottom: 12px;

    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 2px;

    color: rgba(245, 232, 197, 0.68);
}

.schedule-event-title h3 {
    font-family: Georgia, serif;
    font-size: clamp(20px, 2vw, 29px);
    font-weight: 400;
    color: #f5e8c5;
}

.schedule-event-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.schedule-label {
    display: block;
    margin-bottom: 5px;

    font-family: Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 2px;

    color: rgba(245, 232, 197, 0.58);
}

.schedule-event-details p {
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #f5e8c5;
}

.schedule-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(245, 232, 197, 0.25);

    font-family: Georgia, serif;
    font-style: italic;
    font-size: 15px;

    color: rgba(245, 232, 197, 0.85);
}


/* =================================
   RSVP SECTION
================================= */

.rsvp-section {
    position: relative;
    width: 100%;
    padding: 5vh 8vw 24px;
    z-index: 2;
}

.rsvp-heading {
    margin-bottom: 55px;
}

.rsvp-form {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;

    padding: clamp(28px, 5vw, 55px);

    background: rgba(5, 34, 22, 0.88);

    border: 1.5px solid rgba(245, 232, 197, 0.85);
    border-radius: 28px;

    display: flex;
    flex-direction: column;
    gap: 30px;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.16);
}

.attendance-fieldset {
    width: 100%;
    border: none;
}

.attendance-fieldset legend {
    margin-bottom: 20px;

    font-family: Georgia, serif;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 400;

    color: #f5e8c5;
}

.attendance-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.attendance-option {
    display: block;
    cursor: pointer;
    position: relative;
}

.attendance-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.attendance-option-content {
    min-height: 76px;
    padding: 15px 18px;

    display: flex;
    align-items: center;
    gap: 13px;

    border: 1px solid rgba(245, 232, 197, 0.45);
    border-radius: 14px;

    color: #f5e8c5;

    font-family: Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 0.5px;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.attendance-check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;

    border: 1px solid rgba(245, 232, 197, 0.7);
    border-radius: 50%;

    display: grid;
    place-items: center;
}

.attendance-check::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.3s ease;
}

.attendance-option input:checked + .attendance-option-content {
    background: rgba(245, 232, 197, 0.12);
    border-color: #f5e8c5;
    transform: translateY(-2px);
}

.attendance-option input:checked + .attendance-option-content .attendance-check::after {
    background: #f5e8c5;
}

.attendance-option input:focus-visible + .attendance-option-content {
    outline: 2px solid #f5e8c5;
    outline-offset: 4px;
}

.rsvp-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.rsvp-field label {
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 2.5px;
    color: rgba(245, 232, 197, 0.82);
}

.rsvp-field select {
    width: 100%;
    min-height: 55px;
    padding: 0 18px;

    appearance: none;

    background-color: rgba(245, 232, 197, 0.08);

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5e8c5' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 18px center;

    border: 1px solid rgba(245, 232, 197, 0.4);
    border-radius: 12px;

    color: #f5e8c5;

    font-family: Arial, sans-serif;
    font-size: 14px;

    cursor: pointer;
    outline: none;

    transition:
        border-color 0.3s ease,
        background-color 0.3s ease;
}

.rsvp-field select:focus {
    border-color: #f5e8c5;
    background-color: rgba(245, 232, 197, 0.12);
}

.rsvp-field select option {
    background: #092819;
    color: #f5e8c5;
}

.rsvp-field textarea {
    width: 100%;
    min-height: 125px;
    padding: 17px 18px;
    resize: vertical;

    background: rgba(245, 232, 197, 0.08);

    border: 1px solid rgba(245, 232, 197, 0.4);
    border-radius: 12px;

    color: #f5e8c5;

    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;

    outline: none;

    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}

.rsvp-field textarea::placeholder {
    color: rgba(245, 232, 197, 0.45);
}

.rsvp-field textarea:focus {
    border-color: #f5e8c5;
    background: rgba(245, 232, 197, 0.12);
}

.rsvp-submit {
    width: 100%;
    min-height: 58px;
    padding: 15px 22px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #f5e8c5;

    border: 1px solid #f5e8c5;
    border-radius: 50px;

    color: #173a29;

    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.rsvp-submit span {
    font-size: 22px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.rsvp-submit:hover {
    background: transparent;
    color: #f5e8c5;
    transform: translateY(-3px);
}

.rsvp-submit:hover span {
    transform: translateX(5px);
}

.rsvp-status {
    padding: 15px;

    border: 1px solid rgba(245, 232, 197, 0.35);
    border-radius: 10px;

    color: #f5e8c5;

    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.7;
}


/* =================================
   TEXT FOOTER
================================= */

.site-footer {
    width: 100%;
    padding: 24px 8vw 32px;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    z-index: 2;
}

.footer-inner {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-names {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: clamp(8px, 1.5vw, 20px);

    color: #f5e8c5;

    font-family: Georgia, "Times New Roman", serif;
    text-align: center;
    white-space: nowrap;
}

.footer-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 3.2vw, 43px);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.footer-weds {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(15px, 1.8vw, 23px);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #e4c98e;
}


/* =================================
   EXISTING TABLET RULES
================================= */

@media (max-width: 1000px) {

    .gallery-carousel {
        --gallery-step: 18vw;
        --gallery-outer-step: 34vw;
    }

    .venue-layout {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(0, 1.1fr);

        gap: 18px;
    }

    .schedule-card {
        padding: 25px;
    }

    .schedule-event {
        gap: 12px;
        grid-template-columns: 0.8fr 1.2fr;
    }

}


/* =================================
   MOBILE + IPAD BASE LAYOUT
================================= */

@media (max-width: 1024px),
       (hover: none) and (pointer: coarse) and (max-width: 1366px) {


    /* GENERAL */

    html {
        scroll-behavior: smooth;
        -webkit-text-size-adjust: 100%;
    }

    body {
        overflow-x: hidden;
    }


    /* MUSIC */

    .music-toggle {
        top: auto;
        right: 18px;
        bottom: 22px;

        min-height: 43px;
        padding: 0 15px;
        gap: 9px;

        font-size: 9px;
        letter-spacing: 1.2px;

        z-index: 1200;

        box-shadow:
            0 7px 24px rgba(0, 0, 0, 0.25);
    }

    .music-toggle:hover {
        transform: none;
    }

    .music-icon {
        font-size: 12px;
    }


    /* FULL-SCREEN NAVIGATION */

    .navigation {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 74px;
        z-index: 1000;
        background: transparent;

        backdrop-filter: none;
        -webkit-backdrop-filter: none;

        transition:
            background 0.45s ease,
            backdrop-filter 0.45s ease,
            height 0s linear 0.45s;
    }

    .navigation.menu-open {
        height: 100vh;
        height: 100dvh;

        background: rgba(3, 18, 11, 0.88);

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

        transition:
            background 0.45s ease,
            backdrop-filter 0.45s ease,
            height 0s;
    }


    /* HAMBURGER */

    .menu-toggle {
        position: fixed;
        top: 15px;
        left: 18px;

        width: 43px;
        height: 43px;
        gap: 8px;
        padding: 3px;

        z-index: 1002;
    }

    .menu-toggle span {
        width: 33px;
        height: 2px;
        border-radius: 5px;
        background: #f5e8c5;
        transform-origin: center;
    }

    .navigation.menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .navigation.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .navigation.menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }


    /* FULL-SCREEN LINKS */

    .nav-links {
        position: absolute;
        top: 50%;
        left: 50%;

        width: 100%;
        max-width: 100%;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 32px;
        padding: 30px 20px;

        transform: translate3d(-50%, -43%, 0);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            opacity 0.4s ease,
            transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 0s linear 0.55s;

        z-index: 1001;
    }

    .navigation.menu-open .nav-links {
        transform: translate3d(-50%, -50%, 0);

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transition:
            opacity 0.45s ease 0.1s,
            transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 0s;
    }

    .nav-links a {
        display: block;
        position: relative;

        font-family: Arial, sans-serif;
        font-size: clamp(19px, 5vw, 24px);
        font-weight: 400;
        letter-spacing: 5px;
        color: #f5e8c5;

        padding: 8px 15px;

        opacity: 0;
        transform: translate3d(0, 16px, 0);

        transition:
            opacity 0.4s ease,
            transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
            color 0.3s ease;
    }

    .navigation.menu-open .nav-links a {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    .navigation.menu-open .nav-links a:nth-child(1) {
        transition-delay: 0.10s, 0.10s, 0s;
    }

    .navigation.menu-open .nav-links a:nth-child(2) {
        transition-delay: 0.17s, 0.17s, 0s;
    }

    .navigation.menu-open .nav-links a:nth-child(3) {
        transition-delay: 0.24s, 0.24s, 0s;
    }

    .navigation.menu-open .nav-links a:nth-child(4) {
        transition-delay: 0.31s, 0.31s, 0s;
    }

    .nav-links a::after {
        bottom: 0;
        background: #e4c98e;
        height: 1px;
    }


    /* =================================
       HERO - MOBILE + IPAD
    ================================= */

    .hero-stage {
        position: relative;
        width: 100%;
        min-height: 0;
        height: auto;

        display: flex;
        flex-direction: column;
        align-items: center;

        padding: 88px 0 0;
        overflow: visible;
        isolation: isolate;
    }

    .hero-image {
        display: none !important;
    }

    .name-image {
        position: relative;
        display: block;

        top: auto;
        left: auto;
        right: auto;

        width: 92%;
        max-width: 540px;
        height: auto;

        margin: 0 auto;

        object-fit: contain;
        object-position: center;

        transform: none;
        transform-origin: center;

        order: 0;
        z-index: 5;

        pointer-events: none;
    }

    .hero2-image {
        display: block;
        position: relative;

        top: auto;
        left: auto;
        right: auto;

        width: 94%;
        max-width: 620px;
        height: auto;
        max-height: none;

        margin: 12px auto 0;

        object-fit: contain;
        object-position: center;

        transform: none;

        order: 1;
        z-index: 1;

        pointer-events: none;
    }

    .flower-image {
        position: relative;
        display: block;

        top: auto;
        left: auto;
        right: auto;

        width: 42%;
        max-width: 240px;
        height: auto;

        margin: 0 auto 0 -8vw;

        object-fit: contain;
        transform: none;

        order: 2;
        align-self: flex-start;
        z-index: 2;

        pointer-events: none;
    }


    /* =================================
       EVENTS - SINGLE COLUMN
    ================================= */

    .cards-section {
        width: 100%;
        padding: 9vh 6vw 5vh;
        z-index: 2;
    }

    .events-heading {
        margin-bottom: 40px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    .events-heading-image {
        width: 175px;
        max-width: 70vw;
    }

    .events-instruction {
        display: block;
        margin: 0;

        font-family: Arial, sans-serif;
        font-size: 10px;
        letter-spacing: 1.2px;

        color: rgba(245, 232, 197, 0.7);
        text-align: center;
    }

    .cards-grid {
        width: 100%;
        max-width: 430px;
        margin: 0 auto;

        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .event-card {
        display: block;
        width: 100%;
        max-width: 430px;
        margin: 0 auto;

        aspect-ratio: 4 / 5;
        border-radius: 20px;
        border-width: 1.5px;
        overflow: hidden;

        -webkit-tap-highlight-color: transparent;
    }

    .event-card:active {
        transform: scale(0.99);
    }

    .card-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .card-details {
        padding: clamp(20px, 6vw, 30px);
        border-radius: inherit;
    }

    .card-number {
        font-size: 10px;
        letter-spacing: 2px;
        padding-bottom: 12px;
    }

    .card-detail-content {
        width: 100%;
    }

    .card-detail-content h2 {
        font-size: clamp(29px, 8vw, 39px);
        margin-bottom: 12px;
    }

    .event-date {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 24px;
    }

    .event-detail-list {
        gap: 17px;
    }

    .event-detail-row {
        gap: 5px;
    }

    .event-detail-row span {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .event-detail-row strong {
        font-size: 13px;
        line-height: 1.55;
    }


    /* =================================
       GALLERY - MOBILE + IPAD BASE
    ================================= */

    .gallery-section {
        width: 100%;
        padding: 9vh 4vw 8vh;
        overflow: visible;
    }

    .section-heading img {
        width: 175px;
        max-width: 70vw;
    }

    .gallery-heading {
        margin-bottom: 25px;
    }

    .gallery-controls {
        margin-bottom: 25px;
    }

    .gallery-caption {
        font-size: 9px;
        letter-spacing: 2.5px;
        text-align: center;
    }

    .gallery-carousel {
        width: 100%;

        --gallery-step: 25vw;
        --gallery-outer-step: 50vw;
        --drag-offset: 0px;
    }

    .gallery-stage {
        position: relative;
        width: 100%;
        height: clamp(350px, 105vw, 440px);
        overflow: hidden;

        touch-action: pan-y;
        user-select: none;
        -webkit-user-select: none;

        cursor: grab;
        perspective: 1000px;

        -webkit-mask-image: linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.45) 4%,
            #000000 10%,
            #000000 90%,
            rgba(0, 0, 0, 0.45) 96%,
            transparent 100%
        );

        mask-image: linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.45) 4%,
            #000000 10%,
            #000000 90%,
            rgba(0, 0, 0, 0.45) 96%,
            transparent 100%
        );
    }

    .gallery-stage.is-dragging {
        cursor: grabbing;
    }

    .gallery-stage.is-dragging .gallery-item {
        transition: none !important;
    }

    .gallery-item {
        position: absolute;
        top: 50%;
        left: 50%;

        width: 46vw;
        max-width: 225px;
        min-width: 155px;

        aspect-ratio: 3 / 4;
        margin: 0;
        overflow: hidden;

        border: 2px solid #f5e8c5;
        border-radius: 15px;
        background: #eedccb;

        box-shadow:
            0 13px 32px rgba(0, 0, 0, 0.20),
            0 4px 12px rgba(0, 0, 0, 0.10);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform:
            translate3d(
                calc(-50% + var(--drag-offset)),
                -47%,
                0
            )
            scale(0.65);

        transform-origin: center center;

        transition:
            transform 750ms cubic-bezier(0.22, 1, 0.36, 1),
            opacity 550ms cubic-bezier(0.22, 1, 0.36, 1),
            filter 550ms ease,
            box-shadow 550ms ease;

        backface-visibility: hidden;
        will-change: transform, opacity;
        cursor: pointer;
    }

    .gallery-item img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        pointer-events: none;
        -webkit-user-drag: none;
    }

    .gallery-item.position-center {
        z-index: 5;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        filter: brightness(1);

        transform:
            translate3d(
                calc(-50% + var(--drag-offset)),
                -50%,
                0
            )
            scale(1);
    }

    .gallery-item.position-left-1 {
        z-index: 4;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        filter: brightness(0.91);

        transform:
            translate3d(
                calc(-50% - var(--gallery-step) + var(--drag-offset)),
                calc(-50% + 8px),
                0
            )
            scale(0.89);
    }

    .gallery-item.position-right-1 {
        z-index: 4;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        filter: brightness(0.91);

        transform:
            translate3d(
                calc(-50% + var(--gallery-step) + var(--drag-offset)),
                calc(-50% + 8px),
                0
            )
            scale(0.89);
    }

    .gallery-item.position-left-2 {
        z-index: 3;
        opacity: 0.56;
        visibility: visible;
        pointer-events: auto;
        filter: brightness(0.72);

        transform:
            translate3d(
                calc(-50% - var(--gallery-outer-step) + var(--drag-offset)),
                calc(-50% + 17px),
                0
            )
            scale(0.76);
    }

    .gallery-item.position-right-2 {
        z-index: 3;
        opacity: 0.56;
        visibility: visible;
        pointer-events: auto;
        filter: brightness(0.72);

        transform:
            translate3d(
                calc(-50% + var(--gallery-outer-step) + var(--drag-offset)),
                calc(-50% + 17px),
                0
            )
            scale(0.76);
    }


    /* Gallery controls */

    .gallery-navigation {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 14px;
        margin-top: 18px;
    }

    .gallery-arrow {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;

        border: 1px solid #d4ad42;
        border-radius: 50%;
        background: transparent;
        color: #f5e8c5;

        font-family: Georgia, serif;
        font-size: 24px;
        line-height: 1;

        cursor: pointer;
    }

    .gallery-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .gallery-dot {
        width: 8px;
        height: 8px;
        padding: 0;

        border: 1px solid #d4ad42;
        border-radius: 50%;
        background: #e9cf80;

        cursor: pointer;

        transition:
            background 300ms ease,
            transform 300ms ease,
            width 300ms ease;
    }

    .gallery-dot.active {
        width: 11px;
        height: 11px;
        background: #b83b30;
        border-color: #b83b30;
    }

    .gallery-scroll-hint {
        margin-top: 18px;
        text-align: center;

        font-family: Arial, sans-serif;
        font-size: 8px;
        letter-spacing: 2px;

        color: rgba(245, 232, 197, 0.58);
    }


    /* =================================
       DIRECTIONS - MOBILE BASE
    ================================= */

    .venue-section {
        padding: 3vh 4vw 8vh;
    }

    .venue-heading {
        margin-bottom: 30px;
    }

    .venue-layout {
        width: 92vw;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .map-card {
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 17px;
    }

    .schedule-card {
        min-height: auto;
        padding: 24px;
        border-radius: 17px;
    }

    .schedule-header {
        padding-bottom: 20px;
    }

    .schedule-header h2 {
        font-size: 32px;
    }

    .schedule-event {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 14px;
        padding: 19px 0;
    }

    .schedule-event-title h3 {
        font-size: 21px;
    }

    .schedule-event-details p {
        font-size: 12px;
    }


    /* =================================
       RSVP
    ================================= */

    .rsvp-section {
        padding: 5vh 4vw 24px;
    }

    .rsvp-heading {
        margin-bottom: 30px;
    }

    .rsvp-form {
        padding: 25px 20px;
        gap: 24px;
        border-radius: 19px;
    }

    .attendance-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .attendance-option-content {
        min-height: 60px;
    }

    .attendance-fieldset legend {
        font-size: 23px;
    }


    /* FOOTER */

    .site-footer {
        padding: 20px 4vw 28px;
    }

    .footer-name {
        font-size: clamp(23px, 5vw, 34px);
    }

    .footer-weds {
        font-size: clamp(14px, 3vw, 19px);
    }


    /* FALLING DECORATIONS */

    .falling-decorations {
        opacity: 0.85;
    }

}


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

@media (max-width: 380px) {

    .cards-grid {
        gap: 20px;
    }

    .card-details {
        padding: 21px;
    }

    .card-detail-content h2 {
        font-size: 29px;
    }

    .event-detail-row strong {
        font-size: 12px;
    }

    .gallery-stage {
        height: 105vw;
    }

    .gallery-carousel {
        --gallery-step: 25vw;
        --gallery-outer-step: 50vw;
    }

    .gallery-item {
        width: 46vw;
        min-width: 0;
    }

    .gallery-navigation {
        gap: 11px;
    }

    .schedule-card {
        padding: 18px;
    }

    .schedule-event {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 8px;
    }

    .schedule-event-title h3 {
        font-size: 18px;
    }

    .schedule-event-details p {
        font-size: 11px;
    }

}


/* =================================
   IPAD-ONLY REFINEMENTS
   DOES NOT AFFECT PHONES OR DESKTOP
================================= */


/* Move flower upwards */

html.is-ipad-layout .flower-image {
    margin-top: -55px;
}


/* Enlarge gallery cards and reduce their spacing */

html.is-ipad-layout .gallery-carousel {
    --gallery-step: clamp(112px, 20vw, 270px);
    --gallery-outer-step: clamp(224px, 40vw, 540px);
}

html.is-ipad-layout .gallery-stage {
    height: clamp(450px, 75vw, 560px);
}

html.is-ipad-layout .gallery-item {
    width: clamp(260px, 52vw, 370px);
    max-width: 370px;
    min-width: 260px;
}


/* Keep the neighbouring images within a softer edge */

html.is-ipad-layout .gallery-stage {
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.55) 3%,
        #000000 9%,
        #000000 91%,
        rgba(0, 0, 0, 0.55) 97%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.55) 3%,
        #000000 9%,
        #000000 91%,
        rgba(0, 0, 0, 0.55) 97%,
        transparent 100%
    );
}


/* Map and event schedule side by side */

html.is-ipad-layout .venue-layout {
    width: 92vw;

    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    gap: 14px;

    align-items: start;
}


/* Smaller square map */

html.is-ipad-layout .map-card {
    width: 100%;

    max-width: 320px;

    aspect-ratio: 1 / 1;

    justify-self: center;

    align-self: start;

    border-radius: 18px;
}


/* Schedule fits beside the map */

html.is-ipad-layout .schedule-card {
    width: 100%;

    min-width: 0;

    min-height: 100%;

    padding: clamp(14px, 2.5vw, 24px);

    border-radius: 18px;
}

html.is-ipad-layout .schedule-header {
    padding-bottom: 16px;
}

html.is-ipad-layout .schedule-header h2 {
    font-size: clamp(25px, 3vw, 34px);
}

html.is-ipad-layout .schedule-header p {
    font-size: 11px;
}

html.is-ipad-layout .schedule-eyebrow {
    font-size: 8px;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

html.is-ipad-layout .schedule-event {
    grid-template-columns:
        minmax(80px, 0.75fr)
        minmax(0, 1.25fr);

    gap: 10px;

    padding: 16px 0;
}

html.is-ipad-layout .schedule-date {
    font-size: 8px;

    letter-spacing: 1.3px;

    margin-bottom: 8px;
}

html.is-ipad-layout .schedule-event-title h3 {
    font-size: clamp(18px, 2.2vw, 23px);
}

html.is-ipad-layout .schedule-event-details {
    gap: 11px;
}

html.is-ipad-layout .schedule-label {
    font-size: 8px;

    letter-spacing: 1.5px;
}

html.is-ipad-layout .schedule-event-details p {
    font-size: clamp(10px, 1.2vw, 12px);

    line-height: 1.45;

    overflow-wrap: anywhere;
}

html.is-ipad-layout .schedule-footer {
    padding-top: 14px;

    font-size: 12px;

    line-height: 1.5;
}


/* Map link fits smaller map */

html.is-ipad-layout .map-open-link {
    left: 10px;

    bottom: 10px;

    padding: 9px 11px;

    gap: 8px;

    font-size: 8px;

    letter-spacing: 1px;
}


/* =================================
   REDUCED MOTION
================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;
    }

    .falling-decorations {
        display: none;
    }

    .intro-video {
        transition-duration: 0.01ms;
    }

    .intro-white {
        transition-duration: 0.01ms;
    }

    .intro-screen {
        transition-duration: 0.01ms;
    }

}