/* ==========================================================================
   Midnight Salon — cinematic and atmospheric.
   Charcoal #171717 · bone #E9E2D7 · antique brass #A68A64 · deep sage #5D6C61
   Elegant serif headlines with a neutral sans for navigation and metadata;
   dark backgrounds, full-bleed imagery, understated captions, slow fades.
   ========================================================================== */

:root {
    --art-bg: #171717; --art-surface: #222220; --art-text: #e9e2d7; --art-heading: #e9e2d7; --art-muted: #a39a8c;
    --art-link: #e9e2d7; --art-link-hover: #a68a64; --art-accent: #a68a64; --art-accent-2: #5d6c61; --art-price: #a68a64;
    --art-font: "Inter", "Helvetica Neue", Arial, sans-serif; --art-size: 15px;
    --art-heading-font: "Instrument Serif", Georgia, serif; --art-heading-weight: 400; --art-heading-case: none;
    --art-meta-font: "Inter", sans-serif;
    --art-header-bg: #171717; --art-header-text: #e9e2d7; --art-header-hover: #a68a64; --art-header-rule: #2c2c2a; --art-header-rule-w: 0px;
    --art-title-font: "Instrument Serif", Georgia, serif; --art-title-size: 30px; --art-title-weight: 400; --art-title-case: none; --art-title-tracking: 0px; --art-logo-h: 48px;
    --art-nav-font: "Inter", sans-serif; --art-nav-size: 11px; --art-nav-weight: 500; --art-nav-case: uppercase; --art-nav-tracking: 2px;
    --art-footer-bg: #111; --art-footer-text: #a39a8c; --art-footer-link: #e9e2d7; --art-footer-hover: #a68a64;
    --art-footer-rule: #2c2c2a; --art-footer-rule-w: 1px; --art-footer-font: "Inter", sans-serif; --art-footer-size: 12px; --art-footer-case: none;
    --art-gallery-gap: 40px;
    --art-max: 1440px;
    --art-lightbox-bg: rgba(14, 14, 14, .98);
    --art-lightbox-text: #e9e2d7;
}

body { line-height: 1.75; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 6vw, 84px); }
hr, .wp-block-separator { border-color: #3a3a37; opacity: 1; }
.form-select { background-color: transparent; color: var(--art-text); }

/* Header: discreet, floats over the hero on the home page */
.art-header__inner { padding-top: 26px; padding-bottom: 26px; }
.art-menu { gap: .2rem 2rem; }
.art-menu .nav-link.active, .art-menu .current-menu-item > .nav-link { color: var(--art-header-hover); }
.home .art-header { position: absolute; left: 0; right: 0; top: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
.admin-bar.home .art-header { top: 32px; }
.art-toggler .fran-icon { display: none; }
.art-toggler__label { letter-spacing: .2em; }
@media (max-width: 991.98px) { .home .art-header { background: rgba(23, 23, 23, .85); } }

/* Cinematic hero */
.ms-hero { position: relative; height: 100vh; min-height: 520px; overflow: hidden; background: #000; }
.ms-hero .carousel-inner, .ms-hero .carousel-item { height: 100%; }
.ms-hero.carousel-fade .carousel-item { transition: opacity 1.6s ease-in-out; }
.ms-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ms-hero .carousel-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, 0) 55%); }
.ms-hero__caption { position: absolute; z-index: 2; left: var(--art-gutter); bottom: clamp(32px, 7vh, 80px); max-width: min(760px, 80vw); }
.ms-hero__index { margin: 0 0 .6rem; font-size: 11px; letter-spacing: .25em; color: var(--art-accent); }
.ms-hero__title { margin: 0; font-size: clamp(26px, 3.6vw, 52px); color: #fff; }
.ms-hero__title a { color: inherit; text-decoration: none; }
.ms-hero__nav { position: absolute; z-index: 3; right: var(--art-gutter); bottom: clamp(32px, 7vh, 80px); display: flex; gap: .5rem; }
.ms-hero__nav button { width: 44px; height: 44px; border: 1px solid rgba(233, 226, 215, .4); border-radius: 50%; background: transparent; color: #fff; }
.ms-hero__nav button:hover { border-color: var(--art-accent); color: var(--art-accent); }

/* Immersive project sections */
.ms-home { padding-top: clamp(60px, 10vw, 140px); }
.ms-project { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(80px, 12vw, 180px); }
.ms-project--right .ms-project__media { order: 2; }
.ms-project__media { display: block; overflow: hidden; line-height: 0; background: var(--art-surface); }
.ms-project__img { width: 100%; height: auto; max-height: 82vh; object-fit: cover; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.ms-project:hover .ms-project__img { transform: scale(1.025); }
.ms-project__meta { margin: 0 0 1rem; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--art-accent); }
.ms-project__title { margin: 0 0 1rem; font-size: clamp(34px, 4vw, 60px); }
.ms-project__title a { color: var(--art-heading); text-decoration: none; }
.ms-project__excerpt { color: var(--art-muted); max-width: 38ch; }
.ms-project__link { display: inline-block; margin-top: .5rem; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--art-text); text-decoration: none; border-bottom: 1px solid var(--art-accent); padding-bottom: .3rem; }
.ms-project__link:hover { color: var(--art-accent); }
@media (max-width: 767.98px) { .ms-project { grid-template-columns: minmax(0, 1fr); } .ms-project--right .ms-project__media { order: 0; } }

[data-art-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
[data-art-reveal].is-in { opacity: 1; transform: none; }

.edith-section-title { font-size: clamp(32px, 4vw, 56px); }
.edith-more { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--art-accent); }
.art-news-list__item { border-color: #333330; }
.art-news-list__title { font-family: var(--art-heading-font); font-size: 24px; }
.edith-card__title { font-size: 22px; }
.btn.edith-btn { --bs-btn-color: #171717; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.edith-shop-grid .btn.edith-btn { color: #171717; }

/* Pages */
.edith-page__title, .edith-post__title { font-size: clamp(44px, 6vw, 92px); }
.art-project-meta { letter-spacing: .22em; }
.art-project-meta__num { color: var(--art-accent); font-weight: 500; }
.fran-strip__nav { background: rgba(23, 23, 23, .8); color: var(--art-text); }
.fran-artwork__caption { color: var(--art-muted); }
.fran-artwork__title { font-family: var(--art-heading-font); font-size: 18px; text-transform: none; letter-spacing: 0; }
.fran-strip__item .fran-artwork__title { font-size: 20px; }
.fran-slider__stage { background: transparent; }
.fran-slider__control { color: var(--art-text); }
.fran-slider__thumb { background: var(--art-surface); }
.fran-slider__thumb.active { border-color: var(--art-accent); }
.edith-pager { border-top-color: #333330; text-transform: uppercase; letter-spacing: .15em; font-size: 11px; }

.art-footer__name { font-size: 28px; color: var(--art-text); }
.art-footer__label { letter-spacing: .2em; }
