/* Google Fonts are loaded via <link> tags in header.php, not @import here:
   @import isn't discovered by the browser's preload scanner (which only
   scans raw HTML), so it forces a serial fetch-this-then-discover-that
   waterfall instead of a parallel fetch — and every script on the page
   waits for it to finish either way, since scripts block on all
   preceding stylesheets. */

:root {
    --black: #100f0d;
    --black-soft: #201b16;
    --gold: #c99a3d;
    --gold-light: #f4d99a;
    --cream: #fff7e8;
    --white: #ffffff;
    --muted: #776b5d;
    --line: rgba(201, 154, 61, 0.28);
    --shadow: 0 24px 70px rgba(16, 15, 13, 0.18);
}

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

body {
    color: var(--black);
    background: var(--cream);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    line-height: 1.65;
    width: 100%;
}

img,
video {
    max-width: 100%;
    height: auto;
}

a,
button,
input,
select,
textarea {
    overflow-wrap: anywhere;
}

.form-label {
    width: 100%;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.public-navbar {
    z-index: 1040;
    min-height: 112px;
    background:
        linear-gradient(90deg, rgba(7, 7, 6, 0.98), rgba(14, 12, 9, 0.98)),
        #080806;
    border-bottom: 1px solid rgba(244, 217, 154, 0.08);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.36);
}

.public-navbar .navbar-brand,
.public-navbar .nav-link {
    color: var(--cream);
}

.public-navbar .nav-link.active,
.public-navbar .nav-link:hover {
    color: var(--gold-light);
}

.public-navbar .navbar-brand {
    display: flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
}

.brand-logo {
    font-family: 'Playfair Display', 'Cinzel', 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #f1d48b;
    text-transform: uppercase;
    line-height: 1;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    margin-right: 12px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--gold-light);
    background: radial-gradient(circle at 30% 20%, rgba(244, 217, 154, 0.14), transparent 70%);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text-line {
    font-family: 'Playfair Display', 'Cinzel', serif;
    text-transform: uppercase;
}

.brand-text-line--primary {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--white);
}

.brand-text-line--secondary {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--gold-light);
}

.public-navbar .navbar-nav {
    gap: clamp(14px, 1.8vw, 32px);
    align-items: center;
}

.public-navbar .nav-link,
.public-navbar .nav-invitation {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-inline: 0;
    font-family: inherit;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

.public-navbar .navbar-toggler {
    border-color: rgba(244, 217, 154, 0.5);
    flex: 0 0 auto;
}

.public-navbar .navbar-toggler-icon {
    filter: invert(1);
}

.feature-card__icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--black);
    background: var(--gold-light);
    border-radius: 50%;
    font-weight: 900;
}

.btn-gold,
.button--primary {
    color: var(--black);
    background: var(--gold-light);
    border: 1px solid var(--gold-light);
    font-weight: 800;
}

.nav-invitation {
    min-width: 156px;
    min-height: 36px;
    padding: 7px 22px;
    border-radius: 999px;
}

.public-navbar .nav-invitation {
    color: var(--black);
}

.home-hero,
.hero-section {
    position: relative;
    min-height: calc(100vh - 112px);
    overflow: hidden;
    color: #fff;
    background: linear-gradient(
        -45deg,
        #050505,
        #0f0a03,
        #1b1206,
        #3c2408,
        #8f6b2b,
        #1b1206
    );
    background-size: 600% 600%;
    animation: heroGradient 20s ease infinite;
    isolation: isolate;
    will-change: background-position;
}

.home-hero::before,
.hero-section::before {
    content: "";
    position: absolute;
    inset: -20%;
    z-index: 0;
    background:
        radial-gradient(circle at 25% 30%, rgba(212, 175, 55, 0.18), transparent 35%),
        radial-gradient(circle at 75% 60%, rgba(255, 215, 120, 0.12), transparent 40%),
        radial-gradient(circle at 50% 100%, rgba(120, 80, 20, 0.08), transparent 50%);
    animation: goldGlow 18s ease-in-out infinite alternate;
    pointer-events: none;
    will-change: transform;
}

.home-hero::after,
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.72),
            rgba(0, 0, 0, 0.38),
            rgba(0, 0, 0, 0.58)
        );
    pointer-events: none;
}

.home-hero > *,
.hero-section > * {
    position: relative;
    z-index: 5;
}

/* ------------------------------------------------------------------
   Hero background — cinematic Ken Burns slideshow.
   Zoom/drift/color are driven by CSS *transitions*, not @keyframes:
   when .is-active is removed mid-motion (e.g. a short crossfade
   interval), a transition simply eases back from its current value
   instead of snapping to the animation's default state, so slides
   never visibly "jump". Each image gets its own push direction via
   the --kb-x/--kb-y custom properties for a less mechanical feel.
   ------------------------------------------------------------------ */
.hero-bg-photos {
    position: absolute !important;
    inset: 0;
    z-index: -1 !important;
    overflow: hidden;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-bg-photo {
    /* Declared concretely (not just referenced via var() fallback) so
       every custom property has a real value at all times — transitions
       interpolating a var() that only ever existed as a fallback can
       misresolve to the transform's initial value (identity) instead. */
    --kb-scale-start: 1.02;
    --kb-scale-end: var(--hero-zoom, 1.12);
    --kb-x: 0%;
    --kb-y: 0%;

    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(var(--kb-scale-start));
    filter: brightness(1) contrast(1) saturate(1);
    backface-visibility: hidden;
    will-change: transform, opacity, filter;
    transition:
        opacity 1.2s ease,
        filter 1.2s ease;
}

.hero-bg-photo.is-active {
    opacity: 1;
    animation: hero-image-zoom var(--hero-slide-duration, 6s) linear forwards;
    filter: brightness(1.05) contrast(1.08) saturate(1.04);
}

@keyframes hero-image-zoom {
    from {
        transform: translate3d(0, 0, 0) scale(var(--kb-scale-start));
    }

    to {
        transform: translate3d(var(--kb-x), var(--kb-y), 0) scale(var(--kb-scale-end));
    }
}

/* Slightly different push direction per image, cycling through 5 variants */
.hero-bg-photo:nth-child(5n+1) { --kb-x: 0%;    --kb-y: -1.1%; }
.hero-bg-photo:nth-child(5n+2) { --kb-x: 1.6%;  --kb-y: 0.4%;  }
.hero-bg-photo:nth-child(5n+3) { --kb-x: -1.6%; --kb-y: -0.4%; }
.hero-bg-photo:nth-child(5n+4) { --kb-x: 1.2%;  --kb-y: -0.8%; }
.hero-bg-photo:nth-child(5n+5) { --kb-x: -1.2%; --kb-y: 0.8%;  }

@media (prefers-reduced-motion: reduce) {
    .hero-bg-photos {
        transition: none;
    }

    .hero-bg-photo {
        transition: opacity 1.1s ease;
    }
}

.home-hero__vignette {
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
    pointer-events: none;
}

.home-hero__inner {
    position: relative;
    min-height: calc(100vh - 112px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    gap: clamp(8px, 1.5vw, 28px);
    padding-top: clamp(32px, 4vh, 56px);
    padding-bottom: clamp(32px, 5vh, 64px);
    max-width: 100%;
}

.home-hero__left {
    position: relative;
    z-index: 4;
    align-self: center;
    max-width: 720px;
    margin: 0;
    padding-left: clamp(20px, 6vw, 96px);
}

.hero-invite-text {
    text-align: left;
    max-width: 440px;
    margin: 0 0 2rem;
    position: relative;
    z-index: 3;
}

.join-row {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin-bottom: 0.35rem;
    line-height: 1;
}

.join-script {
    position: relative;
    z-index: 5;
    font-family: "Great Vibes", "Allura", cursive;
    font-size: clamp(5rem, 9vw, 8rem);
    font-weight: 400;
    color: #fff;
    line-height: 0.75;
    letter-spacing: 0;
    display: inline-block;
    text-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.us-badge {
    position: relative;
    z-index: 1;
    width: clamp(42px, 4.2vw, 56px);
    height: clamp(42px, 4.2vw, 56px);
    border-radius: 50%;
    background: #ef2b22;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -0.25rem;
    transform: translateY(-0.35rem);
    box-shadow: 0 10px 28px rgba(239, 43, 34, 0.35);
    flex-shrink: 0;
}

.invite-copy {
    margin-top: 0.15rem;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(1.1rem, 2vw, 1.75rem);
    line-height: 1.05;
    letter-spacing: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    clear: both;
}

.invite-copy span {
    display: block;
    margin: 0;
    padding: 0;
}

.invite-copy--prose {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    line-height: 1.5;
    max-width: 480px;
}

.hero-intro-note {
    margin: 0 0 18px;
    max-width: 460px;
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    line-height: 1.5;
}

.hero-intro-note__lead {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--gold-light);
    font-style: normal;
    font-weight: 700;
    font-size: clamp(1.425rem, 2.25vw, 1.725rem);
    line-height: 1.1;
}

.hero-legacy-line {
    margin: clamp(32px, 5vh, 52px) 0 0;
    color: var(--gold-light);
    font-family: 'Allura', cursive;
    font-size: clamp(1.3rem, 2.6vw, 1.9rem);
    line-height: 1.2;
}

.home-countdown-wrap {
    margin-top: clamp(28px, 4vh, 48px);
    max-width: 520px;
    text-align: left;
}

.home-countdown-wrap h2 {
    margin: 2.3rem 0 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}

.countdown-title,
.hero-countdown-title {
    margin-top: 2.3rem;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    letter-spacing: 0.12em;
    text-align: center;
}

.home-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(68px, 1fr));
    gap: 10px;
    margin: 0;
}

.home-countdown div {
    min-height: 72px;
    display: grid;
    align-content: center;
    padding: 8px 6px;
    text-align: center;
    background: rgba(31, 26, 18, 0.76);
    border: 1px solid rgba(244, 217, 154, 0.22);
    border-radius: 12px;
    box-shadow: inset 0 0 28px rgba(244, 217, 154, 0.04), 0 15px 34px rgba(0, 0, 0, 0.22);
}

.home-countdown strong {
    display: block;
    color: var(--gold-light);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    line-height: 1.1;
}

.home-countdown span {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 2px;
}

.hero-pill {
    min-width: 160px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: clamp(0.7rem, 1.1vw, 0.82rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
}

.hero-pill--gold {
    color: #0c0a08;
    background: linear-gradient(135deg, #ffe696, #dca53e);
    border: 1px solid #f5d478;
}

.hero-pill--outline {
    color: #fff;
    background: rgba(14, 11, 8, 0.48);
    border: 1px solid rgba(244, 217, 154, 0.72);
}


.gold,
.hero-jubilee {
    color: var(--gold-light);
}

.hero-jubilee {
    margin: 28px 0 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.35rem, 3vw, 2.85rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: break-word;
    word-break: break-word;
}

@keyframes heroGradient {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 50% 100%;
    }

    50% {
        background-position: 100% 50%;
    }

    75% {
        background-position: 50% 0%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes goldGlow {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-20px, 10px, 0) scale(1.08);
    }

    100% {
        transform: translate3d(20px, -15px, 0) scale(1.03);
    }
}

/* ==========================================================================
   Hero: event status badge, glass countdown, live state, particles
   ========================================================================== */

.hero-spotlight {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse 60% 50% at 50% 8%, rgba(255, 231, 168, 0.16), transparent 60%);
    pointer-events: none;
}

.hero-sparkles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.hero-sparkle {
    position: absolute;
    color: var(--gold-light);
    opacity: 0;
    animation: sparkleTwinkle 5s ease-in-out infinite;
}

.hero-sparkle svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 6px rgba(244, 217, 154, 0.6));
}

.hero-sparkle--diamond {
    width: 14px;
    height: 14px;
}

.hero-sparkle--dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 8px rgba(244, 217, 154, 0.8);
}

.hero-sparkle--1 { top: 12%; left: 8%; animation-delay: 0s; }
.hero-sparkle--2 { top: 22%; left: 92%; animation-delay: 0.8s; }
.hero-sparkle--3 { top: 68%; left: 6%; animation-delay: 1.6s; }
.hero-sparkle--4 { top: 78%; left: 88%; animation-delay: 2.4s; }
.hero-sparkle--5 { top: 40%; left: 50%; animation-delay: 3.2s; }
.hero-sparkle--6 { top: 88%; left: 45%; animation-delay: 4s; }

@keyframes sparkleTwinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.6) translateY(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.15) translateY(-10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-sparkle {
        animation: none;
        opacity: 0.5;
    }
}

.hero-countdown-glass div {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(31, 26, 18, 0.55);
}

.hero-countdown-box strong {
    display: inline-block;
    transition: transform 220ms ease;
}

.hero-countdown-box strong.is-flipping {
    animation: countdownFlip 350ms ease;
}

@keyframes countdownFlip {
    0% {
        transform: rotateX(0deg);
        opacity: 1;
    }
    50% {
        transform: rotateX(90deg);
        opacity: 0.3;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

.hero-live-message {
    display: none;
    max-width: 460px;
    margin: 0;
    text-align: left;
}

.hero-live-emoji {
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 10px;
}

.hero-live-message h3 {
    margin: 0 0 8px;
    color: var(--gold-light);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.3rem, 2.6vw, 1.9rem);
    font-weight: 900;
    line-height: 1.15;
}

.hero-live-message p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.5;
}

.hero-live-actions {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px;
}

[data-hero-countdown-wrap][data-phase="live"] .home-countdown,
[data-hero-countdown-wrap][data-phase="concluded"] .home-countdown,
[data-hero-countdown-wrap][data-phase="live"] > h2,
[data-hero-countdown-wrap][data-phase="concluded"] > h2 {
    display: none;
}

[data-hero-countdown-wrap][data-phase="live"] .hero-live-message,
[data-hero-countdown-wrap][data-phase="concluded"] .hero-live-message {
    display: block;
}

.hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.hero-scroll-indicator svg {
    width: 18px;
    height: 18px;
    animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(6px);
        opacity: 1;
    }
}

.home-hero__left {
    animation: heroFadeUp 900ms ease both;
}

@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__left,
    .hero-scroll-indicator svg,
    .hero-countdown-box strong {
        animation: none !important;
    }
}

@media (max-width: 575.98px) {
    .hero-scroll-indicator {
        display: none;
    }
}

.btn-gold:hover,
.button--primary:hover {
    color: var(--black);
    background: var(--gold);
    border-color: var(--gold);
}

.button,
.button--outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
}

.button--outline {
    color: var(--gold-light);
    background: transparent;
    border: 1px solid var(--gold-light);
}

.hero {
    position: relative;
    min-height: 100vh;
    color: var(--white);
    background: var(--black);
}

.hero-slide {
    min-height: 100vh;
    display: grid;
    align-items: end;
    padding: 130px 0 70px;
    background-position: center;
    background-size: cover;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 74% 26%, rgba(201, 154, 61, 0.24), transparent 28%),
        linear-gradient(90deg, rgba(16, 15, 13, 0.94), rgba(16, 15, 13, 0.58), rgba(16, 15, 13, 0.34));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.display-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(3.2rem, 8vw, 7rem);
    line-height: 0.98;
}

.section-padding {
    padding: 90px 0;
}

