/* =========================================================================
   Love Moments Studio — main stylesheet (2026 modern, mobile-first)
   ========================================================================= */

:root {
    --lm-ink:       #0a0908;
    --lm-surface:   #141210;
    --lm-elevated:  #1f1c19;
    --lm-cream:     #f5efe6;
    --lm-muted:     #8a857d;
    --lm-gold:      #c9a96e;
    --lm-gold-soft: #a88d57;
    --lm-rose:      #d9b4a3;
    --lm-border:    rgba(245, 239, 230, 0.08);

    --lm-radius: 0px;
    --lm-radius-soft: 4px;
    --lm-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(245,239,230,.04);

    --lm-ease: cubic-bezier(.2, .8, .25, 1);
    --lm-ease-out: cubic-bezier(.16, 1, .3, 1);

    --lm-container: min(1200px, 88vw);
    --lm-container-narrow: min(780px, 88vw);
}

/* ----- base ----- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--lm-ink);
    color: var(--lm-cream);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

a { color: var(--lm-gold); text-decoration: none; transition: color .25s var(--lm-ease); }
a:hover { color: var(--lm-cream); }

::selection { background: var(--lm-gold); color: var(--lm-ink); }

/* Scrollbar polish (Chromium) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--lm-ink); }
::-webkit-scrollbar-thumb { background: var(--lm-elevated); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--lm-gold-soft); }

/* ----- layout helpers ----- */
.lm-container { width: var(--lm-container); margin-inline: auto; }
.lm-container--narrow { width: var(--lm-container-narrow); margin-inline: auto; }

.lm-section { padding-block: clamp(4rem, 6vw, 8rem); }
.lm-section--tight { padding-block: clamp(2.5rem, 4vw, 5rem); }
.lm-section--hero  { padding-block: 0; }

/* Opt out of WP block-editor constrained layout — lm-section needs full width
   so the inner .lm-container can centre itself properly. Without this,
   parent's `max-width: var(--wp--style--global--content-size)` clamps us to
   780px and our 1100px grid overflows asymmetrically to the right. */
.entry-content > .lm-section,
.wp-site-blocks > .lm-section,
.is-layout-constrained > .lm-section,
.wp-block-post-content > .lm-section {
    max-width: none !important;
    width: 100%;
    margin-inline: 0 !important;
}

/* Same for our containers when used as direct WP children */
.entry-content > .lm-container,
.is-layout-constrained > .lm-container {
    max-width: var(--lm-container) !important;
}

.lm-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lm-gold);
    font-weight: 500;
    margin-bottom: 1rem;
}

.lm-divider {
    display: block;
    width: 60px;
    height: 1px;
    background: var(--lm-gold);
    margin: 1.5rem auto;
    opacity: .8;
}

/* ----- header ----- */
.lm-site-header {
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    background: rgba(10, 9, 8, 0.7);
    border-bottom: 1px solid var(--lm-border);
}

.lm-site-header__inner {
    width: var(--lm-container);
    margin-inline: auto;
    display: flex; align-items: center; justify-content: space-between;
    padding-block: 1.1rem;
    gap: 2rem;
}

.lm-wordmark {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1;
    color: var(--lm-cream);
    display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
}
.lm-wordmark__main {
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.lm-wordmark__sub {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--lm-gold);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.lm-site-header .custom-logo { max-height: 48px; width: auto; }

/* ----- nav (boutique) ----- */
.lm-nav { display: flex; align-items: center; }
.lm-nav ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; align-items: center;
    gap: 0;
}
.lm-nav > ul > li { position: relative; display: flex; align-items: center; }
.lm-nav > ul > li + li::before {
    content: '';
    width: 4px; height: 4px;
    background: var(--lm-gold);
    transform: rotate(45deg);
    margin: 0 .15rem;
    opacity: .55;
    transition: opacity .35s var(--lm-ease), transform .6s var(--lm-ease);
}
.lm-nav > ul > li:hover + li::before,
.lm-nav > ul > li + li:hover::before { opacity: 1; transform: rotate(225deg); }

