/* ========================================================================== */
/* MODERN THEME (Full-screen photo slideshow — Shoott-inspired hero,          */
/*               Pixieset / MSP-inspired typography: Garamond + Montserrat)   */
/* ========================================================================== */
body.theme-modern {
    --m-ink: #141414;
    --m-cranberry: #A3182F;
    --m-stone: #8A857E;
    --m-paper: #F7F5F1;
    --m-line: #E7E3DC;
    --theme-placeholder-color: #B8B4AD;
    background-color: #ffffff !important;
    color: var(--m-ink) !important;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif !important;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

body.theme-modern ::selection { background: #141414 !important; color: #fff !important; }

/* Headlines: light classical serif, like Pixieset's Garamond */
body.theme-modern h1,
body.theme-modern h2,
body.theme-modern h3,
body.theme-modern .theme-headline {
    font-family: 'EB Garamond', Garamond, Georgia, serif !important;
    font-weight: 400 !important;
    letter-spacing: -0.012em !important;
    line-height: 1.08 !important;
    color: inherit;
}
body.theme-modern h2 { font-size: clamp(2.25rem, 4.2vw, 3.5rem) !important; }
body.theme-modern h3 { font-weight: 500 !important; }
body.theme-modern h3.font-normal,
body.theme-modern h4.font-garamond {
    font-family: 'EB Garamond', Garamond, Georgia, serif !important;
    font-weight: 400 !important;
}
body.theme-modern .text-white:not([class*="hover:text-"]:hover) { color: #ffffff !important; }

/* Sub-heads & UI text: MSP-style Montserrat */
body.theme-modern h4,
body.theme-modern h5 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.005em;
}
body.theme-modern .font-black,
body.theme-modern .font-extrabold { font-weight: 600 !important; }
body.theme-modern p { font-weight: 400; }

/* Tracked uppercase micro-labels */
body.theme-modern .uppercase:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
    letter-spacing: 0.2em !important;
    font-weight: 500 !important;
    font-size: 0.68rem !important;
}
@media (max-width: 639px) {
    body.theme-modern .header-back-link {
        font-size: 0.58rem !important;
        letter-spacing: 0.12em !important;
    }
    body.theme-modern .finder-results-heading {
        letter-spacing: 0.13em !important;
        font-size: 0.65rem !important;
    }
}
body.theme-modern .date-open-pill {
    letter-spacing: 0.06em !important;
    font-size: 0.59rem !important;
    padding: 0.35rem 0.65rem !important;
}

body.theme-modern #seasonAnnouncementBanner .banner-badge,
body.theme-modern #seasonAnnouncementBanner .banner-badge span,
body.theme-modern .banner-badge,
body.theme-modern .banner-badge span {
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
}

/* Squarer, calmer geometry */
body.theme-modern .rounded-3xl { border-radius: 4px !important; }
body.theme-modern .rounded-2xl { border-radius: 3px !important; }
body.theme-modern .rounded-xl  { border-radius: 2px !important; }

/* Shadows: almost none — let the photography carry the page */
body.theme-modern .shadow-xs,
body.theme-modern .shadow-sm,
body.theme-modern .shadow-md,
body.theme-modern .shadow-lg,
body.theme-modern .shadow-xl,
body.theme-modern .hover\:shadow-sm:hover,
body.theme-modern .hover\:shadow-md:hover,
body.theme-modern .hover\:shadow-lg:hover,
body.theme-modern .hover\:shadow-xl:hover,
body.theme-modern .shadow-cartoon,
body.theme-modern .shadow-cartoon-lg,
body.theme-modern .shadow-cartoon-sm { box-shadow: none !important; }

/* Hairline borders */
body.theme-modern [class*="border-gray-1"],
body.theme-modern [class*="border-gray-2"],
body.theme-modern .border-2.border-black { border-color: var(--m-line) !important; }
body.theme-modern .border-2.border-black { border-width: 1px !important; }
body.theme-modern [class*="bg-gray-50"]:not([class*="bg-white"]):not([class*="hover:bg-gray-50"]:not(:hover)) { background-color: var(--m-paper) !important; }

/* Location Dropdown Header Trigger & Popover Home Row */
body.theme-modern .location-dropdown-trigger {
    background-color: #ffffff !important;
}
body.theme-modern .location-dropdown-trigger:hover {
    background-color: #f9fafb !important;
}
body.theme-modern .location-dropdown-home-row {
    background-color: #ffffff !important;
}
body.theme-modern .location-dropdown-home-row a:hover {
    background-color: #f9fafb !important;
}

/* Accent mapping: buttons go ink-black (Pixieset), blocks keep a cranberry note */
body.theme-modern a.bg-festive-red,
body.theme-modern button.bg-festive-red,
body.theme-modern .theme-primary-btn {
    background-color: var(--m-ink) !important;
    border-color: var(--m-ink) !important;
    color: #fff !important;
    border-radius: 2px !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    transform: none !important;
}
body.theme-modern div.bg-festive-red,
body.theme-modern span.bg-festive-red { background-color: var(--m-cranberry) !important; }
body.theme-modern .hover\:bg-festive-red:hover,
body.theme-modern .hover\:bg-red-700:hover,
body.theme-modern .hover\:bg-black:hover,
body.theme-modern a.bg-festive-red:hover,
body.theme-modern .theme-primary-btn:hover {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}
body.theme-modern .bg-gray-900 { background-color: var(--m-ink) !important; }
body.theme-modern .border-festive-red { border-color: var(--m-ink) !important; }
body.theme-modern .ring-festive-red\/10 { --tw-ring-color: transparent !important; }
body.theme-modern .text-festive-red,
body.theme-modern .hover\:text-festive-red:hover { color: var(--m-cranberry) !important; }

/* Flatten pastel chips & badges into quiet hairline tags */
body.theme-modern [class*="bg-emerald-50"],
body.theme-modern [class*="bg-amber-50"],
body.theme-modern [class*="bg-blue-50"],
body.theme-modern [class*="bg-purple-50"],
body.theme-modern [class*="bg-red-50"],
body.theme-modern [class*="bg-yellow-100"],
body.theme-modern [class*="bg-amber-100"],
body.theme-modern .theme-badge {
    background-color: transparent !important;
    border-color: var(--m-line) !important;
    color: var(--m-ink) !important;
}
body.theme-modern [class*="text-emerald-9"],
body.theme-modern [class*="text-amber-9"],
body.theme-modern [class*="text-blue-9"],
body.theme-modern [class*="text-yellow-9"] { color: var(--m-ink) !important; }

body.theme-modern .theme-card {
    background-color: #fff !important;
    border: 1px solid var(--m-line) !important;
    box-shadow: none !important;
}

body.theme-modern .select-chevron {
    color: var(--m-ink) !important;
}

/* Experience Cards: subtle hairline border with darker grey outline on rollover matching location cards */
body.theme-modern .experience-card {
    border-color: var(--m-line);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
body.theme-modern .experience-card:not(.ring-2):not(.ring-gray-900):hover {
    border-color: #9ca3af !important;
}
body.theme-modern .experience-card.ring-2,
body.theme-modern .experience-card.ring-gray-900 {
    border-color: var(--m-ink) !important;
}

/* Experience Card Button: refined editorial sizing & tracking to prevent awkward multi-line orphaning */
body.theme-modern .experience-card-btn {
    letter-spacing: 0.08em !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    border-radius: 2px !important;
    padding-top: 0.92rem !important;
    padding-bottom: 0.92rem !important;
    line-height: 1.35 !important;
}

/* Finder Slot Cards & "Select ->" button: lighter, modern editorial styling */
body.theme-modern .finder-slot-btn {
    background-color: #ffffff !important;
    border-color: var(--m-line) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}
body.theme-modern .finder-slot-btn:hover {
    background-color: #FAF9F6 !important;
    border-color: #8A857E !important;
}
body.theme-modern .finder-slot-btn.is-selected {
    background-color: var(--m-paper) !important;
    border-color: var(--m-ink) !important;
    color: var(--m-ink) !important;
}
body.theme-modern .finder-slot-select-badge {
    background-color: #ffffff !important;
    border-color: var(--m-line) !important;
    color: #4A4A4A !important;
    font-weight: 500 !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.15s ease-in-out !important;
}
body.theme-modern .finder-slot-btn:hover .finder-slot-select-badge {
    border-color: var(--m-stone) !important;
    color: var(--m-ink) !important;
}
body.theme-modern .finder-slot-btn.is-selected .finder-slot-select-badge,
body.theme-modern .finder-slot-select-badge.is-selected {
    background-color: var(--m-ink) !important;
    border-color: var(--m-ink) !important;
    color: #ffffff !important;
    text-transform: none !important;
}

/* Decorative emoji tiles are hidden in this skin */
body.theme-modern .modern-hide { display: none !important; }

body.theme-modern .section-title {
    font-family: 'EB Garamond', Garamond, Georgia, serif !important;
    font-size: clamp(2.25rem, 4.2vw, 3.5rem) !important;
    line-height: 1.1 !important;
    font-weight: 400 !important;
    letter-spacing: -0.012em !important;
}
body.theme-modern .section-subtitle {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif !important;
    font-weight: 400 !important;
}

/* ---------- Full-screen hero slideshow ---------- */
.modern-hero {
    height: auto;
    min-height: max(560px, calc(100vh - var(--banner-h, 0px)));
    min-height: max(560px, calc(100svh - var(--banner-h, 0px)));
}
.modern-hero .hero-copy-container {
    min-height: max(560px, calc(100vh - var(--banner-h, 0px)));
    min-height: max(560px, calc(100svh - var(--banner-h, 0px)));
}
.modern-hero p.leading-relaxed {
    text-wrap: balance;
}
@media (max-width: 767px) {
    .modern-hero,
    .modern-hero .hero-copy-container {
        min-height: calc(100vh - var(--banner-h, 0px)) !important;
        min-height: calc(100svh - var(--banner-h, 0px)) !important;
    }
}
/* Medium & short-height desktop adaptation (laptops, windowed browsers <= 880px tall) */
@media (min-width: 1024px) and (max-height: 880px) {
    .modern-hero .hero-copy-container {
        padding-top: 5.25rem !important;
        padding-bottom: 6.25rem !important;
    }
    .modern-hero h1 {
        font-size: clamp(2.65rem, 4.5vh + 0.75vw, 3.55rem) !important;
        line-height: 1.05 !important;
    }
    .modern-hero .modern-rise p.leading-relaxed,
    .modern-hero p.leading-relaxed {
        font-size: 0.95rem !important;
        line-height: 1.45 !important;
        margin-top: 0.65rem !important;
    }
    .modern-hero .modern-rise:has(.burst-sticker) {
        margin-bottom: 0.75rem !important;
    }
    .modern-hero .hero-cta-buttons {
        margin-top: 1.25rem !important;
        margin-bottom: 0 !important;
    }
    .modern-hero a.font-montserrat {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
}
/* Short-height screen adaptation (laptops, split desktop windows <= 760px tall) */
@media (min-width: 1024px) and (max-height: 760px) {
    .modern-hero .hero-copy-container {
        padding-top: 4.5rem !important;
        padding-bottom: 6.25rem !important;
    }
    .modern-hero h1 {
        font-size: clamp(2.35rem, 4.2vh + 0.9vw, 3.25rem) !important;
        line-height: 1.06 !important;
    }
    .modern-hero .modern-rise p.leading-relaxed,
    .modern-hero p.leading-relaxed {
        font-size: 0.9rem !important;
        line-height: 1.38 !important;
        margin-top: 0.5rem !important;
    }
    .modern-hero .modern-rise:has(.burst-sticker) {
        margin-bottom: 0.5rem !important;
    }
    .modern-hero .hero-cta-buttons {
        margin-top: 1rem !important;
        margin-bottom: 0 !important;
    }
    .modern-hero a.font-montserrat {
        padding-top: 0.65rem !important;
        padding-bottom: 0.65rem !important;
    }
}
@media (min-width: 1024px) and (max-height: 660px) {
    .modern-hero .hero-copy-container {
        padding-top: 4rem !important;
        padding-bottom: 5.75rem !important;
    }
    .modern-hero h1 {
        font-size: clamp(1.95rem, 3.6vh + 0.8vw, 2.6rem) !important;
        line-height: 1.05 !important;
    }
    .modern-hero .hero-cta-buttons {
        margin-top: 0.75rem !important;
        margin-bottom: 0 !important;
    }
}
@media (max-height: 700px) and (max-width: 1023px) {
    .modern-hero .hero-copy-container {
        padding-top: 4.25rem !important;
        padding-bottom: 5.5rem !important;
    }
    .modern-hero h1 {
        font-size: clamp(2.05rem, 3.9vh + 0.7vw, 2.75rem) !important;
        line-height: 1.06 !important;
    }
    .modern-hero .modern-rise p.leading-relaxed,
    .modern-hero p.leading-relaxed {
        font-size: 0.85rem !important;
        line-height: 1.38 !important;
        margin-top: 0.45rem !important;
    }
    .modern-hero .modern-rise:has(.burst-sticker) {
        margin-bottom: 0.45rem !important;
    }
    .modern-hero .hero-cta-buttons {
        margin-top: 0.75rem !important;
        margin-bottom: 0 !important;
    }
}
.modern-scrim { z-index: 5 !important; }
.modern-scrim-left {
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.42) 0%,
        rgba(0, 0, 0, 0.20) 45%,
        rgba(0, 0, 0, 0.04) 75%,
        rgba(0, 0, 0, 0) 100%
    ) !important;
}
@media (min-width: 768px) {
    .modern-scrim-left {
        background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.52) 0%,
            rgba(0, 0, 0, 0.24) 40%,
            rgba(0, 0, 0, 0.04) 75%,
            rgba(0, 0, 0, 0) 100%
        ) !important;
    }
}
/* Smart Extra Black Left Gradient (strictly desktop only) */
.modern-slide-extra-left-scrim {
    display: block;
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--smart-scrim-width, 64%);
    z-index: 2;
    pointer-events: none;
    opacity: var(--smart-scrim-opacity, 0);
    transition: opacity 220ms ease-out, width 220ms ease-out;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.72) 42%,
        rgba(0, 0, 0, 0.48) 68%,
        rgba(0, 0, 0, 0.16) 86%,
        rgba(0, 0, 0, 0) 100%
    ) !important;
}
@media (max-width: 1023px) {
    .modern-slide-extra-left-scrim {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}
@media (min-width: 1024px) and (max-aspect-ratio: 152/100) {
    .modern-slide-extra-left-scrim {
        --smart-scrim-opacity: 0.9;
    }
}
@media (max-width: 1023px) {
    #modernHero[data-tall-mobile-hero="1"] {
        height: auto !important;
        min-height: max(calc(100svh - var(--banner-h, 0px)), 980px) !important;
    }
    #modernHero[data-tall-mobile-hero="1"] .hero-copy-container {
        min-height: max(calc(100svh - var(--banner-h, 0px)), 980px) !important;
        padding-top: 535px !important;
    }
}
#modernHero[data-headline-break-mode="compact"] .hero-break-compact {
    display: inline !important;
}
#modernHero[data-headline-break-mode="compact"] .hero-school-phrase {
    white-space: normal !important;
}
.modern-scrim-bottom {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.65) 20%,
        rgba(0, 0, 0, 0.25) 45%,
        rgba(0, 0, 0, 0) 70%
    ) !important;
}
@media (min-width: 768px) {
    .modern-scrim-bottom {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.70) 0%,
            rgba(0, 0, 0, 0.52) 25%,
            rgba(0, 0, 0, 0.28) 55%,
            rgba(0, 0, 0, 0.08) 80%,
            rgba(0, 0, 0, 0) 100%
        ) !important;
    }
}
.modern-scrim-top {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.70) 0%,
        rgba(0, 0, 0, 0.52) 38%,
        rgba(0, 0, 0, 0.25) 70%,
        rgba(0, 0, 0, 0.07) 88%,
        rgba(0, 0, 0, 0) 100%
    ) !important;
}
.modern-hero h1 {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.95) !important;
}
.modern-hero p,
.modern-hero .hero-subtext,
.modern-hero .modern-rise {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 1px 2px rgba(0, 0, 0, 0.9);
}
.modern-hero .hero-cta-buttons a[href="#locations"],
.modern-hero .hero-cta-buttons a[href="#locations"] *,
.modern-hero .hero-cta-buttons a[href="#locations"]:hover,
.modern-hero .hero-cta-buttons a[href="#locations"]:hover *,
.modern-hero .hero-cta-find-santa,
.modern-hero .hero-cta-find-santa * {
    text-shadow: none !important;
}
.modern-hero .hero-cta-buttons a[href="#packages"]:hover,
.modern-hero .hero-cta-buttons a[href="#packages"]:hover *,
.modern-hero .hero-cta-packages:hover,
.modern-hero .hero-cta-packages:hover * {
    text-shadow: none !important;
}
.modern-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 1600ms ease-in-out;
}
.modern-slide.is-leaving {
    opacity: 1;
    z-index: 2;
    pointer-events: none;
}
.modern-slide.is-active {
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
}
.modern-slide img {
    transform-origin: 60% 45%;
    object-position: var(--pos-sm, 60% 50%);
}
@media (min-width: 1024px) {
    .modern-slide img {
        object-position: var(--pos, 60% 50%);
    }
}
@media (min-width: 768px) {
    .modern-slide.is-active img,
    .modern-slide.is-leaving img {
        animation: modern-kenburns 12s ease-out 2.5s both;
    }
}
@keyframes modern-kenburns {
    from { transform: scale(1.06); }
    to { transform: scale(1.0); }
}
.modern-progress > span { transform-origin: left; transform: scaleX(0); }
.modern-progress.is-active > span { animation: modern-progress var(--slide-ms, 6500ms) linear forwards; }
.modern-progress.is-done > span { transform: scaleX(1); }
@keyframes modern-progress { to { transform: scaleX(1); } }
.modern-hero.is-paused .modern-progress > span,
.modern-hero.is-paused .modern-slide img { animation-play-state: paused !important; }
@media (min-width: 768px) {
    .modern-rise { animation: modern-rise 900ms cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes modern-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Hero Burst Sticker & Distinctive Per-Word Kinetic Animations */
.burst-sticker {
    animation: burstFloat 4.5s ease-in-out 3s infinite;
    transform-origin: center center;
    box-sizing: border-box;
    min-height: 26px;
}
@media (min-width: 640px) {
    .burst-sticker {
        min-height: 36px;
    }
}
#burstWordStage {
    height: 20px;
    min-height: 20px;
}
@media (min-width: 640px) {
    #burstWordStage {
        height: 22px;
        min-height: 22px;
    }
}
@keyframes burstFloat {
    0%, 100% { transform: translateY(0) rotate(-1.5deg); }
    50% { transform: translateY(-3px) rotate(0.5deg); }
}