.eyebrow {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lux-heading {
    font-family: Georgia, 'Times New Roman', serif;
}

.glass-card,
.feature-card,
.invitation-card,
.rsvp-form,
.contact-form,
.gallery-item,
.video-card,
.quote-card,
.event-card,
.activity-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.event-card {
    height: 100%;
    padding: 28px;
}

.event-card .date-pill {
    display: inline-flex;
    padding: 7px 12px;
    color: var(--black);
    background: var(--gold-light);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
}

.motto-section {
    color: #fff;
    background:
        radial-gradient(circle at 50% 0%, rgba(216, 176, 76, 0.16), transparent 34%),
        linear-gradient(135deg, #080705, #1a1208 56%, #050505);
}

.motto-card {
    max-width: 900px;
    padding: clamp(2rem, 4vw, 3.5rem);
    border: 1px solid rgba(216, 176, 76, 0.34);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        radial-gradient(circle at top right, rgba(216, 176, 76, 0.16), transparent 45%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(12px);
}

.motto-card h2 {
    color: var(--gold-light);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.motto-card p:last-child {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dress-code-section {
    color: #fff;
    background:
        radial-gradient(circle at 12% 20%, rgba(216, 176, 76, 0.12), transparent 30%),
        linear-gradient(180deg, #050505, #120c05);
}

.dress-code-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.dress-code-card {
    min-height: 168px;
    padding: 1.25rem;
    border: 1px solid rgba(216, 176, 76, 0.28);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.dress-code-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    border: 1px solid rgba(216, 176, 76, 0.35);
    border-radius: 50%;
    background: rgba(216, 176, 76, 0.15);
    font-size: 1.35rem;
}

.dress-code-card h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 0.45rem;
}

.dress-code-card p {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.program-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #030303;
}

.program-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 12%, rgba(216, 176, 76, 0.12), transparent 30%),
        radial-gradient(circle at 86% 78%, rgba(216, 176, 76, 0.10), transparent 36%);
    pointer-events: none;
}

.program-section > .container {
    position: relative;
    z-index: 1;
}

.section-kicker {
    text-align: center;
    color: #d8b04c;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.section-title {
    text-align: center;
    font-family: "Playfair Display", Georgia, serif;
    color: #d8b04c;
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    max-width: 720px;
    margin: 0 auto 3rem;
}

.program-card {
    height: 100%;
    padding: 2rem;
    border: 1px solid rgba(216, 176, 76, 0.35);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
        radial-gradient(circle at top right, rgba(216, 176, 76, 0.12), transparent 45%);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-6px);
    border-color: rgba(216, 176, 76, 0.85);
    box-shadow: 0 30px 80px rgba(216, 176, 76, 0.15);
}

.program-card.featured {
    background:
        linear-gradient(145deg, rgba(216, 176, 76, 0.16), rgba(255, 255, 255, 0.025)),
        radial-gradient(circle at top right, rgba(216, 176, 76, 0.22), transparent 45%);
}

.program-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(216, 176, 76, 0.15);
    border: 1px solid rgba(216, 176, 76, 0.35);
    font-size: 1.65rem;
    margin-bottom: 1.3rem;
}

.program-day {
    color: #d8b04c;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.program-card h2,
.program-card h3 {
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    margin-bottom: 1rem;
}

.program-desc {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.program-meta {
    display: grid;
    gap: 0.65rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(216, 176, 76, 0.22);
    color: #fff;
    font-weight: 600;
}

.program-meta span {
    display: block;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(88px, 120px));
    gap: 12px;
    margin: 28px 0;
}

.countdown div {
    min-height: 92px;
    display: grid;
    align-content: center;
    padding: 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(244, 217, 154, 0.34);
    border-radius: 16px;
}

.countdown strong {
    color: var(--gold-light);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.25rem;
    line-height: 1;
}

.gallery-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-button {
    min-height: 42px;
    padding: 8px 16px;
    color: var(--black);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 800;
    touch-action: manipulation;
}

.filter-button.is-active,
.filter-button:hover {
    color: var(--black);
    background: var(--gold-light);
}

.gallery-grid {
    column-count: 3;
    column-gap: 18px;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 18px;
    overflow: hidden;
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-item figcaption {
    padding: 14px 16px;
    color: var(--muted);
    font-weight: 800;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(16, 15, 13, 0.9);
}

.lightbox[aria-hidden="false"] {
    display: flex;
}

.lightbox__panel {
    width: min(960px, 100%);
    color: var(--white);
}

.lightbox__media img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 18px;
}

.lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    font-size: 1.8rem;
}

.generated-invitation {
    position: relative;
    overflow: hidden;
    padding: 38px;
    color: var(--white);
    background:
        radial-gradient(circle at top right, rgba(244, 217, 154, 0.26), transparent 32%),
        linear-gradient(135deg, #11100f, #342719 60%, #15110e);
    border: 1px solid rgba(244, 217, 154, 0.45);
    border-radius: 24px;
    text-align: center;
    overflow-wrap: anywhere;
}

.generated-invitation a,
.footer-contact a {
    overflow-wrap: anywhere;
}

.generated-invitation h3 {
    font-family: Georgia, 'Times New Roman', serif;
}

.invitation-theme,
.invitation-date {
    color: var(--gold-light);
    font-weight: 800;
}

.form-status {
    min-height: 24px;
    color: #2f6b55;
    font-weight: 800;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-icons a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--black);
    background: var(--gold-light);
    border-radius: 50%;
    font-weight: 900;
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

.site-footer {
    color: var(--cream);
    background: var(--black);
}

.footer-brand {
    color: #f1d48b;
    font-family: 'Playfair Display', 'Cinzel', 'Cormorant Garamond', serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-contact {
    display: grid;
    gap: 0.35rem;
}

.footer-contact dt {
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-contact dd {
    margin-bottom: 0.65rem;
}

.footer-contact a {
    color: var(--cream);
    text-decoration: none;
}

.footer-contact a:hover,
.footer-admin {
    color: var(--gold-light);
}

.home-showcase {
    color: #fff;
    background:
        radial-gradient(circle at 50% 0, rgba(201, 154, 61, 0.12), transparent 26%),
        linear-gradient(180deg, #050504 0%, #090806 32%, #010101 100%);
    border-top: 1px solid rgba(201, 154, 61, 0.22);
}

.home-showcase__inner {
    width: min(1240px, 100%);
    margin: 0 auto;
    padding: 110px 28px 0;
}

.home-motto-card {
    min-height: 300px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: clamp(32px, 6vw, 70px);
    text-align: center;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015)),
        radial-gradient(circle at 50% 0, rgba(244, 217, 154, 0.12), transparent 52%),
        #17140f;
    border: 1px solid rgba(201, 154, 61, 0.62);
    border-radius: 42px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 28px 80px rgba(0, 0, 0, 0.28);
}

.home-sparkles {
    color: var(--gold-light);
    font-size: 1rem;
    letter-spacing: 1.2em;
    transform: translateX(0.6em);
}

.home-motto-card p,
.home-section-heading p,
.home-legacy-strip p {
    margin: 0;
    color: var(--gold-light);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.home-motto-card p {
    color: #e1ad36;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.85rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: 0.03em;
}

.home-motto-card h2 {
    margin: 0;
    color: #fff;
    font-family: 'Allura', cursive;
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    font-weight: 400;
    line-height: 0.9;
}

.home-block {
    padding-top: clamp(92px, 12vw, 142px);
}

.home-section-heading {
    margin-bottom: 46px;
    text-align: center;
}

.home-section-heading h2 {
    margin: 8px 0 0;
    color: #e1ad36;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.home-program-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.home-event-card {
    min-height: 570px;
    display: flex;
    flex-direction: column;
    padding: 30px 28px;
    overflow: hidden;
    border: 1px solid rgba(201, 154, 61, 0.58);
    border-radius: 22px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
}

.home-event-card--ivory {
    color: #0d0c0a;
    background: linear-gradient(160deg, #fff8e8 0%, #c3ad74 55%, #5b491e 100%);
}

.home-event-card--navy {
    background: linear-gradient(160deg, #061529 0%, #082f5c 52%, #061120 100%);
}

.home-event-card--teal {
    background: linear-gradient(160deg, #08767f 0%, #07505a 55%, #042c33 100%);
}

.home-event-card--black {
    background:
        radial-gradient(circle at 88% 10%, rgba(201, 154, 61, 0.2), transparent 36%),
        linear-gradient(160deg, #0d0b08 0%, #080705 100%);
}

.home-event-card__day,
.home-event-card__date,
.home-event-card__meta span {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-event-card__date {
    margin-top: 5px;
}

.home-event-card__icon {
    margin: 50px 0 20px;
    font-size: 2.4rem;
    line-height: 1;
}

.home-event-card h3 {
    margin: 0;
    color: inherit;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    font-weight: 900;
    line-height: 0.92;
    text-transform: uppercase;
}

.home-event-card strong {
    margin-top: 8px;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-event-card__dress {
    min-height: 92px;
    margin: 28px 0 auto;
    font-family: 'Allura', cursive;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 0.92;
}

.home-event-card__meta {
    display: grid;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid currentColor;
}

.home-event-card__meta span + span {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.home-event-card--ivory .home-event-card__meta span + span {
    border-color: rgba(13, 12, 10, 0.18);
}

.home-dress-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.home-dress-card {
    min-height: 208px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0, rgba(244, 217, 154, 0.08), transparent 42%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(201, 154, 61, 0.45);
    border-radius: 18px;
}

.home-dress-card span {
    width: 54px;
    height: 54px;
    display: block;
    background: var(--theme-color);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.home-dress-card h3 {
    margin: 0;
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.home-dress-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 34px;
}

.home-gallery-filters .filter-button {
    min-width: 70px;
    min-height: 46px;
    padding: 10px 20px;
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.42);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
}

.home-gallery-filters .filter-button.is-active,
.home-gallery-filters .filter-button:hover {
    color: #050504;
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.home-gallery-item {
    display: block;
    margin: 0;
    cursor: zoom-in;
    background: transparent;
    border: 1px solid rgba(201, 154, 61, 0.22);
    border-radius: 18px;
    box-shadow: none;
    backdrop-filter: none;
}

.home-gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1.32;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 17px;
}

.home-legacy-strip {
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: clamp(120px, 14vw, 170px);
    padding: 70px 0;
    border-top: 1px solid rgba(201, 154, 61, 0.42);
}

.home-legacy-strip h2 {
    margin: 24px 0 0;
    color: #e1ad36;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 0.92;
    text-transform: uppercase;
}

.home-legacy-strip a {
    min-width: 176px;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0b0905;
    background: var(--gold-light);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-decoration: none;
}

@media (max-width: 1199.98px) {
    .home-hero__inner {
        gap: clamp(6px, 1.2vw, 18px);
        padding-top: clamp(28px, 3.5vh, 44px);
        padding-bottom: clamp(28px, 4vh, 52px);
    }
}

@media (max-width: 991.98px) {
    .public-navbar {
        min-height: 86px;
    }

    .brand-logo {
        font-size: 1.5rem;
    }

    .public-navbar .navbar-collapse {
        padding: 18px 0 8px;
    }

    .public-navbar .navbar-nav {
        width: 100%;
        align-items: stretch !important;
        gap: 6px;
    }

    .public-navbar .nav-link,
    .public-navbar .nav-invitation {
        width: 100%;
        justify-content: flex-start;
        min-height: 44px;
        padding: 10px 14px;
        border-radius: 12px;
    }

    .public-navbar .nav-link.active,
    .public-navbar .nav-link:hover {
        background: rgba(244, 217, 154, 0.1);
    }

    .nav-invitation {
        margin-top: 6px;
    }

    .home-hero {
        min-height: auto;
    }

    .home-hero__inner {
        min-height: auto;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 24px;
        padding-top: 56px;
        padding-bottom: 48px;
    }

    .home-hero__left {
        padding: 0 16px;
        margin: 0 auto;
        max-width: 520px;
    }

    .hero-invite-text,
    .home-countdown-wrap,
    .hero-intro-note,
    .hero-legacy-line,
    .hero-live-message {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .join-row,
    .hero-live-actions {
        justify-content: center;
    }

    .invite-copy {
        align-items: center;
    }

    .hero-jubilee {
        text-align: center;
    }

    .gallery-grid {
        column-count: 2;
    }

    .home-showcase__inner {
        padding: 76px 20px 0;
    }

    .home-motto-card {
        min-height: 240px;
        border-radius: 30px;
    }

    .home-program-cards,
    .home-dress-grid,
    .home-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-event-card {
        min-height: 470px;
    }

    .home-legacy-strip {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    body {
        line-height: 1.55;
    }

    .home-hero__inner {
        gap: 18px;
        padding-top: 44px;
        padding-bottom: 36px;
    }

    .home-hero__left {
        max-width: 440px;
    }

    .hero-invite-text {
        max-width: 360px;
    }

    .join-script {
        font-size: clamp(4.5rem, 18vw, 6.5rem);
        line-height: 0.8;
    }

    .invite-copy {
        font-size: clamp(1rem, 5vw, 1.4rem);
        line-height: 1.08;
    }

    .home-countdown-wrap h2,
    .countdown-title,
    .hero-countdown-title {
        margin-top: 2rem;
    }

    .home-countdown-wrap {
        margin-top: 20px;
    }

    .hero-pill {
        min-width: 140px;
        min-height: 40px;
    }

    .page-hero .container {
        padding-top: 1rem !important;
    }

    .display-title {
        font-size: clamp(2.25rem, 14vw, 3.4rem);
        line-height: 1.04;
        overflow-wrap: anywhere;
    }

    .section-title,
    .lux-heading.display-5,
    .motto-card h2 {
        font-size: clamp(1.85rem, 9vw, 2.75rem);
        line-height: 1.08;
    }

    .section-kicker {
        letter-spacing: 0.16em;
        font-size: 0.68rem;
    }

    .section-subtitle {
        margin-bottom: 2rem;
    }

    .program-card,
    .event-card,
    .video-card,
    .activity-card,
    .glass-card,
    .rsvp-form,
    .contact-form,
    .quote-card {
        border-radius: 16px;
    }

    .program-card,
    .event-card,
    .video-card,
    .activity-card,
    .contact-form,
    .rsvp-form {
        padding: 1.25rem !important;
    }

    .quote-card.p-5 {
        padding: 1.5rem !important;
    }

    .quote-card .fs-2 {
        font-size: clamp(1.35rem, 7vw, 2rem) !important;
        line-height: 1.25;
    }

    .gallery-toolbar {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        margin-inline: -16px;
        padding-inline: 16px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .filter-button {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .lightbox {
        padding: 14px;
    }

    .lightbox__close {
        top: 10px;
        right: 10px;
    }

    .generated-invitation {
        border-radius: 18px;
    }

    .generated-invitation .fs-3 {
        font-size: clamp(1.35rem, 7vw, 1.9rem) !important;
    }

    .generated-invitation .display-6 {
        font-size: clamp(1.55rem, 8vw, 2.25rem);
        line-height: 1.08;
    }

    .generated-invitation .fs-4,
    .generated-invitation .fs-5 {
        font-size: clamp(1rem, 5.5vw, 1.35rem) !important;
    }

    .rsvp-form .btn,
    .contact-form .btn,
    .video-card .btn,
    .carousel .btn {
        width: 100%;
    }

    .rsvp-form .d-flex,
    .video-card .d-flex {
        width: 100%;
    }

    .rsvp-form .d-flex .btn,
    .video-card .d-flex .btn {
        flex: 1 1 100%;
    }

    .home-showcase__inner {
        padding: 56px 16px 0;
    }

    .home-block {
        padding-top: 74px;
    }

    .home-motto-card {
        min-height: 210px;
        padding: 30px 18px;
        border-radius: 24px;
    }

    .home-motto-card p {
        font-size: clamp(1.55rem, 8vw, 2.3rem);
    }

    .home-motto-card h2 {
        font-size: clamp(2.05rem, 10vw, 3.3rem);
    }

    .home-section-heading {
        margin-bottom: 28px;
    }

    .home-section-heading p,
    .home-legacy-strip p {
        font-size: 0.58rem;
        letter-spacing: 0.18em;
    }

    .home-section-heading h2 {
        font-size: clamp(1.9rem, 9vw, 2.8rem);
    }

    .home-event-card {
        min-height: 420px;
        padding: 24px 20px;
        border-radius: 18px;
    }

    .home-event-card__icon {
        margin: 30px 0 18px;
    }

    .home-event-card__dress {
        min-height: 60px;
    }

    .home-dress-card {
        min-height: 170px;
    }

    .home-gallery-filters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin-inline: -16px;
        padding-inline: 16px;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .home-gallery-filters .filter-button {
        flex: 0 0 auto;
    }

    .home-legacy-strip {
        margin-top: 90px;
        padding: 48px 0;
    }

    .home-legacy-strip h2 {
        font-size: clamp(1.85rem, 10vw, 2.8rem);
    }
}

@media (max-width: 575.98px) {
    .public-navbar {
        min-height: 76px;
    }

    .brand-logo {
        max-width: calc(100vw - 92px);
        font-size: clamp(0.98rem, 5vw, 1.18rem);
        letter-spacing: 1px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .home-hero__inner {
        gap: 14px;
        padding-top: 32px;
        padding-bottom: 28px;
    }

    .hero-invite-text {
        max-width: 360px;
        margin-inline: auto;
    }

    .join-script {
        font-size: clamp(4.5rem, 18vw, 6.5rem);
        line-height: 0.8;
    }

    .us-badge {
        margin-left: -0.25rem;
        transform: translateY(-0.35rem);
    }

    .invite-copy {
        font-size: clamp(1rem, 5vw, 1.4rem);
        line-height: 1.08;
    }

    .home-countdown-wrap {
        margin-top: 16px;
    }

    .home-countdown-wrap h2,
    .countdown-title,
    .hero-countdown-title {
        margin-top: 2rem;
    }

    .home-countdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .home-countdown div {
        min-height: 62px;
        padding: 6px 4px;
        border-radius: 10px;
    }

    .hero-pill {
        width: 100%;
        min-width: 0;
        min-height: 38px;
        font-size: 0.7rem;
    }

    .display-title {
        font-size: clamp(2.15rem, 13vw, 3rem);
    }

    .countdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        column-count: 1;
    }

    .home-program-cards,
    .home-dress-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .home-event-card {
        min-height: 390px;
    }

    .home-gallery-item {
        border-radius: 14px;
    }

    .home-gallery-item img {
        border-radius: 13px;
    }

    .home-legacy-strip a {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container,
    .container-fluid {
        padding-left: 14px;
        padding-right: 14px;
    }

    .public-navbar .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    .section-padding,
    section:not(.home-hero):not(.hero-section) {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .hero-invite-text {
        max-width: 300px;
    }

    .join-script {
        font-size: clamp(4rem, 22vw, 5.6rem);
    }

    .us-badge {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
        margin-left: -0.15rem;
        transform: translateY(-0.25rem);
    }

    .invite-copy {
        font-size: 1.05rem;
    }

    .home-countdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .countdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .countdown div {
        min-height: 74px;
        padding: 10px 8px;
    }

    .countdown strong {
        font-size: 1.7rem;
    }

    .footer-brand {
        font-size: clamp(1.45rem, 9vw, 2rem);
        overflow-wrap: anywhere;
    }
}

@media (max-width: 430px) {
    .hero-jubilee {
        font-size: clamp(1.16rem, 8.25vw, 1.65rem);
    }

    .generated-invitation {
        padding: 18px;
    }

    .home-gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-gallery-item img {
        aspect-ratio: 1 / 1.18;
    }
}

@media (max-width: 991px) {
    .dress-code-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-section,
    .home-hero {
        min-height: auto !important;
        padding: 72px 0 52px !important;
        overflow: hidden;
    }

    .hero-inner,
    .hero-content,
    .hero-grid,
    .home-hero__inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 2rem !important;
        min-height: auto !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .hero-left,
    .hero-center,
    .hero-right,
    .home-hero__left {
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .dress-code-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .container,
    .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }

    .section-padding,
    section:not(.home-hero):not(.hero-section) {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .admin-card,
    .dashboard-card,
    .event-card,
    .gallery-card,
    .quote-card,
    .video-card,
    .activity-card,
    .glass-card {
        width: 100%;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100%;
    }

    .gallery-grid {
        column-count: 1;
    }

    .generated-invitation {
        padding: 24px;
    }
}

@media (max-width: 576px) {
    .dress-code-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .program-card,
    .motto-card {
        padding: 1.5rem;
    }

    .hero-section,
    .home-hero {
        padding: 58px 0 38px !important;
    }

    .gallery-item figcaption {
        padding: 12px 14px;
        font-size: 0.88rem;
    }

    .site-footer {
        text-align: center;
    }

    .footer-contact {
        justify-items: center;
    }
}

/* Modern luxury gallery */
.lux-gallery-page {
    color: #f8f1df;
    background: #070707;
}

.lux-gallery-page img {
    display: block;
    width: 100%;
}

.lux-hero-gallery {
    position: relative;
    min-height: calc(100vh - 112px);
    overflow: hidden;
    background: #050505;
}

.lux-hero-gallery__slides,
.lux-hero-gallery__slide {
    position: absolute;
    inset: 0;
}

.lux-hero-gallery__slide {
    display: grid;
    align-items: end;
    margin: 0;
    cursor: zoom-in;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s ease, visibility 1.1s ease;
}

.lux-hero-gallery__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.lux-hero-gallery__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 3, 3, 0.86), rgba(3, 3, 3, 0.34), rgba(3, 3, 3, 0.72)),
        linear-gradient(0deg, rgba(3, 3, 3, 0.9), transparent 58%);
    pointer-events: none;
}

.lux-hero-gallery__slide img {
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 7s ease;
}

.lux-hero-gallery__slide.is-active img {
    transform: scale(1.12);
}

.lux-hero-gallery__slide figcaption {
    position: relative;
    z-index: 2;
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 clamp(72px, 10vh, 118px);
}

.lux-hero-gallery__slide span,
.lux-section-heading p,
.lux-editorial .eyebrow,
.lux-video-card span,
.lux-album-card time,
.lightbox__caption span {
    color: #e0b956;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lux-hero-gallery__slide h1,
.lux-section-heading h2,
.lux-editorial__story h2 {
    margin: 0;
    color: #fff8df;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.6rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: 0;
}

.lux-hero-gallery__slide p {
    max-width: 610px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(0.95rem, 1.4vw, 1.12rem);
}

.lux-hero-gallery__controls {
    position: absolute;
    right: clamp(18px, 4vw, 58px);
    bottom: clamp(22px, 5vh, 54px);
    z-index: 4;
    display: flex;
    gap: 10px;
}

.lux-hero-gallery__controls button,
.lightbox__actions button,
.lightbox__actions a,
.lux-video-modal__close {
    min-height: 42px;
    padding: 9px 16px;
    color: #fff8df;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(224, 185, 86, 0.45);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.lux-gallery-section {
    position: relative;
    padding: clamp(72px, 9vw, 130px) 0;
}

.lux-gallery-section--dark {
    background:
        radial-gradient(circle at 16% 8%, rgba(38, 84, 97, 0.18), transparent 28%),
        radial-gradient(circle at 86% 76%, rgba(119, 31, 52, 0.16), transparent 30%),
        linear-gradient(180deg, #060606, #10100e);
}

.lux-gallery-section--ivory {
    color: #15120d;
    background: #fbf4e4;
}

.lux-gallery-section--magazine {
    color: #15120d;
    background:
        linear-gradient(90deg, rgba(224, 185, 86, 0.12), transparent),
        #f5ead2;
}

.lux-gallery-section--cards,
.lux-gallery-section--comparison {
    color: #fff8df;
    background:
        radial-gradient(circle at 20% 20%, rgba(28, 105, 92, 0.18), transparent 30%),
        linear-gradient(135deg, #080706, #1a130a 58%, #090909);
}

.lux-gallery-section--minimal {
    color: #15120d;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
        #f8f1df;
}

.lux-section-heading {
    max-width: 850px;
    margin: 0 auto 42px;
    text-align: center;
}

.lux-section-heading--split {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    text-align: left;
}

.lux-section-heading--split span {
    max-width: 340px;
    color: currentColor;
    opacity: 0.72;
    font-weight: 700;
}

.lux-gallery-section--ivory .lux-section-heading h2,
.lux-gallery-section--magazine .lux-section-heading h2,
.lux-gallery-section--ivory .lux-section-heading p {
    color: #17130d;
}

.lux-filter-bar {
    justify-content: center;
    gap: 12px;
    margin-bottom: 38px;
}

.lux-filter-bar .filter-button {
    color: #f8f1df;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(224, 185, 86, 0.3);
    box-shadow: none;
}

.lux-filter-bar .filter-button.is-active,
.lux-filter-bar .filter-button:hover {
    color: #100f0d;
    background: #f2d27a;
    border-color: #f2d27a;
}

#galleryGrid.lux-isotope-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 18px;
    column-count: initial;
}

.lux-gallery-tile {
    position: relative;
    display: block;
    min-height: 310px;
    margin: 0;
    overflow: hidden;
    color: #fff;
    background: #14110c;
    border: 1px solid rgba(224, 185, 86, 0.28);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    cursor: zoom-in;
    transform: translateY(0);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.lux-gallery-tile:nth-child(6n + 1),
.lux-gallery-tile:nth-child(6n + 5) {
    grid-row: span 2;
    min-height: 640px;
}

.lux-gallery-tile:nth-child(7n + 3) {
    grid-column: span 2;
}

.lux-gallery-tile:hover {
    transform: translateY(-6px);
}

.lux-gallery-tile img,
.lux-mosaic__item img,
.lux-social-grid img,
.lux-album-card img,
.lux-video-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease, filter 0.55s ease;
}

.lux-gallery-tile:hover img,
.lux-mosaic__item:hover img,
.lux-social-grid figure:hover img,
.lux-video-card:hover img,
.lux-album-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.04);
}

.lux-gallery-tile::after,
.lux-mosaic__item::after,
.lux-video-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.86));
    pointer-events: none;
}

.lux-gallery-tile figcaption {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: grid;
    gap: 6px;
    padding: 22px;
    color: #fff8df;
}

.lux-gallery-tile figcaption span {
    color: #e0b956;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lux-gallery-tile figcaption strong {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    line-height: 1.05;
}

.lux-gallery-tile figcaption small {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
}

.lux-load-row {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.lux-mosaic {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(150px, 13vw);
    gap: 16px;
}

.lux-mosaic__item {
    position: relative;
    min-height: 220px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    cursor: zoom-in;
}

.lux-mosaic__item--1,
.lux-mosaic__item--4 {
    grid-column: span 3;
    grid-row: span 2;
}

.lux-mosaic__item--2,
.lux-mosaic__item--5 {
    grid-column: span 2;
}

.lux-mosaic__item--3 {
    grid-column: span 1;
    grid-row: span 2;
}

.lux-mosaic__item figcaption {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    padding: 18px;
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
}

.lux-timeline {
    position: relative;
    display: grid;
    gap: 38px;
    max-width: 1060px;
    margin: 0 auto;
}

.lux-timeline::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 50%;
    width: 1px;
    background: linear-gradient(#e0b956, rgba(224, 185, 86, 0.12));
}

.lux-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 52px;
    align-items: center;
}

.lux-timeline__item:nth-child(even) .lux-timeline__image {
    order: 2;
}

.lux-timeline__item::before {
    content: "";
    position: absolute;
    left: calc(50% - 8px);
    width: 16px;
    height: 16px;
    background: #e0b956;
    border: 4px solid #10100e;
    border-radius: 50%;
}

.lux-timeline__image {
    min-height: 320px;
    overflow: hidden;
    border-radius: 8px;
    cursor: zoom-in;
}

.lux-timeline__image img {
    height: 100%;
    object-fit: cover;
}

.lux-timeline__content {
    padding: 34px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(224, 185, 86, 0.28);
    border-radius: 8px;
}

.lux-timeline__content span {
    color: #e0b956;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lux-timeline__content h3 {
    margin: 10px 0;
    color: #fff8df;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.lux-timeline__content p,
.lux-timeline__content li {
    color: rgba(255, 255, 255, 0.75);
}

.lux-timeline__content ul {
    margin: 18px 0 0;
    padding-left: 1.1rem;
}

.lux-editorial {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: clamp(30px, 5vw, 72px);
    align-items: center;
}

.lux-editorial__feature {
    min-height: 680px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}

.lux-editorial__feature img {
    height: 100%;
    object-fit: cover;
}

.lux-editorial__story h2 {
    color: #17130d;
    font-size: clamp(2.25rem, 5vw, 5.4rem);
}

.lux-editorial__story blockquote {
    margin: 30px 0;
    padding: 24px 0 24px 26px;
    color: #771f34;
    border-left: 3px solid #e0b956;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.24;
}

.lux-editorial__mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.lux-editorial__mini-grid img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.lux-video-grid,
.lux-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.lux-video-card {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: end;
    overflow: hidden;
    border: 1px solid rgba(224, 185, 86, 0.28);
    border-radius: 8px;
    cursor: pointer;
}

.lux-video-card > div {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 24px;
}

.lux-video-card h3,
.lux-album-card h3 {
    margin: 8px 0 18px;
    color: #fff8df;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.65rem;
}

.lux-play-button {
    width: 58px;
    height: 58px;
    color: #100f0d;
    background: #f2d27a;
    border: 0;
    border-radius: 50%;
    font-size: 0;
}

.lux-play-button::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin: auto;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #100f0d;
    transform: translateX(2px);
}

.lux-social-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.lux-social-grid figure {
    aspect-ratio: 1;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    cursor: zoom-in;
}

.lux-social-grid img {
    aspect-ratio: 1;
}

.lux-album-card {
    overflow: hidden;
    color: #fff8df;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(224, 185, 86, 0.28);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.lux-album-card img {
    aspect-ratio: 4 / 3;
}

.lux-album-card div {
    padding: 24px;
}

.lux-album-card p {
    color: rgba(255, 255, 255, 0.72);
}

.lux-before-after {
    position: relative;
    max-width: 1080px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(224, 185, 86, 0.35);
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.lux-before-after img,
.lux-before-after__after {
    position: absolute;
    inset: 0;
    height: 100%;
}

.lux-before-after img {
    object-fit: cover;
}

.lux-before-after__after {
    width: var(--split, 52%);
    overflow: hidden;
    border-right: 2px solid #f2d27a;
}

.lux-before-after__after img {
    width: 1080px;
    max-width: none;
}

.lux-before-after input {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
}

.lux-before-after::after {
    content: "";
    position: absolute;
    top: 50%;
    left: var(--split, 52%);
    z-index: 2;
    width: 48px;
    height: 48px;
    background: #f2d27a;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
}

.lux-minimal-gallery {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 1.1fr;
    gap: clamp(18px, 3vw, 34px);
    align-items: center;
}

.lux-minimal-gallery figure {
    min-height: 460px;
    display: grid;
    align-items: end;
    margin: 0;
    overflow: hidden;
    padding: 18px;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(224, 185, 86, 0.35);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(18, 15, 9, 0.12);
    backdrop-filter: blur(16px);
    cursor: zoom-in;
}

.lux-minimal-gallery figure:nth-child(2) {
    min-height: 560px;
}

.lux-minimal-gallery img {
    grid-area: 1 / 1;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.lux-minimal-gallery figcaption {
    grid-area: 1 / 1;
    align-self: end;
    margin: 14px;
    padding: 18px;
    color: #fff8df;
    background: rgba(8, 8, 8, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    backdrop-filter: blur(14px);
}

.lux-minimal-gallery span {
    display: block;
    color: #f2d27a;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lux-minimal-gallery strong {
    display: block;
    margin-top: 4px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    line-height: 1.05;
}

.lux-depth-gallery {
    position: relative;
    height: min(58vw, 520px);
    min-height: 360px;
    perspective: 1200px;
}

.lux-depth-gallery figure {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(260px, 38vw);
    aspect-ratio: 3 / 4;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(224, 185, 86, 0.4);
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
    cursor: zoom-in;
    transform:
        translate(-50%, -50%)
        rotateY(calc(var(--card-index) * 60deg))
        translateZ(min(38vw, 390px));
    animation: luxuryOrbit 18s linear infinite;
    animation-delay: calc(var(--card-index) * -3s);
}

.lux-depth-gallery img {
    height: 100%;
    object-fit: cover;
}

@keyframes luxuryOrbit {
    from {
        transform:
            translate(-50%, -50%)
            rotateY(calc(var(--card-index) * 60deg))
            translateZ(min(38vw, 390px));
    }

    to {
        transform:
            translate(-50%, -50%)
            rotateY(calc((var(--card-index) * 60deg) + 360deg))
            translateZ(min(38vw, 390px));
    }
}

.lightbox {
    background:
        radial-gradient(circle at 50% 0, rgba(224, 185, 86, 0.12), transparent 34%),
        rgba(4, 4, 4, 0.95);
}

.lightbox__panel {
    width: min(1120px, 100%);
}

.lightbox__media {
    display: grid;
    place-items: center;
    overflow: auto;
    max-height: 76vh;
}

.lightbox__media img {
    max-height: 74vh;
    border-radius: 8px;
    transition: transform 0.25s ease;
}

.lightbox__media.is-zoomed img {
    max-height: none;
    transform: scale(1.35);
    cursor: zoom-out;
}

.lightbox__caption {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
    padding-top: 18px;
    color: #fff8df;
}

.lightbox__caption h2 {
    margin: 4px 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.8rem);
}

.lightbox__caption p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.lightbox__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 54px;
    height: 54px;
    color: #fff8df;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(224, 185, 86, 0.45);
    border-radius: 50%;
    font-size: 0;
    transform: translateY(-50%);
}

.lightbox__nav::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    margin: auto;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
}

.lightbox__nav--prev {
    left: 24px;
}

.lightbox__nav--next {
    right: 24px;
}

.lightbox__nav--prev::before {
    transform: rotate(-45deg);
}

.lightbox__nav--next::before {
    transform: rotate(135deg);
}

.lux-video-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(4, 4, 4, 0.92);
}

.lux-video-modal[aria-hidden="false"] {
    display: flex;
}

.lux-video-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
}

.lux-video-modal__frame {
    width: min(980px, 100%);
    aspect-ratio: 16 / 9;
    background: #111;
    border: 1px solid rgba(224, 185, 86, 0.36);
    border-radius: 8px;
    overflow: hidden;
}

.lux-video-modal__frame iframe,
.lux-video-modal__frame video,
.lux-video-modal__empty {
    width: 100%;
    height: 100%;
}

.lux-video-modal__empty {
    display: grid;
    place-items: center;
    color: #fff8df;
    font-weight: 900;
}

@media (max-width: 1199.98px) {
    #galleryGrid.lux-isotope-grid,
    .lux-video-grid,
    .lux-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lux-social-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .lux-hero-gallery {
        min-height: 680px;
    }

    #galleryGrid.lux-isotope-grid,
    .lux-video-grid,
    .lux-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lux-gallery-tile:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        min-height: 360px;
    }

    .lux-section-heading--split,
    .lux-editorial,
    .lux-timeline__item,
    .lux-minimal-gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .lux-section-heading--split {
        display: grid;
        text-align: center;
    }

    .lux-section-heading--split span {
        max-width: 560px;
        margin: 0 auto;
    }

    .lux-timeline::before,
    .lux-timeline__item::before {
        left: 0;
    }

    .lux-timeline__item {
        padding-left: 28px;
        gap: 22px;
    }

    .lux-timeline__item:nth-child(even) .lux-timeline__image {
        order: 0;
    }

    .lux-editorial__feature {
        min-height: 480px;
    }

    .lux-minimal-gallery figure,
    .lux-minimal-gallery figure:nth-child(2) {
        min-height: 420px;
    }

    .lux-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 220px;
    }

    .lux-mosaic__item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 767.98px) {
    .lux-hero-gallery {
        min-height: 620px;
    }

    .lux-hero-gallery__slide figcaption {
        padding-bottom: 96px;
    }

    .lux-hero-gallery__controls {
        right: 16px;
        left: 16px;
        justify-content: space-between;
    }

    .lux-gallery-section {
        padding: 62px 0;
    }

    #galleryGrid.lux-isotope-grid,
    .lux-video-grid,
    .lux-card-grid,
    .lux-social-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .lux-social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lux-gallery-tile {
        min-height: 330px;
    }

    .lux-before-after {
        aspect-ratio: 4 / 5;
    }

    .lux-before-after__after img {
        width: calc(100vw - 32px);
    }

    .lightbox__caption {
        display: grid;
    }

    .lightbox__actions {
        justify-content: flex-start;
    }

    .lightbox__nav {
        top: auto;
        bottom: 18px;
        width: 46px;
        height: 46px;
    }

    .lightbox__nav--prev {
        left: 18px;
    }

    .lightbox__nav--next {
        right: 18px;
    }
}

@media (max-width: 575.98px) {
    .lux-hero-gallery {
        min-height: 560px;
    }

    .lux-hero-gallery__slide h1,
    .lux-section-heading h2,
    .lux-editorial__story h2 {
        font-size: clamp(2.1rem, 13vw, 3.4rem);
    }

    .lux-mosaic {
        grid-template-columns: minmax(0, 1fr);
    }

    .lux-video-card {
        min-height: 360px;
    }

    .lux-timeline__content {
        padding: 24px;
    }

    .lux-depth-gallery {
        height: 420px;
        overflow: hidden;
    }

    .lux-depth-gallery figure {
        width: 190px;
    }
}

/* Wishes and tributes */
.wishes-page {
    color: #24190f;
    background: #fff7e8;
}

.wishes-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(86px, 10vw, 145px) 0 clamp(72px, 8vw, 110px);
    background:
        radial-gradient(circle at 16% 22%, rgba(242, 210, 122, 0.32), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(119, 31, 52, 0.10), transparent 26%),
        linear-gradient(135deg, #fffaf0, #f7ead1 56%, #fff6df);
}

.wishes-hero::before,
.wishes-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(201, 154, 61, 0.18);
    border-radius: 50%;
    transform: rotate(28deg);
}

.wishes-hero::before {
    left: -72px;
    top: 40px;
}

.wishes-hero::after {
    right: -88px;
    bottom: -44px;
}

.wishes-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
}

.wishes-hero h1,
.wishes-heading h2,
.wish-submit-card h2,
.wishes-empty__card h2,
.wish-modal__content h2 {
    margin: 0;
    color: #21160d;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
    letter-spacing: 0;
}

.wishes-hero h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.94;
}

.wishes-hero p:not(.eyebrow) {
    max-width: 720px;
    margin: 22px 0 0;
    color: #6b5c4b;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.wishes-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.wishes-page .button--outline {
    color: #21160d;
    border-color: rgba(201, 154, 61, 0.55);
}

.wishes-section,
.wishes-submit-section {
    padding: clamp(70px, 8vw, 118px) 0;
}

.wishes-section--cream {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0)),
        #fbf1dc;
}

.wishes-heading {
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: center;
}

.wishes-heading p,
.wish-submit-card legend,
.wish-modal__blocks span,
.featured-badge {
    color: #bd8324;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.wishes-heading h2,
.wish-submit-card h2 {
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 0.98;
}

.featured-wishes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.featured-wish-card,
.wish-gallery-card,
.wish-submit-card,
.wishes-empty__card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(201, 154, 61, 0.35);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(42, 28, 12, 0.12);
}

.featured-wish-card,
.wish-gallery-card {
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.featured-wish-card:hover,
.wish-gallery-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 154, 61, 0.72);
    box-shadow: 0 30px 80px rgba(42, 28, 12, 0.17);
}

.featured-wish-card__media,
.wish-gallery-card__media {
    position: relative;
    overflow: hidden;
    background: #21160d;
}

.featured-wish-card__media {
    aspect-ratio: 4 / 3.2;
}

.wish-gallery-card__media {
    aspect-ratio: 4 / 3;
}

.featured-wish-card img,
.wish-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-wish-card:hover img,
.wish-gallery-card:hover img {
    transform: scale(1.06);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 12px;
    color: #21160d;
    background: #f4d99a;
    border-radius: 999px;
}

.wish-play-icon {
    position: absolute;
    left: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    background: rgba(244, 217, 154, 0.94);
    border-radius: 50%;
}

.wish-play-icon::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #21160d;
    transform: translateX(2px);
}

.featured-wish-card__body,
.wish-gallery-card__body {
    padding: 24px;
}

.featured-wish-card h3,
.wish-gallery-card h3,
.wish-gallery-card h4 {
    color: #21160d;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
    line-height: 1.08;
}

.featured-wish-card h3 {
    margin: 0 0 5px;
    font-size: 1.65rem;
}

.wish-meta {
    margin: 0 0 14px;
    color: #8a7157;
    font-size: 0.84rem;
    font-weight: 800;
}

.featured-wish-card__body > p:not(.wish-meta),
.wish-gallery-card__body > p {
    color: #6b5c4b;
}

.wish-read-button {
    min-height: 40px;
    padding: 8px 15px;
    color: #21160d;
    background: #f4d99a;
    border: 1px solid #f4d99a;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wishes-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 34px;
}

.wish-filter {
    min-height: 42px;
    padding: 8px 16px;
    color: #352719;
    background: #fff;
    border: 1px solid rgba(201, 154, 61, 0.32);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 900;
    transition: transform 0.25s ease, background 0.25s ease;
}

.wish-filter:hover {
    transform: translateY(-2px);
}

.wish-filter.is-active {
    color: #21160d;
    background: #f4d99a;
    border-color: #f4d99a;
}

.wishes-grid {
    columns: 3 280px;
    column-gap: 22px;
}

.wish-gallery-card {
    display: inline-block;
    width: 100%;
    margin: 0 0 22px;
    break-inside: avoid;
}

.wish-gallery-card:nth-child(3n + 2) .wish-gallery-card__media {
    aspect-ratio: 4 / 4.6;
}

.wish-gallery-card h3 {
    margin: 0;
    font-size: 1.35rem;
}

.wish-gallery-card h4 {
    margin: 18px 0 10px;
    font-size: 1.1rem;
}

.wish-gallery-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.wish-gallery-card time {
    color: #8a7157;
    font-size: 0.74rem;
    font-weight: 800;
}

.wishes-submit-section {
    background:
        radial-gradient(circle at 18% 16%, rgba(201, 154, 61, 0.18), transparent 24%),
        linear-gradient(135deg, #130d08, #2a1b0d 58%, #0b0805);
}

.wish-submit-card {
    padding: clamp(24px, 4vw, 48px);
    color: #21160d;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
}

.wish-submit-card__intro {
    max-width: 760px;
    margin-bottom: 32px;
}

.wish-submit-card fieldset {
    padding: 0;
    margin: 0 0 30px;
    border: 0;
}

.wish-submit-card legend {
    margin-bottom: 16px;
}

.wish-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.wish-form-grid label,
.wish-preferences label {
    color: #5d4c39;
    font-size: 0.82rem;
    font-weight: 900;
}

.wish-field-wide {
    grid-column: 1 / -1;
}

.wish-form-grid input,
.wish-form-grid textarea {
    width: 100%;
    display: block;
    min-height: 48px;
    margin-top: 7px;
    padding: 10px 13px;
    color: #21160d;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(201, 154, 61, 0.28);
    border-radius: 12px;
}

.wish-form-grid textarea {
    min-height: 120px;
    resize: vertical;
}

.wish-preferences {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.wish-preferences label {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(201, 154, 61, 0.22);
    border-radius: 12px;
}

.wish-submit-note {
    margin: 16px 0 0;
    color: #5d4c39;
    font-weight: 800;
}

.wishes-empty__card {
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(30px, 5vw, 60px);
    text-align: center;
}

.wish-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(13, 9, 5, 0.9);
}

.wish-modal[aria-hidden="false"] {
    display: flex;
}

.wish-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    font-size: 1.8rem;
}

.wish-modal__panel {
    width: min(1120px, 100%);
    max-height: 88vh;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    overflow: auto;
    background: #fff8eb;
    border: 1px solid rgba(244, 217, 154, 0.44);
    border-radius: 18px;
    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.42);
}