.lm-nav a {
    color: var(--lm-cream);
    font-size: 0.74rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 500;
    position: relative;
    padding: 1.1rem 1.3rem;
    display: inline-block;
    transition: color .5s var(--lm-ease), letter-spacing .5s var(--lm-ease);
}
.lm-nav a::before,
.lm-nav a::after {
    content: '';
    position: absolute;
    bottom: 18px;
    width: 0; height: 1px;
    background: var(--lm-gold);
    transition: width .55s var(--lm-ease-out);
}
.lm-nav a::before { right: 50%; }
.lm-nav a::after  { left:  50%; }
.lm-nav a:hover {
    color: var(--lm-gold);
    letter-spacing: 0.32em;
}
.lm-nav a:hover::before,
.lm-nav a:hover::after { width: 38%; }
.lm-nav .current-menu-item > a,
.lm-nav .current-menu-parent > a { color: var(--lm-gold); }
.lm-nav .current-menu-item > a::before,
.lm-nav .current-menu-item > a::after { width: 24%; }

/* Submenus — refined dropdown */
.lm-nav .sub-menu {
    position: absolute;
    top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
    background: rgba(20, 18, 16, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--lm-border);
    padding: 1rem;
    list-style: none;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .35s var(--lm-ease), transform .35s var(--lm-ease), visibility 0s .35s;
    box-shadow: 0 24px 60px -16px rgba(0,0,0,.6);
}
.lm-nav .sub-menu::before {
    content: '';
    position: absolute;
    top: -5px; left: 50%; transform: translateX(-50%) rotate(45deg);
    width: 8px; height: 8px;
    background: rgba(20, 18, 16, 0.95);
    border-left: 1px solid var(--lm-border);
    border-top: 1px solid var(--lm-border);
}
.lm-nav li:hover > .sub-menu,
.lm-nav li:focus-within > .sub-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}
.lm-nav .sub-menu li { position: relative; }
.lm-nav .sub-menu a {
    padding: .8rem 1.2rem;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid transparent;
}
.lm-nav .sub-menu a::before,
.lm-nav .sub-menu a::after { display: none; }
.lm-nav .sub-menu a:hover {
    background: rgba(201, 169, 110, 0.06);
    color: var(--lm-gold);
    letter-spacing: 0.22em;
}
.lm-nav .sub-menu li + li > a { border-top: 1px solid var(--lm-border); }

/* Refined header look */
.lm-site-header {
    box-shadow: 0 1px 0 0 rgba(201,169,110,.08);
}

/* Mobile burger */
.lm-burger {
    display: none;
    background: transparent; border: 0; padding: 8px;
    cursor: pointer;
    color: var(--lm-cream);
    width: 40px; height: 40px;
}
.lm-burger span {
    display: block; width: 24px; height: 1px; background: currentColor;
    margin: 6px auto; transition: .3s var(--lm-ease);
}

@media (max-width: 880px) {
    .lm-burger { display: block; }
    .lm-nav {
        position: fixed; inset: 0; top: 65px;
        background: var(--lm-ink);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 2rem;
        transform: translateX(100%);
        transition: transform .4s var(--lm-ease);
    }
    .lm-nav.is-open { transform: translateX(0); }
    .lm-nav ul { flex-direction: column; align-items: stretch; gap: 1rem; width: 100%; }
    .lm-nav a { font-size: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--lm-border); }
    .lm-nav .sub-menu { position: static; display: flex; border: 0; padding-left: 1rem; }
}

/* ----- buttons ----- */
.lm-btn,
.wp-element-button,
button[type="submit"].lm-form__submit {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: 1rem 2rem;
    background: var(--lm-gold);
    color: var(--lm-ink);
    border: 1px solid var(--lm-gold);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .35s var(--lm-ease);
    text-decoration: none;
    line-height: 1;
}
.lm-btn:hover,
.wp-element-button:hover { background: var(--lm-cream); border-color: var(--lm-cream); color: var(--lm-ink); }

.lm-btn--ghost { background: transparent; color: var(--lm-cream); border: 1px solid var(--lm-cream); }
.lm-btn--ghost:hover { background: var(--lm-cream); color: var(--lm-ink); }