/* Stage Exit Transition */
.burst-stage-exit {
    animation: burstStageOut 0.22s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes burstStageOut {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.8) translateY(-4px); }
}

/* 1. FUN: Playful wobbly rubber-band pop + Confetti burst */
.fun-char {
    display: inline-block;
    animation: funPopChar 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes funPopChar {
    0% {
        opacity: 0;
        transform: translateY(14px) scale(0.3) rotate(var(--r, -10deg));
    }
    50% {
        opacity: 1;
        transform: translateY(-4px) scale(1.2, 0.8) rotate(calc(var(--r, -10deg) * -0.5));
    }
    75% {
        transform: translateY(1px) scale(0.95, 1.1) rotate(calc(var(--r, -10deg) * 0.2));
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}
.burst-confetti-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    pointer-events: none;
    animation: burstConfetti 0.75s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes burstConfetti {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--cx), var(--cy)) scale(0.2);
    }
}

/* 2. EASY: Silky smooth effortless wave glide + Fading star emoji */
.easy-char {
    display: inline-block;
    animation: easyGlideChar 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes easyGlideChar {
    0% {
        opacity: 0;
        transform: translateX(-12px) translateY(2px) scale(0.9);
    }
    65% {
        opacity: 1;
        transform: translateX(1px) translateY(-1px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}
.easy-emoji-fade {
    display: inline-block;
    opacity: 0;
    animation: easyFadeInEmoji 0.65s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
@keyframes easyFadeInEmoji {
    0% {
        opacity: 0;
        transform: translateX(5px) scale(0.85);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* 3. AFFORDABLE: $$$$$$$$$ drops in, blasts away in all directions, reveals Affordable! */
.dollar-char {
    display: inline-block;
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.7), 0 0 16px rgba(255, 215, 0, 0.4);
    animation: dollarDropChar 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes dollarDropChar {
    0% {
        opacity: 0;
        transform: translateY(-14px) scale(1.3);
    }
    70% {
        opacity: 1;
        transform: translateY(2px) scale(0.92, 1.08);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.dollar-blast {
    animation: dollarBlastAway 0.6s cubic-bezier(0.12, 0.8, 0.32, 1) forwards !important;
}
@keyframes dollarBlastAway {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    40% {
        opacity: 1;
        transform: translate(calc(var(--bx) * 0.45), calc(var(--by) * 0.45)) scale(1.2) rotate(calc(var(--br) * 0.4));
    }
    100% {
        opacity: 0;
        transform: translate(var(--bx), var(--by)) scale(0.15) rotate(var(--br));
    }
}
.affordable-word {
    animation: affordableReveal 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes affordableReveal {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    65% {
        opacity: 1;
        transform: scale(1.08);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero "trusted name" interactive rollover & gradient reveal of MSP Photography logo */
.trusted-name-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: baseline;
    padding-right: 0.35em;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    outline: none;
}
.trusted-name-trigger:focus-visible {
    outline: 2px solid #E9D3A1;
    outline-offset: 4px;
    border-radius: 4px;
}
.trusted-name-trigger::before {
    content: '';
    position: absolute;
    inset: -8px -6px;
}
.trusted-name-text {
    display: inline-block;
    position: relative;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.group\/trusted:hover .trusted-name-text,
.trusted-name-trigger.is-revealed .trusted-name-text {
    opacity: 0;
    transform: translateY(-4px) scale(0.97);
}
.trusted-name-underline {
    background: linear-gradient(90deg, 
        rgba(233, 211, 161, 0.75) 0%, 
        rgba(244, 98, 96, 0.75) 30%, 
        rgba(253, 185, 19, 0.75) 55%, 
        rgba(12, 168, 143, 0.75) 80%, 
        rgba(2, 179, 223, 0.75) 100%
    );
    opacity: 0.75;
}
.group\/trusted:hover .trusted-name-underline,
.trusted-name-trigger.is-revealed .trusted-name-underline {
    opacity: 0 !important;
    transform: scaleX(0);
}
.msp-logo-badge {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.msp-logo-img {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s ease-out, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.group\/trusted:hover .msp-logo-img,
.trusted-name-trigger.is-revealed .msp-logo-img {
    opacity: 1;
    transform: scale(1);
}

/* Header: transparent over photography, solid once scrolled */
.modern-header { color: #fff; background-color: transparent; border-color: transparent; }
.modern-header.is-solid { color: #141414; background-color: rgba(255,255,255,.96); border-color: #E7E3DC; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modern-header.is-solid .brand-tagline { color: #8A857E !important; opacity: 1 !important; }
.modern-header .m-cta { background: #fff; color: #141414; border-color: #fff; }
.modern-header .m-cta:hover { background: rgba(255,255,255,.88); }
.modern-header.is-solid .m-cta { background: #141414; color: #fff; border-color: #141414; }
.modern-header.is-solid .m-cta:hover { background: #000; }

@media (prefers-reduced-motion: reduce) {
    .modern-slide { transition-duration: 600ms; }
    .modern-slide img,
    .modern-slide.is-active img,
    .modern-slide.is-leaving img { animation: none; transform: none; }
}

/* Reschedule date tabs & slot buttons */
body.theme-modern .date-tab.is-active { background-color: var(--m-ink) !important; color: #ffffff !important; border-color: var(--m-ink) !important; }
body.theme-modern .slot-btn.is-active { background-color: var(--m-paper) !important; border-color: var(--m-ink) !important; }
body.theme-modern .theme-submit-btn.is-enabled { background-color: var(--m-ink) !important; color: #ffffff !important; border-color: var(--m-ink) !important; cursor: pointer !important; }
body.theme-modern .theme-submit-btn.is-enabled:hover { background-color: #000000 !important; }
body.theme-modern .package-select-btn:hover { color: #141414 !important; }
body.theme-modern .package-select-btn.border-white\/35:hover { background-color: #ffffff !important; border-color: #ffffff !important; color: #141414 !important; }

/* Package visual rendering & festive green felt styling */
.felt {
    background-color: #1F3A2E !important;
    background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px) !important;
    background-size: 4px 4px !important;
}
.pv-groups { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 22px 30px; }
.pv-group { margin: 0; display: flex; flex-direction: column; align-items: center; }
.pv-stage { position: relative; }
.pv-print { position: absolute; background: #fff; border: 3px solid #fff; transform-origin: 50% 80%; box-shadow: 0 1px 1px rgba(0,0,0,.18), 0 8px 16px -8px rgba(0,0,0,.45); }
.pv-print img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-device { position: absolute; background: #111; border-radius: 9px; padding: 4px; box-shadow: 0 10px 20px -10px rgba(0,0,0,.55); }
.pv-device img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 5px; }
.pv-phone { border-radius: 12px; padding: 3px; z-index: 5; }
.pv-phone img { border-radius: 9px; }
.pv-label { margin-top: 12px; font-size: 11.5px; font-weight: 500; color: #8A857E; text-align: center; line-height: 1.3; max-width: 130px; }
.pv-badge { position: absolute; top: -10px; right: -10px; z-index: 20; background: #141414; color: #fff; font-size: 11px; font-weight: 700; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.pv-on-dark .pv-label { color: rgba(255,255,255,.75); }
.pv-on-dark .pv-print { box-shadow: 0 2px 3px rgba(0,0,0,.35), 0 14px 22px -10px rgba(0,0,0,.7); }
.pv-on-dark .pv-badge { background: #C9A45C; color: #141414; border-color: #1F3A2E; }
body.theme-modern .package-card,
.package-card {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease !important;
}
body.theme-modern .package-card:hover,
.package-card:hover {
    border-color: #C9A45C !important;
    box-shadow: 0 0 25px rgba(201, 164, 92, 0.45), 0 12px 28px -6px rgba(0, 0, 0, 0.55) !important;
}
body.theme-modern .is-selected-package,
body.theme-modern .package-card.is-selected-package,
.is-selected-package,
.package-card.is-selected-package {
    border-color: #A3182F !important;
    border-width: 2px !important;
    border-style: solid !important;
    outline: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
    background-color: #ffffff !important;
}
body.theme-modern .is-selected-package:focus,
body.theme-modern .is-selected-package:focus-visible,
.is-selected-package:focus,
.is-selected-package:focus-visible {
    outline: none !important;
}