.wish-modal__media {
    min-height: 520px;
    background: #21160d;
}

.wish-modal__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wish-modal__video {
    height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 16px;
    color: #f4d99a;
}

.wish-modal__video span {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    background: #f4d99a;
    border-radius: 50%;
}

.wish-modal__video span::before {
    content: "";
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 20px solid #21160d;
    transform: translateX(3px);
}

.wish-modal__content {
    padding: clamp(24px, 4vw, 44px);
}

.wish-modal__content h2 {
    font-size: clamp(2rem, 4vw, 4rem);
}

.wish-modal__location {
    color: #8a7157;
    font-weight: 900;
}

.wish-modal__text {
    margin: 22px 0;
    color: #4e4031;
    font-size: 1rem;
    line-height: 1.75;
}

.wish-modal__blocks {
    display: grid;
    gap: 12px;
}

.wish-modal__blocks article {
    padding: 16px;
    background: #fff;
    border: 1px solid rgba(201, 154, 61, 0.22);
    border-radius: 12px;
}

.wish-modal__blocks p {
    margin: 5px 0 0;
    color: #5d4c39;
}

.wish-modal__gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.wish-modal__gallery img {
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.wish-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

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

    .wish-preferences {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wish-modal__panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .wish-modal__media {
        min-height: 360px;
    }
}

@media (max-width: 767.98px) {
    .wishes-hero {
        padding-top: 68px;
    }

    .featured-wishes-grid,
    .wish-form-grid,
    .wish-preferences {
        grid-template-columns: minmax(0, 1fr);
    }

    .wishes-filter-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin-inline: -16px;
        padding-inline: 16px;
        padding-bottom: 8px;
    }

    .wish-filter {
        flex: 0 0 auto;
    }

    .wishes-grid {
        columns: 1;
    }

    .wish-gallery-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .wish-modal {
        padding: 12px;
    }
}