.lm-btn--gold-ghost { background: transparent; color: var(--lm-gold); border: 1px solid var(--lm-gold); }
.lm-btn--gold-ghost:hover { background: var(--lm-gold); color: var(--lm-ink); }

/* ----- hero ----- */
.lm-hero {
    position: relative;
    min-height: min(95vh, 950px);
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--lm-ink);
}

.lm-hero__media {
    position: absolute; inset: 0; z-index: 0;
}
.lm-hero__media img,
.lm-hero__media video {
    width: 100%; height: 100%; object-fit: cover;
    opacity: .6;
}
.lm-hero__media::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10,9,8,0) 0%, rgba(10,9,8,.45) 60%, rgba(10,9,8,.95) 100%),
        radial-gradient(circle at 30% 25%, rgba(201,169,110,.18) 0%, rgba(10,9,8,0) 60%);
    pointer-events: none;
}

.lm-hero__inner {
    position: relative; z-index: 2;
    width: var(--lm-container);
    text-align: center;
    padding: 4rem 0 6rem;
}

.lm-hero__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 2rem + 6vw, 7rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
}
.lm-hero__title em {
    font-style: italic;
    color: var(--lm-gold);
    font-weight: 400;
}

.lm-hero__sub {
    font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
    color: var(--lm-cream);
    opacity: .85;
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.lm-hero__cta { display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.lm-hero__scroll {
    position: absolute; bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    color: var(--lm-cream); opacity: .7;
    font-size: .7rem; letter-spacing: 0.3em; text-transform: uppercase;
    z-index: 2;
}
.lm-hero__scroll::after {
    content: ''; display: block; width: 1px; height: 40px;
    background: var(--lm-cream);
    margin: .8rem auto 0;
    animation: lmScrollPulse 2.4s var(--lm-ease) infinite;
    transform-origin: top;
}
@keyframes lmScrollPulse {
    0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ----- section heading ----- */
.lm-heading {
    text-align: center; margin-bottom: 3.5rem;
}
.lm-heading h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 1.4rem + 2.5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.015em;
}
.lm-heading h2 em { color: var(--lm-gold); font-style: italic; }
.lm-heading p { color: var(--lm-muted); margin-top: 1rem; max-width: 600px; margin-inline: auto; }

/* ----- portfolio filter ----- */
.lm-filter {
    display: flex; flex-wrap: wrap; gap: .5rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.lm-filter__btn {
    background: transparent;
    border: 1px solid var(--lm-border);
    color: var(--lm-cream);
    padding: .6rem 1.2rem;
    font: inherit;
    font-size: .78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s var(--lm-ease);
}
.lm-filter__btn:hover { border-color: var(--lm-gold); color: var(--lm-gold); }
.lm-filter__btn.is-active {
    background: var(--lm-gold);
    color: var(--lm-ink);
    border-color: var(--lm-gold);
}

/* ----- grid (portfolio + prints) ----- */
.lm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: clamp(1rem, 2vw, 2rem);
}
.lm-grid--prints { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }

.lm-card,
.lm-print {
    position: relative;
    overflow: hidden;
    background: var(--lm-surface);
    transition: transform .5s var(--lm-ease-out);
}

.lm-card a, .lm-print a { color: inherit; display: block; }

.lm-card__media,
.lm-print__media {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin: 0;
    background: var(--lm-elevated);
}

.lm-card__media img,
.lm-print__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.2s var(--lm-ease-out);
}

.lm-card:hover .lm-card__media img,
.lm-print:hover .lm-print__media img { transform: scale(1.06); }

.lm-card__placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--lm-elevated), var(--lm-surface));
}

.lm-card__body,
.lm-print__body {
    padding: 1.4rem .25rem;
}

.lm-card__cat {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--lm-gold);
    margin-bottom: .5rem;
}

.lm-card__title,
.lm-print__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    color: var(--lm-cream);
}

.lm-card__meta,
.lm-print__meta {
    margin: .4rem 0 0;
    font-size: 0.85rem;
    color: var(--lm-muted);
    display: flex; gap: .4rem; flex-wrap: wrap;
}
.lm-print__meta strong { color: var(--lm-gold); margin-left: auto; font-weight: 500; }

.lm-grid > article.is-hidden { display: none; }

/* ----- single portfolio ----- */
.lm-portfolio-single { padding-block: clamp(3rem, 5vw, 7rem); }

.lm-portfolio-single__hero {
    text-align: center;
    width: var(--lm-container-narrow); margin-inline: auto;
    margin-bottom: 3rem;
}
.lm-portfolio-single__cat {
    font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--lm-gold);
}
.lm-portfolio-single__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
    font-weight: 300;
    line-height: 1.05;
    margin: 1rem 0;
}
.lm-portfolio-single__meta {
    color: var(--lm-muted);
    display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
    font-size: 0.95rem;
}
.lm-portfolio-single__meta span + span::before {
    content: '·'; margin-right: 1rem; color: var(--lm-gold);
}

/* Lightbox grid */
.lm-lightbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
    gap: 4px;
    margin-block: 3rem;
}
.lm-lightbox-grid__item {
    position: relative; overflow: hidden;
    aspect-ratio: 1;
    background: var(--lm-elevated);
}
.lm-lightbox-grid__item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s var(--lm-ease-out), opacity .3s;
}
.lm-lightbox-grid__item:hover img { transform: scale(1.05); opacity: .85; }

/* Video hero on single */
.lm-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    margin-block: 3rem;
    overflow: hidden;
}
.lm-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Lightbox overlay */
.lm-lightbox-overlay {
    position: fixed; inset: 0;
    background: rgba(10, 9, 8, 0.97);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: none; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .3s var(--lm-ease);
    padding: 2rem;
}
.lm-lightbox-overlay.is-open { display: flex; opacity: 1; }
.lm-lightbox-overlay img {
    max-width: 95vw; max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0,0,0,.7);
}
.lm-lightbox-close,
.lm-lightbox-prev,
.lm-lightbox-next {
    position: absolute;
    background: transparent; border: 1px solid var(--lm-border); color: var(--lm-cream);
    width: 48px; height: 48px;
    cursor: pointer;
    font-size: 1.4rem;
    transition: all .3s var(--lm-ease);
    display: grid; place-items: center;
}
.lm-lightbox-close { top: 1.5rem; right: 1.5rem; }
.lm-lightbox-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lm-lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lm-lightbox-close:hover,
.lm-lightbox-prev:hover,
.lm-lightbox-next:hover { background: var(--lm-gold); color: var(--lm-ink); border-color: var(--lm-gold); }

/* ----- packages (pricing) ----- */
.lm-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    align-items: stretch;
    max-width: 1100px;
    margin-inline: auto;
}
.lm-package {
    position: relative;
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
    padding: 3rem 2.5rem;
    display: flex; flex-direction: column; gap: 1.25rem;
    text-align: center;
    align-items: center;
    transition: transform .35s var(--lm-ease), border-color .3s, box-shadow .3s;
}
.lm-package:hover { transform: translateY(-6px); border-color: var(--lm-gold-soft); box-shadow: var(--lm-shadow); }

.lm-package.is-featured {
    border-color: var(--lm-gold);
    background: linear-gradient(180deg, var(--lm-elevated), var(--lm-surface));
}
.lm-package__badge {
    position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    background: var(--lm-gold);
    color: var(--lm-ink);
    padding: .35rem 1rem;
    font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 600;
}
.lm-package__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 400;
    margin: 0;
    color: var(--lm-cream);
}
.lm-package__price {
    margin: 0;
    display: flex; align-items: baseline; gap: .4rem;
    justify-content: center;
    color: var(--lm-gold);
}
.lm-package__amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1;
}
.lm-package__unit { font-size: 0.95rem; color: var(--lm-muted); }
.lm-package__excerpt { color: var(--lm-muted); font-size: 0.95rem; margin: 0; text-align: center; }
.lm-package__excerpt p { text-align: center; margin: 0; }