/* Screenshot-style Tributes page */
.tribute-ui-page {
    --tribute-gold: #b87505;
    --tribute-gold-soft: #f2cf8a;
    --tribute-ink: #24160c;
    --tribute-muted: #6c5945;
    --tribute-line: rgba(184, 117, 5, 0.24);
    --tribute-card: rgba(255, 252, 245, 0.94);
    color: var(--tribute-ink);
    background:
        radial-gradient(circle at 8% 2%, rgba(242, 207, 138, 0.45), transparent 23%),
        radial-gradient(circle at 90% 0, rgba(242, 207, 138, 0.34), transparent 24%),
        linear-gradient(180deg, #fff9ed, #fff4e1 52%, #fff9ef);
}

.tribute-ui-page img {
    display: block;
    width: 100%;
}

.tribute-ui-hero {
    position: relative;
    min-height: 430px;
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
    align-items: end;
    overflow: hidden;
    padding: 42px clamp(18px, 4vw, 70px) 0;
    background:
        radial-gradient(circle at 74% 70%, rgba(255, 255, 255, 0.9), transparent 22%),
        radial-gradient(circle at 84% 35%, rgba(184, 117, 5, 0.14), transparent 28%),
        linear-gradient(90deg, #fff5df, #fffaf0 48%, #f5dfbd);
    border-bottom: 1px solid var(--tribute-line);
}

.tribute-ui-hero::after {
    content: "";
    position: absolute;
    right: clamp(18px, 8vw, 140px);
    bottom: 20px;
    width: min(34vw, 420px);
    aspect-ratio: 1;
    opacity: 0.42;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.75) 0 22%, transparent 23%),
        radial-gradient(circle at 38% 38%, rgba(184, 117, 5, 0.18), transparent 18%),
        radial-gradient(circle at 62% 62%, rgba(184, 117, 5, 0.16), transparent 18%);
    border: 1px solid rgba(184, 117, 5, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.tribute-ui-hero__portrait {
    position: relative;
    z-index: 1;
    align-self: end;
    max-width: 410px;
    margin: 0 auto;
}

.tribute-ui-hero__portrait img {
    max-height: 410px;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 24px 45px rgba(52, 31, 10, 0.22));
}

.tribute-ui-hero__copy {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 0 0 72px;
    text-align: center;
}

.tribute-ornament {
    width: 120px;
    height: 28px;
    display: block;
    margin: 0 auto 18px;
    border-top: 2px solid var(--tribute-gold);
    position: relative;
}

.tribute-ornament::before {
    content: "✧";
    position: absolute;
    top: -18px;
    left: 50%;
    color: var(--tribute-gold);
    font-size: 26px;
    transform: translateX(-50%);
}

.tribute-ui-hero h1 {
    margin: 0;
    color: var(--tribute-ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(3rem, 6.8vw, 6.2rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0;
}

.tribute-ui-hero p {
    max-width: 640px;
    margin: 22px auto 0;
    color: #3f3327;
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    line-height: 1.55;
}

.tribute-ui-hero__actions,
.tribute-detail-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.tribute-ui-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.tribute-ui-btn--gold {
    color: #fff;
    background: linear-gradient(135deg, #c4840b, #9d6400);
    border: 1px solid #a96c02;
    box-shadow: 0 12px 26px rgba(157, 100, 0, 0.22);
}

.tribute-ui-btn--outline {
    color: var(--tribute-ink);
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(184, 117, 5, 0.45);
}

.tribute-ui-shell {
    width: min(1880px, calc(100% - 32px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
    gap: 28px;
    margin: 0 auto;
    padding: 30px 0 56px;
}

.tribute-ui-main {
    min-width: 0;
}

.tribute-ui-rail {
    display: grid;
    align-content: start;
    gap: 18px;
}

.tribute-detail-panel,
.tribute-form-panel,
.tribute-browser,
.tribute-cta,
.tribute-feature-card,
.tribute-gallery-card {
    background: var(--tribute-card);
    border: 1px solid var(--tribute-line);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(67, 39, 10, 0.11);
}

.tribute-detail-panel,
.tribute-form-panel {
    position: sticky;
    top: 126px;
    padding: 24px;
}

.tribute-form-panel {
    position: relative;
    top: auto;
}

.tribute-detail-panel.is-collapsed {
    display: none;
}

.tribute-detail-panel__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    color: var(--tribute-ink);
    background: #fff;
    border: 1px solid var(--tribute-line);
    border-radius: 50%;
    font-size: 1.35rem;
    line-height: 1;
}

.tribute-detail-panel > h2,
.tribute-form-panel > h2,
.tribute-cta h2 {
    margin: 0;
    color: var(--tribute-ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
    letter-spacing: 0;
}

.tribute-detail-panel > h2 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.tribute-detail-profile {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 14px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--tribute-line);
}

.tribute-detail-profile img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 3px solid #f3d38c;
    border-radius: 50%;
}

.tribute-detail-profile h3 {
    margin: 0;
    color: var(--tribute-ink);
    font-size: 1rem;
    font-weight: 900;
}

.tribute-detail-profile p,
.tribute-detail-profile small,
.tribute-detail-profile time,
.tribute-relationship {
    margin: 0;
    color: var(--tribute-muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.tribute-detail-copy {
    padding: 18px 0 0;
}

.tribute-detail-copy h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 900;
}

.tribute-detail-copy h4,
.tribute-form-panel legend {
    margin: 18px 0 7px;
    color: var(--tribute-gold);
    font-size: 0.82rem;
    font-weight: 900;
}

.tribute-detail-copy p {
    margin: 0;
    color: #3d3126;
    font-size: 0.85rem;
    line-height: 1.62;
}

.tribute-detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.tribute-detail-gallery img {
    aspect-ratio: 1.12;
    object-fit: cover;
    border-radius: 8px;
}

.tribute-detail-video {
    position: relative;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 10px;
    background: #1d130b;
}

.tribute-detail-video[hidden] {
    display: none;
}

.tribute-detail-video img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.tribute-ui-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 4px 0 22px;
    padding: 0 8px;
}

.tribute-ui-section-head h2 {
    margin: 0;
    color: var(--tribute-ink);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tribute-ui-section-head h2 span,
.tribute-ui-section-head a {
    color: var(--tribute-gold);
}

.tribute-ui-section-head a {
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.tribute-featured {
    padding: 0 0 28px;
}

.tribute-featured__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tribute-feature-card {
    min-height: 235px;
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 16px;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tribute-feature-card:hover,
.tribute-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 62px rgba(67, 39, 10, 0.16);
}

.tribute-card.is-selected {
    border-color: rgba(184, 117, 5, 0.78);
    box-shadow: 0 24px 68px rgba(184, 117, 5, 0.2);
}

.tribute-feature-card__media {
    position: relative;
}

.tribute-feature-card__media img {
    height: 158px;
    object-fit: cover;
    border-radius: 10px;
}

.tribute-feature-card__media span {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 5px 8px;
    color: #fff;
    background: var(--tribute-gold);
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tribute-feature-card h3,
.tribute-gallery-card h3 {
    margin: 0 0 5px;
    color: var(--tribute-ink);
    font-size: 1rem;
    font-weight: 900;
}

.tribute-feature-card p,
.tribute-feature-card small,
.tribute-gallery-card small,
.tribute-gallery-card p,
.tribute-form-panel p {
    color: var(--tribute-muted);
}

.tribute-feature-card p,
.tribute-feature-card small {
    display: block;
    margin: 0 0 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.tribute-feature-card blockquote {
    margin: 10px 0 14px;
    color: #3d3126;
    font-size: 0.82rem;
    line-height: 1.55;
}

.tribute-read-btn {
    min-height: 34px;
    padding: 7px 12px;
    color: var(--tribute-gold);
    background: #fff;
    border: 1px solid rgba(184, 117, 5, 0.42);
    border-radius: 7px;
    font-size: 0.72rem;
    font-weight: 900;
}

.tribute-browser {
    padding: 20px;
}

.tribute-tabs {
    display: grid;
    grid-template-columns: repeat(9, minmax(74px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.tribute-tab {
    min-height: 70px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    color: var(--tribute-ink);
    background: #fff;
    border: 1px solid rgba(184, 117, 5, 0.18);
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 900;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.tribute-tab:hover {
    transform: translateY(-2px);
}

.tribute-tab.is-active {
    color: #fff;
    background: linear-gradient(135deg, #c4840b, #9d6400);
}

.tribute-tab [data-icon]::before {
    content: attr(data-icon);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.tribute-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.tribute-gallery-card {
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tribute-gallery-card__media {
    position: relative;
    aspect-ratio: 1.28;
    overflow: hidden;
    background: #1d130b;
}

.tribute-gallery-card__media img {
    height: 100%;
    object-fit: cover;
}

.tribute-video-play {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.58);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.tribute-video-play::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 16px solid #fff;
    transform: translateX(2px);
}

.tribute-gallery-card__body {
    padding: 14px;
}

.tribute-gallery-card small {
    display: block;
    margin-bottom: 8px;
    font-size: 0.72rem;
    font-weight: 800;
}

.tribute-gallery-card p {
    margin: 0 0 10px;
    font-size: 0.82rem;
    line-height: 1.45;
}

.tribute-gallery-card footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--tribute-muted);
    font-size: 0.72rem;
}

.tribute-load-row {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.tribute-cta {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 24px;
    align-items: center;
    margin-top: 24px;
    padding: 28px;
    background:
        radial-gradient(circle at 8% 20%, rgba(242, 207, 138, 0.45), transparent 20%),
        linear-gradient(90deg, #fffaf0, #fff2d8);
}

.tribute-cta__icon {
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #c4840b, #9d6400);
    border: 6px solid #fff1d5;
    border-radius: 50%;
    box-shadow: 0 18px 34px rgba(157, 100, 0, 0.24);
    font-size: 2.4rem;
}

.tribute-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.tribute-cta p {
    margin: 8px 0 16px;
    color: var(--tribute-muted);
}

.tribute-form-panel h2 {
    text-align: center;
    font-size: 1.45rem;
    text-transform: uppercase;
}

.tribute-form-panel > p {
    margin: 6px 0 22px;
    text-align: center;
    font-size: 0.88rem;
}

.tribute-form-panel fieldset {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.tribute-form-grid,
.tribute-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.tribute-form-panel label {
    display: block;
    color: #6a4d24;
    font-size: 0.72rem;
    font-weight: 900;
}

.tribute-form-panel input,
.tribute-form-panel select,
.tribute-form-panel textarea {
    width: 100%;
    min-height: 38px;
    display: block;
    margin-top: 5px;
    padding: 8px 10px;
    color: var(--tribute-ink);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(184, 117, 5, 0.22);
    border-radius: 7px;
    font-size: 0.78rem;
}

.tribute-form-panel textarea {
    min-height: 84px;
    resize: vertical;
}

.tribute-form-panel fieldset > label,
.tribute-upload-grid label:nth-child(3) {
    grid-column: 1 / -1;
}

.tribute-checks {
    display: grid;
    gap: 8px;
}

.tribute-checks label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
}

.tribute-checks input {
    width: auto;
    min-height: auto;
    margin: 0;
}

.tribute-submit-btn {
    width: 100%;
}

.tribute-submit-note {
    margin: 10px 0 0;
    color: var(--tribute-muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.tribute-gallery-read {
    width: 100%;
    margin-top: 10px;
}

.tribute-popup {
    --tribute-gold: #b87505;
    --tribute-gold-soft: #f2cf8a;
    --tribute-ink: #24160c;
    --tribute-muted: #6c5945;
    --tribute-line: rgba(184, 117, 5, 0.24);
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 50% 0, rgba(242, 207, 138, 0.22), transparent 34%),
        rgba(24, 15, 8, 0.82);
    backdrop-filter: blur(10px);
}

.tribute-popup[aria-hidden="false"] {
    display: flex;
}

.tribute-popup__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 42px;
    height: 42px;
    color: var(--tribute-ink);
    background: #fffaf0;
    border: 1px solid rgba(184, 117, 5, 0.26);
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    box-shadow: 0 12px 28px rgba(24, 15, 8, 0.22);
}

.tribute-popup__panel {
    width: min(1120px, 100%);
    max-height: 90vh;
    display: grid;
    grid-template-columns: minmax(300px, 0.86fr) minmax(360px, 1.14fr);
    overflow: auto;
    color: var(--tribute-ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 238, 0.96)),
        #fff8eb;
    border: 1px solid rgba(242, 207, 138, 0.52);
    border-radius: 20px;
    box-shadow: 0 36px 120px rgba(0, 0, 0, 0.36);
}

.tribute-popup__media {
    position: relative;
    min-height: 620px;
    background: #1d130b;
}

.tribute-popup__media > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tribute-popup__video {
    position: absolute;
    inset: auto 18px 18px;
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    color: #fff;
    background: rgba(0, 0, 0, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.tribute-popup__video[hidden] {
    display: none;
}

.tribute-popup__video .tribute-video-play {
    position: relative;
    inset: auto;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    transform: none;
}

.tribute-popup__video p {
    margin: 0;
    font-weight: 900;
}

.tribute-popup__content {
    padding: clamp(24px, 4vw, 42px);
}

.tribute-popup__profile {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    gap: 14px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--tribute-line);
}

.tribute-popup__profile img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border: 3px solid #f3d38c;
    border-radius: 50%;
}

.tribute-popup__profile h2 {
    margin: 0 0 4px;
    color: var(--tribute-ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.45rem);
    font-weight: 900;
    line-height: 1;
}

.tribute-popup__profile p,
.tribute-popup__profile small,
.tribute-popup__profile time {
    display: block;
    margin: 0;
    color: var(--tribute-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.tribute-popup__story {
    padding-top: 22px;
}

.tribute-popup__story h3 {
    margin: 0 0 12px;
    color: var(--tribute-ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    font-weight: 900;
}

.tribute-popup__story h4 {
    margin: 22px 0 8px;
    color: var(--tribute-gold);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tribute-popup__story p {
    margin: 0;
    color: #3d3126;
    font-size: 0.96rem;
    line-height: 1.72;
}

.tribute-popup__gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.tribute-popup__gallery img {
    aspect-ratio: 1.12;
    object-fit: cover;
    border-radius: 10px;
}

.tribute-popup__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 26px;
}

@media (max-width: 1399.98px) {
    .tribute-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tribute-tabs {
        grid-template-columns: repeat(5, minmax(74px, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .tribute-ui-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .tribute-ui-rail {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
        align-items: start;
    }

    .tribute-detail-panel {
        position: static;
    }

    .tribute-featured__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .tribute-ui-hero {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 48px;
    }

    .tribute-ui-hero__portrait {
        max-width: 300px;
        order: 2;
    }

    .tribute-ui-hero__copy {
        order: 1;
        padding-bottom: 24px;
    }

    .tribute-ui-rail {
        grid-template-columns: minmax(0, 1fr);
    }

    .tribute-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tribute-popup__panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .tribute-popup__media {
        min-height: 420px;
    }
}

@media (max-width: 767.98px) {
    .tribute-ui-shell {
        width: min(100% - 24px, 680px);
        padding-top: 18px;
    }

    .tribute-featured__grid,
    .tribute-card-grid,
    .tribute-form-grid,
    .tribute-upload-grid,
    .tribute-cta {
        grid-template-columns: minmax(0, 1fr);
    }

    .tribute-feature-card {
        grid-template-columns: 96px 1fr;
        padding: 14px;
    }

    .tribute-feature-card__media img {
        height: 132px;
    }

    .tribute-tabs {
        display: flex;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .tribute-tab {
        min-width: 92px;
        flex: 0 0 auto;
    }

    .tribute-detail-profile {
        grid-template-columns: 64px 1fr;
    }

    .tribute-detail-profile time {
        grid-column: 2;
    }

    .tribute-popup {
        padding: 12px;
    }

    .tribute-popup__media {
        min-height: 300px;
    }

    .tribute-popup__profile {
        grid-template-columns: 62px 1fr;
    }

    .tribute-popup__profile time {
        grid-column: 2;
    }

    .tribute-popup__actions {
        display: grid;
        justify-content: stretch;
    }
}

@media (max-width: 480px) {
    .tribute-ui-hero h1 {
        font-size: clamp(2.45rem, 14vw, 3.4rem);
    }

    .tribute-ui-hero__actions,
    .tribute-detail-actions {
        display: grid;
    }

    .tribute-ui-btn {
        width: 100%;
    }

    .tribute-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==========================================================================
   About page - celebrant profile
   ========================================================================== */

.about-page {
    background: #000;
    overflow: hidden;
}

.about-hero {
    position: relative;
    padding: 150px 0 90px;
    color: var(--cream);
    background:
        radial-gradient(circle at 85% 15%, rgba(201, 154, 61, 0.16), transparent 45%),
        linear-gradient(160deg, #0b0a08 0%, #000 100%);
    border-bottom: 1px solid rgba(201, 154, 61, 0.3);
}

.about-hero-script {
    font-family: 'Allura', cursive;
    font-size: 1.15em;
    color: var(--gold-light);
}

.about-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    line-height: 1;
    color: var(--white);
}

.about-hero-name {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    letter-spacing: 0.06em;
    color: var(--gold-light);
    text-transform: uppercase;
}

.about-hero-tagline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--gold-light);
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
    display: inline-block;
}

.about-hero-copy {
    color: rgba(255, 247, 232, 0.82);
    font-size: 1.05rem;
    max-width: 46ch;
}

.about-photo-frame {
    position: relative;
    border: 1px solid rgba(244, 217, 154, 0.4);
    border-radius: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.about-photo-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top center;
    border-radius: 14px;
}

.about-photo-img--wide {
    aspect-ratio: 16 / 10;
    object-position: center;
}

.about-photo-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.simple-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(6, 5, 4, 0.9);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 260ms ease, visibility 260ms ease;
}

.simple-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.simple-lightbox__image {
    max-width: min(92vw, 900px);
    max-height: 88vh;
    border-radius: 12px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.simple-lightbox__close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 44px;
    height: 44px;
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(244, 217, 154, 0.4);
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.simple-lightbox__toolbar {
    position: absolute;
    top: 24px;
    left: 28px;
    display: flex;
    gap: 10px;
}

.simple-lightbox__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(244, 217, 154, 0.4);
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    transition: background 200ms ease, transform 200ms ease;
}

.simple-lightbox__action:hover {
    color: var(--black);
    background: var(--gold-light);
    transform: translateY(-2px);
}

.simple-lightbox__action svg {
    width: 19px;
    height: 19px;
}

.about-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    aspect-ratio: 4 / 5;
    width: 100%;
    border: 1px dashed rgba(244, 217, 154, 0.55);
    border-radius: 14px;
    text-align: center;
    padding: 24px;
    color: var(--gold-light);
    font-size: 0.9rem;
}

.about-photo-placeholder--wide {
    aspect-ratio: 16 / 10;
}

.about-photo-placeholder span {
    font-size: 2.4rem;
    line-height: 1;
}

.about-photo-placeholder small {
    display: block;
    margin-top: 4px;
    color: rgba(244, 217, 154, 0.65);
    font-size: 0.75rem;
    word-break: break-all;
}

.about-info-strip {
    position: relative;
    z-index: 2;
    margin-top: -56px;
    background: var(--black);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 26px 22px;
}

.about-info-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex: 0 0 auto;
}

.about-info-label {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.about-info-value {
    color: var(--cream);
    font-size: 0.92rem;
    line-height: 1.4;
}

.about-section-heading {
    color: var(--gold-light);
    font-family: Georgia, 'Times New Roman', serif;
}

.about-journey {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-journey::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 23px;
    width: 1px;
    background: var(--line);
}

.about-journey-item {
    position: relative;
    display: flex;
    gap: 20px;
    padding-bottom: 32px;
}

.about-journey-item:last-child {
    padding-bottom: 0;
}

.about-journey-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--black);
    border: 1px solid rgba(201, 154, 61, 0.4);
    color: var(--gold-light);
    font-size: 1.2rem;
}

.about-journey-title {
    color: var(--cream);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.about-journey-text {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}

.about-value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 10px;
    background: var(--cream);
    text-align: center;
}

.about-value-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.about-value-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--black);
}

.about-quote-box {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--cream);
}

.about-quote-item {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--black);
}

.about-family-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--cream);
    overflow: hidden;
}

.about-family-card .about-photo-frame {
    border-color: var(--line);
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.about-family-card .about-photo-placeholder {
    border-color: rgba(201, 154, 61, 0.4);
    color: var(--muted);
    border-radius: 0;
}

.about-family-card .about-photo-img {
    border-radius: 0;
    height: 100%;
}

.about-family-card .about-photo-placeholder small {
    color: rgba(119, 107, 93, 0.75);
}

.about-reflection-card {
    height: 100%;
    padding: 32px 28px;
    border-radius: 18px;
}

.about-reflection-card--dark {
    color: var(--cream);
    background: linear-gradient(160deg, #0d0b09, #050403);
    border: 1px solid rgba(201, 154, 61, 0.5);
}

.about-reflection-card--light {
    color: var(--black);
    background: var(--cream);
    border: 1px solid var(--line);
}

.about-reflection-title {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 18px;
}

.about-reflection-card--light .about-reflection-title {
    color: var(--gold);
}

.about-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.about-checklist li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-light);
    font-weight: 800;
}

.about-reflection-script {
    font-family: 'Allura', cursive;
    font-size: 1.4rem;
    color: var(--gold);
    display: block;
    margin-top: 16px;
}

.about-message-mark {
    font-family: Georgia, serif;
    font-size: 3rem;
    line-height: 1;
    color: var(--gold);
}

.about-legacy-strip {
    background: var(--black);
    color: var(--cream);
}

.about-legacy-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 26px 20px;
}

.about-legacy-icon {
    font-size: 1.7rem;
    color: var(--gold-light);
}

.about-legacy-text {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

@media (max-width: 991px) {
    .about-values-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about-info-strip {
        margin-top: 24px;
    }
}

@media (max-width: 575px) {
    .about-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   Home page - Welcome / Events Program / Memories & Tributes
   ========================================================================== */

.home-welcome {
    background: var(--cream);
    overflow: hidden;
}

.home-welcome-photo-wrap {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    padding-bottom: 34px;
}

.home-welcome-photo-frame {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid rgba(201, 154, 61, 0.4);
    border-radius: 220px 220px 24px 24px;
    box-shadow: var(--shadow);
}

.home-welcome-photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.home-welcome-wreath {
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 78%;
    color: var(--gold);
    transform: translateX(-50%);
}

.home-welcome-diamond {
    position: absolute;
    right: -26px;
    bottom: 6px;
    width: 92px;
    height: 92px;
    color: var(--gold);
    opacity: 0.9;
}

.home-welcome-script {
    margin: 0;
    color: var(--gold);
    font-family: 'Allura', cursive;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.home-welcome-title {
    margin: 6px 0 20px;
    color: var(--black);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    line-height: 1.15;
    text-transform: uppercase;
}

.home-welcome-divider {
    display: block;
    width: 70px;
    height: 1px;
    margin-bottom: 24px;
    background: var(--gold);
}

.home-welcome-copy {
    max-width: 52ch;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.home-welcome-btn,
.home-events-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.home-welcome-btn {
    background: var(--black);
    color: var(--cream);
}

.home-welcome-btn:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
}

.home-events-btn {
    background: var(--gold-light);
    color: var(--black);
}

.home-events-btn:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.home-events {
    color: var(--cream);
    background:
        radial-gradient(circle at 15% 85%, rgba(201, 154, 61, 0.14), transparent 42%),
        radial-gradient(circle at 88% 12%, rgba(201, 154, 61, 0.12), transparent 40%),
        linear-gradient(160deg, #0b0a08 0%, #000 100%);
}

.home-events .home-section-heading p,
.home-events .home-section-heading h2 {
    color: var(--gold-light);
}

.home-events-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.home-events-track {
    display: flex;
    flex: 1 1 auto;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.home-events-track::-webkit-scrollbar {
    display: none;
}

.home-events-card {
    position: relative;
    flex: 0 0 calc(20% - 15px);
    aspect-ratio: 3 / 4.3;
    border: 1px solid rgba(201, 154, 61, 0.4);
    border-radius: 18px;
    overflow: hidden;
    scroll-snap-align: start;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.home-events-card:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 4px;
}

.home-events-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.home-events-card:hover img {
    transform: scale(1.06);
}

.home-events-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px 14px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.95) 62%);
}

.home-events-card__day {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 12px;
    background: rgba(201, 154, 61, 0.18);
    border: 1px solid rgba(244, 217, 154, 0.5);
    border-radius: 999px;
    color: var(--gold-light);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-events-card__overlay h3 {
    margin: 0 0 4px;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 1.02rem;
    line-height: 1.22;
}

.home-events-card__overlay p {
    margin: 0;
    color: rgba(244, 217, 154, 0.85);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.home-events-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 154, 61, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 200ms ease, color 200ms ease;
}

.home-events-nav:hover {
    color: var(--black);
    background: var(--gold-light);
}

.home-events-nav svg {
    width: 18px;
    height: 18px;
}

.home-events-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
}

.home-events-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    background: rgba(201, 154, 61, 0.35);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background 200ms ease, transform 200ms ease;
}

.home-events-dot.is-active {
    background: var(--gold-light);
    transform: scale(1.3);
}

.home-memories {
    background: var(--cream);
}

.home-memories-title {
    margin: 6px 0 20px;
    color: var(--black);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    line-height: 1.15;
    text-transform: uppercase;
}

.home-memories-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 10px;
}

.home-memories-feature {
    display: block;
    color: inherit;
    text-decoration: none;
}

.home-memories-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    color: var(--gold);
    border: 1px solid rgba(201, 154, 61, 0.4);
    border-radius: 50%;
    transition: background 200ms ease, color 200ms ease;
}

.home-memories-feature__icon svg {
    width: 22px;
    height: 22px;
}

.home-memories-feature:hover .home-memories-feature__icon {
    color: var(--black);
    background: var(--gold);
}

.home-memories-feature__title {
    display: block;
    margin-bottom: 6px;
    color: var(--black);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.home-memories-feature__desc {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.home-mosaic {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 150px));
    gap: 12px;
    margin-bottom: 26px;
}

.home-mosaic__item {
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}

.home-mosaic__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transform: scale(1);
    transition: opacity 420ms ease, transform 650ms ease;
    will-change: opacity, transform;
}

.home-mosaic__item img.is-changing {
    opacity: 0;
    transform: scale(1.035);
}

.home-mosaic__item--a {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.home-mosaic__item--b {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.home-mosaic__item--c {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.home-mosaic__item--d {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.home-mosaic__item--e {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

/* ==========================================================================
   Dress Code page - all-dark style guide
   ========================================================================== */

.dress-code-page {
    background: #000;
    overflow: hidden;
}

.dress-hero {
    position: relative;
    padding: 130px 0 60px;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 85% 15%, rgba(201, 154, 61, 0.16), transparent 45%),
        linear-gradient(160deg, #0b0a08 0%, #000 100%);
    border-bottom: 1px solid rgba(201, 154, 61, 0.3);
    isolation: isolate;
    overflow: hidden;
}

.dress-hero::before,
.prog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--inside-hero-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.28;
    filter: saturate(0.72) contrast(1.05);
    pointer-events: none;
}

.dress-hero > .container,
.prog-hero > .container {
    position: relative;
    z-index: 1;
}

.dress-hero > svg,
.prog-hero > svg,
.prog-hero > .prog-hero-medallion {
    z-index: 1;
}

.dress-hero-diamond {
    position: absolute;
    top: 26px;
    right: 6%;
    width: 90px;
    height: 90px;
    color: var(--gold);
    opacity: 0.85;
}

.dress-hero-title {
    margin: 0;
    color: var(--gold-light);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 900;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    letter-spacing: 0.02em;
}

.dress-hero-script {
    margin: 6px 0;
    color: #fff;
    font-family: 'Allura', cursive;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.dress-hero-script::before,
.dress-hero-script::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 1px;
    margin: 0 14px;
    background: rgba(255, 255, 255, 0.5);
    vertical-align: middle;
}

.dress-hero-lead {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
}

.dress-body {
    padding: 60px 0 100px;
}

.dress-day-pill-wrap {
    margin-bottom: 34px;
    text-align: center;
}

.dress-day-pill {
    display: inline-flex;
    padding: 8px 26px;
    color: var(--gold-light);
    border: 1px solid rgba(201, 154, 61, 0.6);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dress-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-bottom: 56px;
}

.dress-grid--last {
    margin-bottom: 0;
}

.dress-card {
    padding-bottom: 26px;
    text-align: center;
    background: #0a0a09;
    border: 1px solid rgba(201, 154, 61, 0.45);
    border-radius: 18px;
    overflow: hidden;
}

.dress-card {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.dress-card:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 4px;
}

.dress-card-day {
    margin: 0;
    padding: 14px 10px;
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(201, 154, 61, 0.3);
}

.dress-card-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 16px 16px 0;
    border-radius: 12px;
    overflow: hidden;
}

.dress-card-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
    transition: transform 600ms ease;
}

.dress-card:hover .dress-card-photo img {
    transform: scale(1);
}

.dress-card-icon {
    position: absolute;
    left: 50%;
    bottom: -26px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: var(--gold-light);
    background: #0a0a09;
    border: 1px solid var(--gold);
    border-radius: 50%;
    transform: translateX(-50%);
}

.dress-card-icon svg {
    width: 24px;
    height: 24px;
}

.dress-card-body {
    padding: 40px 20px 0;
}

.dress-card-eyebrow {
    margin: 0 0 6px;
    color: var(--gold);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dress-card-title {
    margin: 0 0 10px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 800;
    font-size: 1.12rem;
    line-height: 1.25;
    text-transform: uppercase;
}

.dress-card-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.86rem;
    line-height: 1.55;
}

/* ==========================================================================
   Program page - official events with dress code per event
   ========================================================================== */

.prog-page {
    background: #000;
    overflow: hidden;
}

.prog-hero {
    position: relative;
    padding: 130px 0 70px;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 15% 85%, rgba(201, 154, 61, 0.14), transparent 42%),
        radial-gradient(circle at 88% 12%, rgba(201, 154, 61, 0.12), transparent 40%),
        linear-gradient(160deg, #0b0a08 0%, #000 100%);
    border-bottom: 1px solid rgba(201, 154, 61, 0.3);
    isolation: isolate;
    overflow: hidden;
}

.prog-hero-diamond {
    position: absolute;
    left: 4%;
    bottom: 12%;
    width: 110px;
    height: 110px;
    color: var(--gold);
    opacity: 0.85;
    transform: rotate(-8deg);
}

.prog-hero-medallion {
    position: absolute;
    top: 34px;
    right: 6%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 118px;
    padding: 18px 12px;
    background: linear-gradient(160deg, #14110c, #060504);
    border: 1px solid rgba(201, 154, 61, 0.6);
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: rotate(6deg);
}

.prog-hero-medallion__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: var(--gold-light);
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid var(--gold);
    border-radius: 50%;
}

.prog-hero-medallion__text {
    margin: 0;
    color: var(--gold-light);
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.prog-hero-medallion__diamond {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.prog-hero-title {
    margin: 0;
    color: var(--gold-light);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.08;
}

.prog-hero-title span {
    color: #fff;
}

.prog-hero-rule {
    display: inline-block;
    width: 90px;
    height: 1px;
    margin: 18px 0;
    background: rgba(201, 154, 61, 0.6);
}

.prog-hero-script {
    margin: 0 0 10px;
    color: #fff;
    font-family: 'Allura', cursive;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.prog-hero-lead {
    max-width: 60ch;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.6;
}

.prog-body {
    padding: 60px 0 70px;
}

.prog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-bottom: 46px;
}

.prog-card {
    display: flex;
    flex-direction: column;
    background: var(--cream);
    border: 1px solid rgba(201, 154, 61, 0.55);
    border-radius: 18px;
    overflow: hidden;
}

.prog-card {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.prog-card:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 4px;
}

.prog-card-photo {
    position: relative;
    aspect-ratio: 4 / 3;
}

.prog-card-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 600ms ease;
}

.prog-card:hover .prog-card-photo img {
    transform: scale(1);
}

.prog-card-day-badge {
    position: absolute;
    top: 14px;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 18px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
    transform: translateX(-50%);
}

.prog-card-day-badge__main {
    color: var(--black);
    font-family: Georgia, serif;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.prog-card-day-badge__phase {
    color: var(--black-soft);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.prog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 20px 22px;
}

.prog-card-title {
    margin: 0 0 14px;
    color: var(--black);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.3;
    text-transform: uppercase;
}

.prog-card-title .gold-text {
    display: block;
    color: var(--gold);
}

.prog-card-meta {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.prog-card-meta li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--black-soft);
    font-size: 0.82rem;
    line-height: 1.35;
}

.prog-card-meta svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    color: var(--gold);
}

.prog-card-dress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed rgba(201, 154, 61, 0.4);
}

.prog-card-dress-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--gold-light);
    background: var(--black);
    border: 1px solid var(--gold);
    border-radius: 50%;
}

.prog-card-dress-icon svg {
    width: 18px;
    height: 18px;
}

.prog-card-dress-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prog-card-dress-eyebrow {
    color: var(--gold);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.prog-card-dress-value {
    color: var(--black);
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
}

.prog-info-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 24px 10px;
    background: linear-gradient(160deg, #0d0b09, #050403);
    border: 1px solid rgba(201, 154, 61, 0.4);
    border-radius: 16px;
}

.prog-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 14px;
    border-right: 1px solid rgba(201, 154, 61, 0.25);
    text-align: left;
}

.prog-info-item:last-child {
    border-right: 0;
}

.prog-info-icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--gold);
}

.prog-info-icon svg {
    width: 22px;
    height: 22px;
}

.prog-info-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prog-info-label {
    color: var(--gold);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.prog-info-value {
    color: rgba(255, 247, 232, 0.86);
    font-size: 0.78rem;
    line-height: 1.35;
}

/* ==========================================================================
   Gallery page - filters, category grid, lightbox, upload modal
   ========================================================================== */

.gal-page {
    background: #000;
    overflow: hidden;
}

.gal-hero-camera,
.vid-hero-camera {
    position: absolute;
    top: 40px;
    left: 5%;
    width: 76px;
    height: 58px;
    color: var(--gold);
    opacity: 0.85;
}

.gal-hero-title {
    margin: 0;
    color: var(--gold-light);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 900;
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    letter-spacing: 0.03em;
}

.gal-hero-script {
    margin: 10px 0 6px;
    color: #fff;
    font-family: 'Allura', cursive;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.gal-body {
    padding: 56px 0 80px;
}

.gal-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 46px;
}

.gal-filter-btn {
    padding: 10px 22px;
    color: var(--gold-light);
    background: transparent;
    border: 1px solid rgba(201, 154, 61, 0.5);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 200ms ease, color 200ms ease;
}

.gal-filter-btn.is-active,
.gal-filter-btn:hover {
    color: var(--black);
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.gal-back-btn {
    color: #fff;
    background: rgba(201, 154, 61, 0.16);
    border-style: dashed;
}

.gal-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 40px 0 14px;
    padding: 0;
    color: var(--gold-light);
    background: none;
    border: 0;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
}

.gal-category-title:hover {
    color: #fff;
}

.gal-filters + .gal-category-block .gal-category-title {
    margin-top: 0;
}

.gal-category-title::before,
.gal-category-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(201, 154, 61, 0.4);
}

.gal-mosaic-grid {
    display: block;
    column-count: 6;
    column-gap: 10px;
    padding: 10px 4px 18px;
}

.gal-mosaic-item {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 0 10px;
    padding: 4px;
    background: #fdfcf9;
    border-radius: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
    break-inside: avoid;
    vertical-align: top;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.gal-mosaic-item:hover {
    transform: scale(1.015);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.gal-mosaic-item .gal-lightbox-trigger {
    width: 100%;
    height: auto;
    border-radius: 0;
}

.gal-mosaic-item .gal-lightbox-trigger:hover {
    transform: none;
}

.gal-view-day-wrap {
    display: flex;
    justify-content: center;
    margin: 18px 0 34px;
}

.gal-view-day-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    color: var(--black);
    background: var(--gold-light);
    border: 1px solid var(--gold-light);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 200ms ease, transform 200ms ease;
}

.gal-view-day-btn:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.gal-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 12px 0 40px;
}

.gal-load-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    color: var(--gold-light);
    background: transparent;
    border: 1px solid rgba(201, 154, 61, 0.5);
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 200ms ease, color 200ms ease;
}

.gal-load-more:hover {
    color: var(--black);
    background: var(--gold-light);
}

.gal-lightbox-trigger {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 500ms ease;
}

.gal-lightbox-trigger:hover {
    transform: scale(1.03);
}

.gal-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    aspect-ratio: 4 / 3;
    color: rgba(244, 217, 154, 0.55);
    border: 1px dashed rgba(201, 154, 61, 0.4);
    border-radius: 12px;
    font-size: 0.85rem;
}

.gal-empty-state span {
    font-size: 1.8rem;
}

.gal-upload-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 56px;
    padding: 22px 28px;
    background: linear-gradient(160deg, #0d0b09, #050403);
    border: 1px solid rgba(201, 154, 61, 0.5);
    border-radius: 16px;
}

.gal-upload-cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    color: var(--gold);
    border: 1px solid rgba(201, 154, 61, 0.5);
    border-radius: 50%;
}

.gal-upload-cta__icon svg {
    width: 22px;
    height: 22px;
}

.gal-upload-cta__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.gal-upload-cta__title {
    color: var(--gold-light);
    font-size: 1.02rem;
    font-weight: 800;
}

.gal-upload-cta__desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}

.gal-upload-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    color: var(--black);
    background: var(--gold-light);
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 200ms ease, transform 200ms ease;
}

.gal-upload-cta__btn:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.gal-upload-cta__btn svg {
    width: 16px;
    height: 16px;
}

/* Lightbox */
.gal-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: rgba(0, 0, 0, 0.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms ease;
}

.gal-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.gal-lightbox__figure {
    max-width: 1000px;
    max-height: 88vh;
    margin: 0;
    text-align: center;
}

.gal-lightbox__image {
    max-width: 100%;
    max-height: 74vh;
    border-radius: 10px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
    transition: opacity 200ms ease;
    -webkit-user-select: none;
    user-select: none;
}

.gal-lightbox__figure figcaption {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.gal-lightbox__figure figcaption span {
    display: block;
    margin-bottom: 4px;
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gal-lightbox__close,
.gal-lightbox__nav {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(244, 217, 154, 0.4);
    border-radius: 50%;
    cursor: pointer;
}

.gal-lightbox__close {
    top: 26px;
    right: 26px;
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    line-height: 1;
}

.gal-lightbox__nav {
    top: 50%;
    width: 52px;
    height: 52px;
    font-size: 1.8rem;
    line-height: 1;
    transform: translateY(-50%);
}

.gal-lightbox__nav--prev {
    left: 26px;
}

.gal-lightbox__nav--next {
    right: 26px;
}

.gal-lightbox__toolbar {
    position: fixed;
    top: 26px;
    left: 26px;
    z-index: 1;
    display: flex;
    gap: 10px;
}

.gal-lightbox__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(244, 217, 154, 0.4);
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    transition: background 200ms ease, transform 200ms ease;
}

.gal-lightbox__action:hover {
    color: var(--black);
    background: var(--gold-light);
    transform: translateY(-2px);
}

.gal-lightbox__action svg {
    width: 19px;
    height: 19px;
}

/* Upload modal */
.gal-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1400;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms ease;
}