.lm-package__features {
    list-style: none; padding: 0; margin: .5rem 0 1.5rem;
    display: flex; flex-direction: column; gap: .75rem;
    font-size: 0.95rem;
    border-top: 1px solid var(--lm-border);
    padding-top: 1.5rem;
    text-align: center;
    width: 100%;
    align-self: stretch;
}
.lm-package__features li {
    color: var(--lm-cream);
    padding: 0;
    position: relative;
}
.lm-package__features li::before {
    content: '✓';
    color: var(--lm-gold);
    font-weight: bold;
    margin-right: 0.6rem;
    display: inline-block;
}
.lm-package .lm-btn { margin-top: auto; }

/* ----- form ----- */
.lm-form {
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
    padding: clamp(2rem, 4vw, 3.5rem);
    display: flex; flex-direction: column; gap: 1.25rem;
    max-width: 720px; margin-inline: auto;
}
.lm-form__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 400;
    margin: 0 0 .5rem;
}
.lm-form__row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
@media (max-width: 600px) { .lm-form__row { grid-template-columns: 1fr; } }

.lm-form__field {
    display: flex; flex-direction: column; gap: .35rem;
}
.lm-form__field span {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lm-muted);
}
.lm-form__field input,
.lm-form__field select,
.lm-form__field textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--lm-border);
    color: var(--lm-cream);
    padding: .8rem 0;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color .3s var(--lm-ease);
    width: 100%;
}
.lm-form__field textarea { min-height: 120px; resize: vertical; }
.lm-form__field input:focus,
.lm-form__field select:focus,
.lm-form__field textarea:focus {
    outline: none;
    border-color: var(--lm-gold);
}
.lm-form__field select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><polyline points='2,4 6,8 10,4' stroke='%23c9a96e' stroke-width='1.5' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right .25rem center;
    background-size: 16px;
    padding-right: 1.5rem;
    cursor: pointer;
}
.lm-form__field select option {
    background: var(--lm-surface);
    color: var(--lm-cream);
}

.lm-form__submit {
    align-self: flex-start;
    margin-top: 1rem;
}

.lm-form__status {
    margin: .25rem 0 0;
    font-size: 0.95rem;
    min-height: 1.5em;
}
.lm-form__status.is-error { color: #ff8a7c; }
.lm-form__status.is-success { color: var(--lm-gold); }

/* ----- calendar ----- */
.lm-calendar {
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
    padding: 2rem;
    max-width: 540px; margin-inline: auto;
}
.lm-calendar__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem;
}
.lm-calendar__title {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 400;
    text-transform: capitalize;
}
.lm-calendar__nav {
    background: transparent; border: 1px solid var(--lm-border); color: var(--lm-cream);
    width: 36px; height: 36px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all .25s var(--lm-ease);
}
.lm-calendar__nav:hover { background: var(--lm-gold); color: var(--lm-ink); border-color: var(--lm-gold); }

.lm-calendar__weekdays,
.lm-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.lm-calendar__weekdays {
    margin-bottom: 6px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--lm-muted);
    text-align: center;
    padding: 6px 0;
}

.lm-calendar__day {
    aspect-ratio: 1;
    display: grid; place-items: center;
    background: var(--lm-elevated);
    color: var(--lm-cream);
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
    border: 1px solid transparent;
    transition: all .2s var(--lm-ease);
    cursor: default;
}
.lm-calendar__day.is-empty { background: transparent; }
.lm-calendar__day.is-today { border-color: var(--lm-gold); color: var(--lm-gold); }
.lm-calendar__day.is-busy { background: var(--lm-gold); color: var(--lm-ink); font-weight: 600; }
.lm-calendar__day.is-tentative { background: var(--lm-rose); color: var(--lm-ink); }
.lm-calendar__day.is-closed { background: var(--lm-elevated); color: var(--lm-muted); text-decoration: line-through; }
.lm-calendar__day.is-past { opacity: .35; }

.lm-calendar__legend {
    list-style: none; padding: 0; margin: 1.5rem 0 0;
    display: flex; gap: 1.25rem; flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--lm-muted);
}
.lm-dot {
    display: inline-block; width: 12px; height: 12px;
    margin-right: .35rem;
    vertical-align: middle;
}
.lm-dot--free { border: 1px solid var(--lm-border); background: var(--lm-elevated); }
.lm-dot--busy { background: var(--lm-gold); }
.lm-dot--tentative { background: var(--lm-rose); }