.gal-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.gal-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1410;
    width: min(640px, 92vw);
    max-height: 88vh;
    overflow-y: auto;
    padding: 34px 30px;
    background: linear-gradient(160deg, #0d0b09, #050403);
    border: 1px solid rgba(201, 154, 61, 0.5);
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -46%);
    transition: opacity 280ms ease, transform 280ms ease, visibility 280ms ease;
}

.gal-modal.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.gal-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    color: var(--gold-light);
    background: transparent;
    border: 1px solid rgba(244, 217, 154, 0.4);
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.gal-modal__title {
    margin: 0 0 6px;
    color: var(--gold-light);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
}

.gal-modal__subtitle {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
}

.gal-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.gal-form-row label,
.gal-form-full {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: rgba(255, 247, 232, 0.85);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.gal-form-full {
    margin-bottom: 18px;
}

.gal-form-row input,
.gal-form-row select,
.gal-form-full textarea {
    padding: 11px 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 154, 61, 0.35);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: none;
}

.gal-form-row input:focus,
.gal-form-row select:focus,
.gal-form-full textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.gal-form-row select option {
    color: #000;
    background: #fff;
}

.gal-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 30px 16px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    border: 1px dashed rgba(201, 154, 61, 0.5);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 200ms ease, background 200ms ease;
}

.gal-dropzone:hover,
.gal-dropzone.is-dragover {
    background: rgba(201, 154, 61, 0.06);
    border-color: var(--gold);
}

.gal-dropzone--sm {
    padding: 16px;
}

.gal-dropzone svg {
    width: 30px;
    height: 30px;
    color: var(--gold);
}

.gal-dropzone__browse {
    color: var(--gold-light);
    font-weight: 800;
    text-decoration: underline;
}

.gal-dropzone small {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
}

.gal-file-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    gap: 10px;
    margin-bottom: 8px;
}

.gal-file-preview {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
}

.gal-file-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gal-file-preview__remove {
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    border: 0;
    border-radius: 50%;
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
}

.gal-file-preview__size {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2px 4px;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    font-size: 0.6rem;
    text-align: center;
}

.gal-upload-progress {
    height: 6px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.gal-upload-progress__bar {
    width: 0;
    height: 100%;
    background: var(--gold-light);
    transition: width 200ms ease;
}

.gal-form-submit {
    display: block;
    width: 100%;
    padding: 15px;
    color: var(--black);
    background: var(--gold-light);
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 200ms ease;
}

.gal-form-submit:hover {
    background: var(--gold);
}

.gal-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.gal-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1500;
    max-width: 320px;
    padding: 14px 20px;
    color: var(--black);
    background: var(--gold-light);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    font-size: 0.85rem;
    font-weight: 700;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: transform 260ms ease, opacity 260ms ease, visibility 260ms ease;
}

.gal-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.gal-toast.is-error {
    color: #fff;
    background: #b34141;
}

/* ==========================================================================
   Videos page - filters, featured video, gallery grid, lightbox, upload modal
   ========================================================================== */

.vid-page {
    background: #000;
    overflow: hidden;
}

.vid-body {
    padding: 56px 0 80px;
}

.vid-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vid-filter-btn svg {
    width: 15px;
    height: 15px;
}

.vid-empty {
    padding: 40px 0;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.vid-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 26px;
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.vid-section-title::before,
.vid-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(201, 154, 61, 0.4);
}

/* Featured video */
.vid-featured-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 0.6fr;
    gap: 26px;
    margin-bottom: 56px;
}

.vid-featured-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0a0a0a;
    border: 1px solid rgba(201, 154, 61, 0.45);
    border-radius: 16px;
    overflow: hidden;
}

.vid-featured-iframe,
.vid-featured-video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.vid-featured-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    background: linear-gradient(160deg, #171310, #050403);
    border: 0;
    cursor: pointer;
}

.vid-featured-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.vid-featured-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.vid-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 16px;
    color: var(--black);
    background: var(--gold-light);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.vid-featured-title {
    margin: 0;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    line-height: 1.25;
}

.vid-featured-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.6;
}

.vid-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.vid-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.vid-meta-row svg {
    width: 15px;
    height: 15px;
    color: var(--gold);
}

.vid-watch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    padding: 13px 28px;
    color: var(--black);
    background: var(--gold-light);
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 200ms ease, transform 200ms ease;
}

.vid-watch-btn:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.vid-watch-btn svg {
    width: 14px;
    height: 14px;
}

.vid-featured-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px 12px;
    text-align: center;
    background: linear-gradient(160deg, #14110c, #060504);
    border: 1px solid rgba(201, 154, 61, 0.5);
    border-radius: 16px;
}

.vid-featured-side__diamond {
    width: 42px;
    height: 42px;
    margin-bottom: 4px;
    color: var(--gold);
}

.vid-featured-side__script {
    margin: 0;
    color: #fff;
    font-family: 'Allura', cursive;
    font-size: 1.3rem;
}

.vid-featured-side__number {
    margin: 0;
    color: var(--gold-light);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 900;
    font-size: 2.6rem;
    line-height: 1;
}

.vid-featured-side__label {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Allura', cursive;
    font-size: 1.1rem;
    line-height: 1.3;
}

/* Video gallery grid */
.vid-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 34px;
}

.vid-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #100e0b, #060504);
    border: 1px solid rgba(201, 154, 61, 0.3);
    border-radius: 14px;
    overflow: hidden;
}

.vid-card-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    background: #0a0a0a;
    border: 0;
    cursor: pointer;
}

.vid-card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.vid-card-thumb:hover img {
    transform: scale(1.06);
}

.vid-duration-badge {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 3px 8px;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
}

.vid-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: var(--black);
    background: rgba(244, 217, 154, 0.92);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: background 200ms ease, transform 200ms ease;
}

.vid-play-btn svg {
    width: 18px;
    height: 18px;
    margin-left: 2px;
}

.vid-play-btn--lg {
    width: 66px;
    height: 66px;
}

.vid-play-btn--lg svg {
    width: 26px;
    height: 26px;
}

.vid-card-thumb:hover .vid-play-btn {
    background: var(--gold-light);
    transform: translate(-50%, -50%) scale(1.08);
}

.vid-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 16px;
}

.vid-card-head {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.vid-card-title {
    margin: 0;
    color: var(--gold-light);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
}

.vid-card-menu {
    position: relative;
    flex: 0 0 auto;
}

.vid-card-menu__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.vid-card-menu__toggle:hover,
.vid-card-menu.is-open .vid-card-menu__toggle {
    color: var(--black);
    background: var(--gold-light);
}

.vid-card-menu__toggle svg {
    width: 16px;
    height: 16px;
}

.vid-card-menu__dropdown {
    position: absolute;
    top: 30px;
    right: 0;
    z-index: 5;
    display: none;
    flex-direction: column;
    min-width: 170px;
    padding: 6px;
    background: #0d0b09;
    border: 1px solid rgba(201, 154, 61, 0.4);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.vid-card-menu.is-open .vid-card-menu__dropdown {
    display: flex;
}

.vid-card-menu__dropdown a,
.vid-card-menu__empty {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    font-size: 0.78rem;
    text-decoration: none;
}

.vid-card-menu__dropdown a:hover {
    color: var(--black);
    background: var(--gold-light);
}

.vid-card-menu__dropdown svg {
    width: 14px;
    height: 14px;
}

.vid-card-menu__empty {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.vid-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.vid-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
}

.vid-card-meta svg {
    width: 12px;
    height: 12px;
    color: var(--gold);
}

.vid-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 56px;
}

.vid-load-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    color: var(--gold-light);
    background: transparent;
    border: 1px solid rgba(201, 154, 61, 0.5);
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 200ms ease, color 200ms ease;
}

.vid-load-more:hover {
    color: var(--black);
    background: var(--gold-light);
}

.vid-load-more svg {
    width: 14px;
    height: 14px;
}

/* Video lightbox */
.vid-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 50px;
    background: rgba(0, 0, 0, 0.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms ease;
}

.vid-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.vid-lightbox__frame {
    width: min(960px, 100%);
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.vid-lightbox__frame iframe,
.vid-lightbox__frame video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.vid-lightbox__caption {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 991px) {
    .vid-featured-grid {
        grid-template-columns: 1fr;
    }

    .vid-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .vid-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   404 page
   ========================================================================== */

.err-page {
    position: relative;
    padding: 90px 0 80px;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 12% 20%, rgba(201, 154, 61, 0.1), transparent 40%),
        radial-gradient(circle at 90% 75%, rgba(201, 154, 61, 0.12), transparent 42%),
        linear-gradient(160deg, #0b0a08 0%, #000 100%);
}

.err-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: 420px;
    margin: 0 auto 18px;
}

.err-ornament__line {
    flex: 1;
    height: 1px;
    background: rgba(201, 154, 61, 0.5);
}

.err-ornament__mark {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--gold);
}

.err-ornament__mark svg:first-child {
    width: 34px;
    height: 24px;
}

.err-ornament__diamond {
    width: 12px;
    height: 12px;
}

.err-number {
    margin: 0;
    color: var(--gold-light);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 900;
    font-size: clamp(4.5rem, 14vw, 8.5rem);
    line-height: 1;
}

.err-title {
    margin: 6px 0 22px;
    color: #fff;
    font-size: clamp(1.1rem, 2.4vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.err-lead {
    max-width: 44ch;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
}

.err-script {
    margin: 18px 0 4px;
    color: var(--gold);
    font-family: 'Allura', cursive;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.err-subtext {
    max-width: 44ch;
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
}

.err-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
}

.err-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    color: var(--black);
    background: var(--gold-light);
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 200ms ease, transform 200ms ease;
}

.err-home-btn:hover {
    color: var(--black);
    background: var(--gold);
    transform: translateY(-2px);
}

.err-home-btn svg {
    width: 16px;
    height: 16px;
}

.err-search {
    display: flex;
    align-items: center;
    width: min(300px, 80vw);
    padding: 4px 4px 4px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 154, 61, 0.4);
    border-radius: 999px;
}

.err-search input {
    flex: 1;
    padding: 8px 0;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 0.88rem;
}

.err-search input:focus {
    outline: none;
}

.err-search input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.err-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--black);
    background: var(--gold-light);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background 200ms ease;
}

.err-search button:hover {
    background: var(--gold);
}

.err-search button svg {
    width: 15px;
    height: 15px;
}

.err-quote-box {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
    text-align: left;
    background: linear-gradient(160deg, #100e0b, #050403);
    border: 1px solid rgba(201, 154, 61, 0.4);
    border-radius: 18px;
}

.err-quote-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
}

.err-quote-content {
    position: relative;
}

.err-quote-mark {
    display: block;
    margin-bottom: 6px;
    color: var(--gold);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.4rem;
    line-height: 1;
}

.err-quote-text {
    margin: 0 0 16px;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.5;
}

.err-quote-name {
    margin: 0;
    color: var(--gold);
    font-family: 'Allura', cursive;
    font-size: 1.5rem;
}

.err-quote-sub {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.err-quote-diamond {
    position: absolute;
    top: 0;
    right: 0;
    width: 22px;
    height: 22px;
    color: var(--gold);
    opacity: 0.6;
}

@media (max-width: 767px) {
    .err-quote-box {
        grid-template-columns: 1fr;
    }

    .err-actions {
        flex-direction: column;
    }
}

/* ==========================================================================
   Program page - Daily Activities section, per-day modal, share panel
   ========================================================================== */

.dact-section {
    padding: 20px 0 90px;
}

.dact-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 640px;
    margin: 0 auto 46px;
    text-align: center;
}

.dact-heading__diamond {
    width: 30px;
    height: 30px;
    margin-bottom: 14px;
    color: var(--gold);
}

.dact-title {
    margin: 0 0 12px;
    color: var(--gold-light);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 900;
    font-size: clamp(1.7rem, 3.4vw, 2.3rem);
}

.dact-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Day cards */
.dact-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.dact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #100e0b, #060504);
    border: 1px solid rgba(201, 154, 61, 0.35);
    border-radius: 18px;
    overflow: visible;
    text-align: center;
    transition: transform 260ms ease, border-color 260ms ease;
}

.dact-card:hover {
    border-color: rgba(201, 154, 61, 0.7);
    transform: translateY(-4px);
}

.dact-card-media {
    aspect-ratio: 8 / 5;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}

.dact-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dact-card-badge {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    padding: 6px 18px;
    color: var(--gold-light);
    background: #0a0806;
    border: 1px solid rgba(201, 154, 61, 0.7);
    border-radius: 999px;
    transform: translate(-50%, -50%);
    font-family: Georgia, serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.dact-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 20px 22px;
}

.dact-card-divider {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.dact-card-title {
    margin: 0;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.3;
}

.dact-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
}

.dact-card-date svg {
    width: 14px;
    height: 14px;
}

.dact-card-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    line-height: 1.5;
}

.dact-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.76rem;
}

.dact-card-location svg {
    width: 13px;
    height: 13px;
    color: var(--gold);
}

.dact-card-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    padding: 11px 16px;
    color: var(--black);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border: 0;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.dact-card-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(201, 154, 61, 0.35);
}

.dact-card-view-btn svg {
    width: 14px;
    height: 14px;
}

.dact-card-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    color: var(--gold-light);
    background: transparent;
    border: 1px solid rgba(201, 154, 61, 0.5);
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 200ms ease, color 200ms ease;
}

.dact-card-share-btn:hover {
    color: var(--black);
    background: var(--gold-light);
}

.dact-card-share-btn svg {
    width: 14px;
    height: 14px;
}

/* Select day + detail panel */
.dact-detail {
    position: relative;
    display: grid;
    grid-template-columns: 280px 1fr;
    background: linear-gradient(160deg, #0d0b09, #050403);
    border: 1px solid rgba(201, 154, 61, 0.4);
    border-radius: 20px;
    overflow: hidden;
}

.dact-detail.is-closed {
    display: none;
}

.dact-detail__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    width: 34px;
    height: 34px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(244, 217, 154, 0.4);
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.dact-select {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 26px 18px;
    border-right: 1px solid rgba(201, 154, 61, 0.3);
}

.dact-select__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dact-select__heading svg {
    width: 13px;
    height: 13px;
    color: var(--gold);
}

.dact-select__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dact-select__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: background 200ms ease, border-color 200ms ease;
}

.dact-select__item:hover {
    border-color: rgba(201, 154, 61, 0.4);
}

.dact-select__item.is-active {
    color: #fff;
    background: rgba(201, 154, 61, 0.12);
    border-color: var(--gold);
    margin-right: -19px;
    padding-right: 29px;
}

.dact-select__item.is-active::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -7px;
    width: 14px;
    height: 14px;
    background: var(--gold);
    border-right: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    transform: translateY(-50%) rotate(-45deg);
    z-index: 2;
}

.dact-select__thumb {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 8px;
}