/* ----- footer ----- */
.lm-site-footer {
    margin-top: 6rem;
    background: var(--lm-surface);
    border-top: 1px solid var(--lm-border);
    padding-block: 4rem 2rem;
}
.lm-site-footer__grid {
    width: var(--lm-container);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 2fr repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}
@media (max-width: 720px) { .lm-site-footer__grid { grid-template-columns: 1fr; } }

.lm-site-footer h4 {
    font-size: 0.78rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--lm-gold);
    margin: 0 0 1rem;
    font-weight: 500;
}

.lm-site-footer p, .lm-site-footer li { color: var(--lm-muted); margin: 0 0 .5rem; }
.lm-site-footer ul { list-style: none; padding: 0; margin: 0; }
.lm-site-footer a { color: var(--lm-cream); }
.lm-site-footer a:hover { color: var(--lm-gold); }

.lm-socials { display: flex; gap: 1rem; margin-top: 1rem; }
.lm-socials a {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--lm-border);
    transition: all .25s var(--lm-ease);
    color: var(--lm-cream);
}
.lm-socials a:hover { background: var(--lm-gold); color: var(--lm-ink); border-color: var(--lm-gold); }
.lm-socials svg { width: 18px; height: 18px; }

.lm-site-footer__bar {
    width: var(--lm-container);
    margin-inline: auto;
    border-top: 1px solid var(--lm-border);
    padding-top: 2rem;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    font-size: 0.85rem;
    color: var(--lm-muted);
    align-items: center;
}
.lm-site-footer__legal {
    display: flex; flex-wrap: wrap; gap: .35rem .6rem; align-items: center;
}
.lm-site-footer__legal a {
    color: var(--lm-cream);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color .25s var(--lm-ease);
}
.lm-site-footer__legal a:hover { color: var(--lm-gold); }
.lm-site-footer__legal .lm-sep { color: var(--lm-gold); opacity: .6; }

/* ----- empty / utilities ----- */
.lm-empty {
    color: var(--lm-muted); text-align: center;
    padding: 3rem 1rem;
}

/* ----- WP block tweaks ----- */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-block-image figcaption { color: var(--lm-muted); font-size: 0.85rem; }

/* ----- about / content ----- */
.lm-prose {
    width: var(--lm-container-narrow); margin-inline: auto;
    font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.2rem);
    line-height: 1.8;
    color: var(--lm-cream);
}
.lm-prose h2 { margin-top: 3rem; }
.lm-prose blockquote {
    border-left: 2px solid var(--lm-gold);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 2rem 0;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--lm-cream);
}

/* ----- WP cover etc on dark theme ----- */
.has-ink-color { color: var(--lm-ink) !important; }
.has-cream-color { color: var(--lm-cream) !important; }
.has-gold-color { color: var(--lm-gold) !important; }
.has-ink-background-color { background-color: var(--lm-ink) !important; }
.has-surface-background-color { background-color: var(--lm-surface) !important; }
.has-elevated-background-color { background-color: var(--lm-elevated) !important; }
.has-gold-background-color { background-color: var(--lm-gold) !important; }

/* fade-in on scroll */
[data-lm-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .9s var(--lm-ease-out), transform .9s var(--lm-ease-out);
}
[data-lm-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    [data-lm-reveal] { opacity: 1; transform: none; }
}

/* ----- video grid (click-to-play YouTube) ----- */
.lm-videos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr));
    gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

.lm-video-card {
    background: var(--lm-surface);
    border: 1px solid transparent;
    transition: border-color .35s var(--lm-ease), transform .5s var(--lm-ease);
}
.lm-video-card:hover { border-color: var(--lm-gold-soft); transform: translateY(-4px); }