.dact-select__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dact-select__day {
    color: var(--gold-light);
    font-family: Georgia, serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.dact-select__date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
}

.dact-select__signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 26px;
    text-align: center;
}

.dact-select__signature p {
    margin: 0;
    color: var(--gold);
    font-family: 'Allura', cursive;
    font-size: 1.3rem;
}

.dact-select__signature svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

.dact-view {
    position: relative;
    min-width: 0;
}

.dact-view__panel {
    display: none;
}

.dact-view__panel.is-active {
    display: block;
}

.dact-view__banner {
    position: relative;
    aspect-ratio: 21 / 6;
    background: #0a0a0a;
}

.dact-view__banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.dact-view__banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    padding: 20px 60px 20px 26px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent 80%);
}

.dact-view__day {
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dact-view__title {
    margin: 0;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
}

.dact-view__date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.dact-view__date span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dact-view__date svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

.dact-view__intro {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    line-height: 1.65;
}

.dact-view__intro p {
    margin: 0 0 12px;
}

.dact-view__intro p:last-child {
    margin-bottom: 0;
}

.dact-view__notes {
    margin-top: 22px;
    padding: 16px 20px;
    background: rgba(201, 154, 61, 0.08);
    border: 1px solid rgba(201, 154, 61, 0.35);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.86rem;
    line-height: 1.6;
}

.dact-view__notes p {
    margin: 0 0 8px;
}

.dact-view__notes p:last-child {
    margin-bottom: 0;
}

.dact-view__notes-label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 8px;
    color: var(--gold-light);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dact-view__notes-label svg {
    width: 14px;
    height: 14px;
}

.dact-view__body {
    padding: 24px 28px 8px;
}

.dact-timeline {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dact-timeline::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 3px;
    width: 1px;
    background: rgba(201, 154, 61, 0.35);
}

.dact-timeline__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0 0 22px 16px;
}

.dact-timeline__item::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
}

.dact-timeline__item:last-child {
    padding-bottom: 0;
}

.dact-timeline__time {
    flex: 0 0 150px;
    padding-top: 8px;
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.dact-timeline__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    color: var(--black);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-radius: 50%;
}

.dact-timeline__icon svg {
    width: 17px;
    height: 17px;
}

.dact-timeline__content {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
    padding-top: 7px;
}

.dact-timeline__title {
    color: #fff;
    font-size: 0.96rem;
    font-weight: 700;
}

.dact-timeline__sub {
    color: var(--gold);
    font-size: 0.78rem;
    line-height: 1.5;
}

.dact-view__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 28px;
    border-top: 1px solid rgba(201, 154, 61, 0.25);
}

.dact-download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    color: var(--gold-light);
    background: transparent;
    border: 1px solid rgba(201, 154, 61, 0.5);
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 200ms ease, color 200ms ease;
}

.dact-download-btn:hover {
    color: var(--black);
    background: var(--gold-light);
}

.dact-download-btn svg {
    width: 14px;
    height: 14px;
}

.dact-view__share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.dact-view__share-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.dact-view__share-label svg {
    width: 12px;
    height: 12px;
}

.dact-share-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dact-share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--dact-share-ink, #fff);
    background: var(--dact-share-bg, var(--gold));
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 200ms ease;
}

.dact-share-icon:hover {
    transform: translateY(-2px);
}

.dact-share-icon svg {
    width: 15px;
    height: 15px;
}

.dact-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    z-index: 1600;
    max-width: 320px;
    padding: 14px 22px;
    color: var(--black);
    background: var(--gold-light);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    transform: translate(-50%, 20px);
    opacity: 0;
    visibility: hidden;
    transition: transform 260ms ease, opacity 260ms ease, visibility 260ms ease;
}

.dact-toast.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991px) {
    .dact-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dact-detail {
        grid-template-columns: 1fr;
    }

    .dact-select {
        border-right: 0;
        border-bottom: 1px solid rgba(201, 154, 61, 0.3);
    }

    .dact-select__list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .dact-select__item {
        flex: 1 1 calc(50% - 10px);
    }

    .dact-select__item.is-active {
        margin-right: 0;
        padding-right: 10px;
    }

    .dact-select__item.is-active::after {
        display: none;
    }

    .dact-select__signature {
        margin-top: 18px;
        padding-top: 18px;
    }
}

@media (max-width: 575px) {
    .dact-cards {
        grid-template-columns: 1fr;
    }

    .dact-select__item {
        flex: 1 1 100%;
    }

    .dact-select__heading {
        flex-wrap: wrap;
        gap: 6px;
    }

    .dact-view__banner {
        aspect-ratio: 4 / 3;
    }

    .dact-view__banner-overlay {
        padding: 16px 54px 16px 18px;
    }

    .dact-view__body {
        padding: 20px 18px 4px;
    }

    .dact-view__footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }

    .dact-share-icons {
        flex-wrap: wrap;
    }

    .dact-timeline__item {
        flex-wrap: wrap;
        padding-left: 14px;
    }

    .dact-timeline__time {
        flex: 1 0 100%;
        order: 1;
        margin-bottom: 6px;
        font-size: 0.76rem;
    }

    .dact-timeline__icon {
        order: 2;
    }

    .dact-timeline__content {
        order: 3;
        flex: 1 1 0;
        min-width: 0;
    }
}

/* ==========================================================================
   Videos page - Audios section
   ========================================================================== */

.aud-section {
    padding: 20px 0 90px;
    border-top: 1px solid rgba(201, 154, 61, 0.2);
}

.aud-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
}

.aud-heading__diamond {
    width: 30px;
    height: 30px;
    margin-bottom: 14px;
    color: var(--gold);
}

.aud-title {
    margin: 0 0 12px;
    color: var(--gold-light);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 900;
    font-size: clamp(1.7rem, 3.4vw, 2.3rem);
}

.aud-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    line-height: 1.6;
}

.aud-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 34px;
}

.aud-search {
    position: relative;
    flex: 1 1 220px;
}

.aud-search svg {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%);
    pointer-events: none;
}

.aud-search input {
    width: 100%;
    padding: 11px 40px 11px 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 154, 61, 0.35);
    border-radius: 999px;
    font-size: 0.85rem;
}

.aud-search input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.aud-search input:focus {
    outline: none;
    border-color: var(--gold);
}

.aud-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    flex: 2 1 auto;
}

.aud-filter-btn {
    padding: 9px 18px;
    color: var(--gold-light);
    background: transparent;
    border: 1px solid rgba(201, 154, 61, 0.5);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 200ms ease, color 200ms ease;
}

.aud-filter-btn.is-active,
.aud-filter-btn:hover {
    color: var(--black);
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.aud-controls-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.aud-sort {
    position: relative;
    display: flex;
    align-items: center;
}

.aud-sort-select {
    appearance: none;
    padding: 10px 34px 10px 14px;
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 154, 61, 0.4);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.aud-sort-select option {
    color: #000;
}

.aud-sort svg {
    position: absolute;
    right: 12px;
    width: 13px;
    height: 13px;
    color: var(--gold);
    pointer-events: none;
}

.aud-view-toggle {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 154, 61, 0.4);
    border-radius: 999px;
}

.aud-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background 200ms ease, color 200ms ease;
}

.aud-view-btn svg {
    width: 15px;
    height: 15px;
}

.aud-view-btn.is-active {
    color: var(--black);
    background: var(--gold-light);
}

.aud-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.aud-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #100e0b, #060504);
    border: 1px solid rgba(201, 154, 61, 0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 250ms ease, box-shadow 250ms ease;
}

.aud-card.is-playing {
    border-color: rgba(244, 217, 154, 0.75);
    box-shadow: 0 0 0 1px rgba(244, 217, 154, 0.2), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.aud-card-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    background: #0a0a0a;
    border: 0;
    cursor: pointer;
}

.aud-card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.aud-card-thumb:hover img {
    transform: scale(1.06);
}

.aud-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--black);
    background: rgba(244, 217, 154, 0.92);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: background 200ms ease, transform 200ms ease;
}

.aud-play-icon svg {
    width: 16px;
    height: 16px;
    margin-left: 2px;
}

.aud-card-thumb:hover .aud-play-icon {
    background: var(--gold-light);
    transform: translate(-50%, -50%) scale(1.08);
}

.aud-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 16px;
}

.aud-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.aud-card-title {
    margin: 0;
    color: var(--gold-light);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
}

.aud-badge {
    padding: 2px 10px;
    color: var(--black);
    background: var(--gold-light);
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.aud-card-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.76rem;
    line-height: 1.5;
}

.aud-waveform {
    position: relative;
    height: 26px;
}

.aud-waveform__track {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 100%;
}

.aud-waveform__bar {
    flex: 1 1 0;
    min-width: 1px;
    background: rgba(201, 154, 61, 0.3);
    border-radius: 1px;
    transition: height 100ms linear;
}

.aud-waveform__progress {
    position: absolute;
    inset: 0;
    width: 0%;
    overflow: hidden;
}

.aud-waveform__progress .aud-waveform__track {
    width: max-content;
    min-width: 100%;
}

.aud-waveform__progress .aud-waveform__bar {
    background: var(--gold-light);
}

.aud-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.aud-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    color: var(--black);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 200ms ease;
}

.aud-play-btn:hover {
    transform: translateY(-1px);
}

.aud-play-btn svg {
    width: 14px;
    height: 14px;
    margin-left: 1px;
}

.aud-duration {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.aud-format-badge {
    padding: 2px 8px;
    color: var(--gold-light);
    background: rgba(201, 154, 61, 0.14);
    border: 1px solid rgba(201, 154, 61, 0.4);
    border-radius: 6px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.aud-card-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.aud-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    transition: background 200ms ease, color 200ms ease;
}

.aud-download-btn:hover {
    color: var(--black);
    background: var(--gold-light);
}

.aud-download-btn svg {
    width: 14px;
    height: 14px;
}

.aud-card-menu {
    position: relative;
}

.aud-card-menu__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: rgba(255, 255, 255, 0.55);
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.aud-card-menu__toggle:hover,
.aud-card-menu.is-open .aud-card-menu__toggle {
    color: var(--black);
    background: var(--gold-light);
}

.aud-card-menu__toggle svg {
    width: 15px;
    height: 15px;
}

.aud-card-menu__dropdown {
    position: absolute;
    bottom: 32px;
    right: 0;
    z-index: 5;
    display: none;
    flex-direction: column;
    min-width: 160px;
    padding: 6px;
    background: #0d0b09;
    border: 1px solid rgba(201, 154, 61, 0.4);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.aud-card-menu.is-open .aud-card-menu__dropdown {
    display: flex;
}

.aud-card-menu__dropdown a,
.aud-card-menu__dropdown button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    border: 0;
    border-radius: 6px;
    font-size: 0.78rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.aud-card-menu__dropdown a:hover,
.aud-card-menu__dropdown button:hover {
    color: var(--black);
    background: var(--gold-light);
}

.aud-card-menu__dropdown svg {
    width: 14px;
    height: 14px;
}

.aud-empty {
    padding: 40px 0;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* List view */
.aud-grid[data-view="list"] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.aud-grid[data-view="list"] .aud-card {
    flex-direction: row;
    align-items: stretch;
}

.aud-grid[data-view="list"] .aud-card-thumb {
    width: 140px;
    flex: 0 0 auto;
    aspect-ratio: auto;
}

.aud-grid[data-view="list"] .aud-card-body {
    flex: 1 1 auto;
    justify-content: center;
}

@media (max-width: 1199.98px) {
    .aud-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

@media (max-width: 767.98px) {
    .aud-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .aud-controls-right {
        justify-content: space-between;
    }

    .aud-grid[data-view="list"] .aud-card {
        flex-direction: column;
    }

    .aud-grid[data-view="list"] .aud-card-thumb {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 575.98px) {
    .aud-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating WhatsApp chat */
.whatsapp-chat {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1080;
    font-family: Inter, Arial, sans-serif;
    pointer-events: none;
}

.whatsapp-chat__launcher {
    pointer-events: auto;
    display: grid;
    width: 64px;
    height: 64px;
    margin-left: auto;
    padding: 0;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    color: #fff;
    background: #090909;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .3);
    transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-chat__launcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 32px rgba(0, 0, 0, .38);
}

.whatsapp-chat__launcher span,
.whatsapp-chat__brand-icon,
.whatsapp-chat__action-icon {
    display: block;
    background-color: var(--whatsapp-accent);
    mask: url("/assets/logo/whatsapp.svg") center / contain no-repeat;
    -webkit-mask: url("/assets/logo/whatsapp.svg") center / contain no-repeat;
}

.whatsapp-chat__launcher span {
    width: 36px;
    height: 36px;
}

.whatsapp-chat__panel {
    width: min(390px, calc(100vw - 32px));
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--whatsapp-accent);
    border-radius: 24px;
    visibility: hidden;
    opacity: 0;
    background: #faf7f0;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .28);
    transform: translateY(14px) scale(.96);
    transform-origin: right bottom;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    pointer-events: none;
}

.whatsapp-chat.is-open .whatsapp-chat__panel {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.whatsapp-chat__header {
    display: flex;
    min-height: 88px;
    padding: 18px 20px;
    align-items: center;
    gap: 13px;
    color: #f4c13d;
    background: linear-gradient(135deg, #050505, #15120a);
}

.whatsapp-chat__header::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 60px;
    right: 40px;
    opacity: .16;
    background: radial-gradient(circle, var(--whatsapp-accent), transparent 67%);
}

.whatsapp-chat__brand-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
}

.whatsapp-chat__header div {
    display: grid;
    position: relative;
    z-index: 1;
    gap: 2px;
}

.whatsapp-chat__header strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 20px;
    letter-spacing: .04em;
}

.whatsapp-chat__header small {
    color: rgba(255, 255, 255, .75);
    font-size: 12px;
}

.whatsapp-chat__close {
    position: relative;
    z-index: 2;
    width: 38px;
    height: 38px;
    margin-left: auto;
    padding: 0 0 3px;
    border: 2px solid var(--whatsapp-accent);
    border-radius: 50%;
    color: var(--whatsapp-accent);
    background: transparent;
    font-size: 30px;
    line-height: 1;
}

.whatsapp-chat__body {
    padding: 20px;
}

.whatsapp-chat__bubble {
    position: relative;
    padding: 17px 18px;
    border-radius: 18px;
    color: #111;
    background: #fff;
    box-shadow: 0 5px 18px rgba(39, 27, 4, .1);
}

.whatsapp-chat__bubble::after {
    content: "";
    position: absolute;
    left: -9px;
    bottom: 18px;
    border-width: 8px 10px 8px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

.whatsapp-chat__bubble p {
    margin: 7px 0 12px;
    font-size: 14px;
    line-height: 1.55;
}

.whatsapp-chat__consent {
    display: flex;
    margin: 18px 2px;
    align-items: flex-start;
    gap: 11px;
    color: #171717;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
}

.whatsapp-chat__consent input {
    position: absolute;
    opacity: 0;
}

.whatsapp-chat__check {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    place-items: center;
    border: 2px solid var(--whatsapp-accent);
    border-radius: 6px;
    color: transparent;
    transition: color .15s ease, background .15s ease;
}

.whatsapp-chat__consent input:checked + .whatsapp-chat__check {
    color: #fff;
    background: var(--whatsapp-accent);
}

.whatsapp-chat__action {
    display: flex;
    min-height: 60px;
    padding: 10px 18px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 2px solid var(--whatsapp-accent);
    border-radius: 999px;
    color: var(--whatsapp-accent);
    background: #090909;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .2s ease, transform .2s ease;
}

.whatsapp-chat__action:hover {
    color: var(--whatsapp-accent);
    transform: translateY(-1px);
}

.whatsapp-chat__action.is-disabled {
    opacity: .48;
    cursor: not-allowed;
}

.whatsapp-chat__action-icon {
    width: 32px;
    height: 32px;
}

.whatsapp-chat__arrow {
    margin-left: auto;
    font-size: 27px;
}

.whatsapp-chat__powered {
    display: flex;
    margin-top: 18px;
    padding-top: 15px;
    justify-content: center;
    gap: 5px;
    border-top: 1px solid rgba(180, 131, 17, .3);
    color: #555;
    font-size: 12px;
}

.whatsapp-chat__powered a {
    color: #171717;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 575.98px) {
    .whatsapp-chat {
        right: 16px;
        bottom: 16px;
    }

    .whatsapp-chat__launcher {
        width: 58px;
        height: 58px;
    }

    .whatsapp-chat__panel {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-chat__panel,
    .whatsapp-chat__launcher,
    .whatsapp-chat__action {
        transition: none;
    }
}