.lm-video-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--lm-elevated);
    cursor: pointer;
}
.lm-video-card__thumb {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1s var(--lm-ease-out), opacity .35s;
}
.lm-video-card__media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,9,8,0) 0%, rgba(10,9,8,.55) 100%);
    pointer-events: none;
    transition: opacity .35s;
}
.lm-video-card:hover .lm-video-card__thumb { transform: scale(1.06); }
.lm-video-card:hover .lm-video-card__media::after { opacity: .65; }

.lm-video-card__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.95);
    color: var(--lm-ink);
    border: 0;
    cursor: pointer;
    display: grid; place-items: center;
    box-shadow: 0 0 0 0 rgba(201,169,110,.4);
    transition: transform .35s var(--lm-ease), box-shadow .6s var(--lm-ease), background .35s;
    z-index: 2;
}
.lm-video-card__play svg { margin-left: 4px; }
.lm-video-card:hover .lm-video-card__play {
    transform: translate(-50%, -50%) scale(1.08);
    background: var(--lm-cream);
    box-shadow: 0 0 0 16px rgba(201, 169, 110, 0.12);
}

.lm-video-card__duration {
    position: absolute;
    bottom: 12px; right: 12px;
    background: rgba(10,9,8,.85);
    color: var(--lm-cream);
    padding: 4px 10px;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    z-index: 2;
    font-variant-numeric: tabular-nums;
}

.lm-video-card__media iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}
.lm-video-card.is-playing .lm-video-card__thumb,
.lm-video-card.is-playing .lm-video-card__play,
.lm-video-card.is-playing .lm-video-card__duration,
.lm-video-card.is-playing .lm-video-card__media::after { display: none; }

.lm-video-card__body {
    padding: 1.4rem 1.6rem 1.8rem;
}
.lm-video-card__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    color: var(--lm-cream);
}
.lm-video-card__excerpt {
    color: var(--lm-muted);
    font-size: 0.92rem;
    margin: .6rem 0 0;
}

/* ----- cookie banner ----- */
.lm-cc {
    position: fixed;
    inset-inline: 1rem;
    bottom: 1rem;
    z-index: 9998;
    background: var(--lm-surface);
    border: 1px solid var(--lm-gold);
    box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
    max-width: 520px;
    margin-inline: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .35s var(--lm-ease), transform .35s var(--lm-ease);
}
.lm-cc.is-visible { opacity: 1; transform: translateY(0); }

.lm-cc__inner {
    padding: 1.6rem 1.8rem;
    display: flex; flex-direction: column; gap: 1rem;
}
.lm-cc__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0;
    color: var(--lm-cream);
}
.lm-cc__text {
    margin: 0;
    color: var(--lm-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}
.lm-cc__text a { color: var(--lm-gold); }

.lm-cc__details summary {
    cursor: pointer;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lm-gold);
    padding: .35rem 0;
    list-style: none;
    user-select: none;
}
.lm-cc__details summary::-webkit-details-marker { display: none; }
.lm-cc__details[open] summary { margin-bottom: .5rem; }

.lm-cc__choice {
    display: flex; gap: .65rem; align-items: flex-start;
    padding: .4rem 0;
    font-size: 0.88rem;
    color: var(--lm-cream);
    cursor: pointer;
}
.lm-cc__choice input { margin-top: 3px; accent-color: var(--lm-gold); }

.lm-cc__actions {
    display: flex; flex-wrap: wrap; gap: .5rem;
    margin-top: .25rem;
}
.lm-cc__actions .lm-btn {
    padding: .7rem 1.1rem;
    font-size: 0.7rem;
    flex: 1 1 auto;
    min-width: 110px;
}

.lm-cc-toggle {
    position: fixed;
    bottom: 1rem; right: 1rem;
    z-index: 9997;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--lm-surface);
    border: 1px solid var(--lm-border);
    color: var(--lm-cream);
    cursor: pointer;
    font-size: 1.2rem;
    transition: all .25s var(--lm-ease);
    display: grid; place-items: center;
    box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.lm-cc-toggle:hover { background: var(--lm-gold); border-color: var(--lm-gold); transform: scale(1.05); }

@media (max-width: 540px) {
    .lm-cc__inner { padding: 1.2rem; }
    .lm-cc__actions .lm-btn { flex: 1 1 100%; }
}
