/*
Theme Name: Lydia Fine Art
Theme URI: https://lydiafineart.com.au
Description: Divi child theme for Lydia Fine Art — a dark editorial gallery. Custom palette, Cormorant Garamond + JetBrains Mono typography, filterable artwork gallery, and intro film. Built on Divi.
Author: Basehost
Author URI: https://basehost.com.au
Template: Divi
Version: 1.0.0
*/

/* ============================================================
   DESIGN TOKENS — Hand & Fire, Lydia Fine Art
   ============================================================ */
:root {
  /* Derived from the reference site's exact oklch values (sRGB). */
  --lfa-bg: #0e0a08;        /* page ground  — oklch(0.15 0.008 60) */
  --lfa-section: #0a0705;   /* alt section  — oklch(0.13 0.008 60) */
  --lfa-surface: #17130f;   /* card / stage — oklch(0.19 0.01 60) */
  --lfa-ink: #ebe7e1;       /* body text    — oklch(0.93 0.01 80) */
  --lfa-muted: #a8a49e;     /* body dim     — oklch(0.72 0.01 80) */
  --lfa-label: #857f7a;     /* label / meta — oklch(0.6 0.01 60) */
  --lfa-line: #221e1c;      /* hairline     — oklch(0.24 0.008 60) */
  --lfa-accent: #c8442f;    /* accent */
  --lfa-accent-hover: #e0a58f;
  --lfa-serif: "Cormorant Garamond", Georgia, serif;
  --lfa-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --lfa-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ============================================================
   GLOBAL BASE
   ============================================================ */
body {
  background: var(--lfa-bg);
  color: var(--lfa-ink);
  font-family: var(--lfa-sans);
  -webkit-font-smoothing: antialiased;
}
#page-container { background: var(--lfa-bg); }

a { color: var(--lfa-ink); }
a:hover { color: var(--lfa-accent); }
::selection { background: var(--lfa-accent); color: #fff; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--lfa-serif);
  font-weight: 300;
  color: var(--lfa-ink);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
p, li { color: var(--lfa-ink); }
.et_pb_text, .et_pb_text_inner { color: var(--lfa-ink); }

/* Body copy in the sans, muted, measured */
.lfa-prose p { font-family: var(--lfa-sans); color: var(--lfa-muted); line-height: 1.85; font-size: 14.5px; max-width: 62ch; }

/* Mono label utility */
.lfa-eyebrow {
  font-family: var(--lfa-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: var(--lfa-muted);
}

/* ============================================================
   BUTTONS — ghost, sharp, mono, invert on hover
   ============================================================ */
.et_pb_button,
a.et_pb_button {
  font-family: var(--lfa-mono) !important;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10.5px !important;
  font-weight: 400 !important;
  color: var(--lfa-ink) !important;
  border: 1px solid var(--lfa-muted) !important;
  border-radius: 0 !important;
  padding: 15px 28px !important;
  background: transparent !important;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.et_pb_button:hover,
a.et_pb_button:hover {
  background: var(--lfa-ink) !important;
  color: var(--lfa-bg) !important;
  border-color: var(--lfa-ink) !important;
  padding: 15px 28px !important;
}
.et_pb_button:after, .et_pb_button:before { display: none !important; }

/* ============================================================
   SECTIONS / DIVIDERS
   ============================================================ */
.et_pb_section { background: var(--lfa-bg); }
.lfa-rule { border-top: 1px solid var(--lfa-line); }
.et_pb_row { }

/* Kill default rounded / shadows on common modules */
.et_pb_image img, .et_pb_blurb, .et_pb_column { border-radius: 0 !important; box-shadow: none !important; }

/* ============================================================
   HEADER / NAV — dark, sticky; sans nav (matches mockup)
   ============================================================ */
#main-header {
  background: rgba(14,10,8,0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lfa-line);
  box-shadow: none;
}
.et-fixed-header#main-header { background: rgba(14,10,8,0.92) !important; box-shadow: none !important; }

/* Full-width header — logo hugs far left, nav hugs far right (not a centred 1080px band) */
#main-header .container,
#main-header .et_menu_container {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: clamp(20px,5vw,48px) !important;
  padding-right: clamp(20px,5vw,48px) !important;
}

/* Logo — smaller, left, vertically centred */
#main-header #logo { max-height: 34px !important; width: auto !important; }
#main-header .logo_container { text-align: left; }

/* Nav items — sans, uppercase, tracked (NOT mono) */
#top-menu li a,
#et-top-navigation .et-menu li a {
  font-family: var(--lfa-sans) !important;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10.5px !important;
  color: var(--lfa-muted) !important;
  padding-bottom: 0;
}
#top-menu li a:hover,
#et-top-navigation .et-menu li a:hover { color: var(--lfa-ink) !important; opacity: 1; }
#top-menu li.current-menu-item > a { color: var(--lfa-ink) !important; }

/* Hide the header search icon entirely */
#et_top_search, #et_search_icon, .et_search_form_container { display: none !important; }

/* FILM item — separator + play triangle, like the mockup */
#top-menu li.menu-film { border-left: 1px solid var(--lfa-line); margin-left: 6px; padding-left: 22px; }
#top-menu li.menu-film a { color: var(--lfa-muted) !important; display: inline-flex; align-items: center; gap: 8px; }
#top-menu li.menu-film a:hover { color: var(--lfa-accent) !important; }
#top-menu li.menu-film a:before {
  content: ""; display: inline-block; width: 0; height: 0;
  border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent;
}

/* Mobile menu */
#main-header .mobile_nav .select_page,
.et_mobile_menu { background: var(--lfa-surface); border-color: var(--lfa-line); }
.et_mobile_menu li a { color: var(--lfa-muted) !important; font-family: var(--lfa-sans) !important; text-transform: uppercase; letter-spacing: 0.14em; }
.mobile_menu_bar:before { color: var(--lfa-ink); }

/* ============================================================
   FOOTER — hide Divi default, use custom footer
   ============================================================ */
#main-footer, #footer-bottom { display: none !important; }

.lfa-footer { background: var(--lfa-bg); }
/* Newsletter band — lighter ground, centred inner column */
.lfa-footer__news { background: #14100d; border-top: 1px solid var(--lfa-line); padding: clamp(48px,8vw,92px) clamp(20px,5vw,48px); }
.lfa-footer__news-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px),1fr)); gap: clamp(32px,5vw,80px); align-items: start; }
.lfa-footer__eyebrow { font-family: var(--lfa-mono); text-transform: uppercase; letter-spacing: 0.2em; font-size: 10px; color: var(--lfa-accent); }
.lfa-footer h2 { font-family: var(--lfa-serif); font-weight: 300; font-size: clamp(26px,3.6vw,40px); line-height: 1.14; margin: 20px 0 0; color: var(--lfa-ink); max-width: 19ch; }
.lfa-footer__news p { color: var(--lfa-muted); font-size: 14.5px; line-height: 1.85; max-width: 46ch; margin: 20px 0 0; }
.lfa-footer__sub { font-family: var(--lfa-mono); text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.9; font-size: 9px; color: var(--lfa-label); margin-top: 18px; }
/* Footer bar — page ground, full width, bottom-aligned, left-aligned copyright */
.lfa-footer__bar { border-top: 1px solid var(--lfa-line); padding: clamp(40px,7vw,60px) clamp(20px,5vw,48px); display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.lfa-footer__bar img { height: clamp(22px,1.8vw,28px); width: auto; opacity: .85; }
.lfa-footer__copy { font-family: var(--lfa-mono); text-transform: uppercase; letter-spacing: 0.14em; font-size: 9.5px; color: var(--lfa-label); line-height: 2; text-align: left; }

/* ============================================================
   GRAVITY FORMS — global (GF default CSS is disabled site-wide)
   ============================================================ */
.gform_wrapper form { margin: 0; }
.gform_wrapper .gform_fields { display: block; }
.gform_wrapper .gfield { margin: 0 0 22px; }
.gform_wrapper .gfield_label { display: block; font-family: var(--lfa-mono) !important; text-transform: uppercase; letter-spacing: 0.16em; font-size: 9px !important; color: var(--lfa-muted) !important; font-weight: 400 !important; margin-bottom: 8px; }
.gform_wrapper .gfield_required, .gform_required_legend { display: none !important; }
.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper textarea,
.gform_wrapper select {
  width: 100% !important; background: transparent !important; border: 0 !important;
  border-bottom: 1px solid var(--lfa-line) !important; border-radius: 0 !important;
  color: var(--lfa-ink) !important; font-family: var(--lfa-sans) !important; font-size: 16px !important;
  padding: 8px 0 12px !important; box-shadow: none !important; -webkit-appearance: none;
}
.gform_wrapper textarea { min-height: 110px; resize: vertical; }
.gform_wrapper input:focus, .gform_wrapper textarea:focus, .gform_wrapper select:focus { border-bottom-color: var(--lfa-accent) !important; outline: none; }
.gform_wrapper ::placeholder { color: var(--lfa-muted); opacity: .55; }
.gform_wrapper .gform_footer { margin: 24px 0 0 !important; padding: 0 !important; }
.gform_wrapper .gform_footer input[type=submit],
.gform_wrapper .gform_footer button,
.gform_wrapper input.gform_button {
  display: inline-block; width: auto !important; cursor: pointer;
  font-family: var(--lfa-mono) !important; text-transform: uppercase; letter-spacing: 0.22em; font-size: 10.5px !important;
  color: var(--lfa-ink) !important; background: transparent !important; border: 1px solid var(--lfa-muted) !important;
  border-radius: 0 !important; padding: 15px 30px !important; transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.gform_wrapper .gform_footer input[type=submit]:hover,
.gform_wrapper .gform_footer button:hover { background: var(--lfa-ink) !important; color: var(--lfa-bg) !important; border-color: var(--lfa-ink) !important; }
.gform_confirmation_message { color: var(--lfa-ink); font-family: var(--lfa-serif); font-size: 22px; font-weight: 300; }
.gform_wrapper .gfield_description.validation_message,
.gform_wrapper .gform_validation_errors { color: var(--lfa-accent) !important; font-family: var(--lfa-sans); font-size: 12px; }

/* Newsletter form is constrained in the footer */
.lfa-footer .gform_wrapper { max-width: 440px; margin: 0; }

/* ============================================================
   ROTATING HERO
   ============================================================ */
.lfa-hero2 { position: relative; width: 100%; height: min(82vh,720px); min-height: 440px; overflow: hidden; border-bottom: 1px solid var(--lfa-line); }
.lfa-hero2__stage { position: absolute; inset: 0; }
.lfa-hero2__img { position: absolute; inset: 0; display: block; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s ease; }
.lfa-hero2__img.is-active { opacity: 1; }
.lfa-hero2__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,10,8,0.96) 4%, rgba(14,10,8,0.12) 55%); pointer-events: none; }
.lfa-hero2__foot { position: absolute; left: clamp(20px,5vw,48px); right: clamp(20px,5vw,48px); bottom: clamp(20px,5vw,48px); display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(20px,4vw,48px); flex-wrap: wrap; row-gap: 26px; }
.lfa-hero2__headline { font-family: var(--lfa-serif); font-weight: 300; font-size: clamp(31px,7vw,78px); line-height: 1.05; letter-spacing: -0.01em; margin: 0; color: var(--lfa-ink); max-width: 15ch; }
.lfa-hero2__right { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; text-align: right; }
.lfa-hero2__wtitle { font-family: var(--lfa-serif); font-size: 19px; font-weight: 300; color: var(--lfa-ink); text-shadow: 0 1px 14px rgba(18,15,12,.85); }
.lfa-hero2__wmeta { font-family: var(--lfa-mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--lfa-muted); text-transform: uppercase; margin-top: 5px; text-shadow: 0 1px 10px rgba(18,15,12,.9); }

/* Shared ghost button (non-Divi) */
.lfa-ghost { display: inline-block; cursor: pointer; font-family: var(--lfa-mono); text-transform: uppercase; letter-spacing: 0.22em; font-size: 10.5px; color: var(--lfa-ink); border: 1px solid var(--lfa-muted); padding: 15px 28px; white-space: nowrap; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.lfa-ghost:hover { background: var(--lfa-ink); color: var(--lfa-bg); border-color: var(--lfa-ink); }

/* ============================================================
   ARTWORK GALLERY (custom, filterable) — styled in later step,
   base tokens here.
   ============================================================ */
.lfa-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,260px),1fr)); gap: 40px 32px; }
.lfa-card { cursor: pointer; display: block; color: inherit; }
.lfa-card__well { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--lfa-surface); overflow: hidden; }
.lfa-card__well img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lfa-card:hover .lfa-card__well { outline: 1px solid var(--lfa-accent); outline-offset: 6px; }
.lfa-card__meta { display: flex; justify-content: space-between; gap: 14px; margin-top: 16px; align-items: baseline; }
.lfa-card__title { font-family: var(--lfa-serif); font-size: 21px; font-weight: 300; line-height: 1.15; color: var(--lfa-ink); }
.lfa-card:hover .lfa-card__title { color: var(--lfa-ink); }
.lfa-card__status { font-family: var(--lfa-mono); font-size: 9px; letter-spacing: 0.14em; white-space: nowrap; color: var(--lfa-label); text-transform: uppercase; }
.lfa-card__status--available { color: var(--lfa-accent); }
.lfa-card__sub { display: block; font-size: 12px; color: var(--lfa-label); margin-top: 6px; }

/* Gallery head — heading left, filters right (matches mockup) */
.lfa-gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(20px,4vw,48px); flex-wrap: wrap; row-gap: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--lfa-line); }
.lfa-gallery-h1 { font-family: var(--lfa-serif); font-weight: 300; font-size: clamp(28px,6vw,58px); line-height: 1; margin: 0; }

/* Journal grid */
.lfa-journal { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,280px),1fr)); gap: clamp(30px,4vw,44px) clamp(24px,3vw,34px); }
.lfa-jcard { display: flex; flex-direction: column; color: inherit; cursor: pointer; }
.lfa-jcard:hover { opacity: .82; }
.lfa-jcard__img { aspect-ratio: 3 / 2; background: var(--lfa-surface); overflow: hidden; }
.lfa-jcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lfa-jcard__meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline; margin-top: 18px; font-family: var(--lfa-mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--lfa-label); text-transform: uppercase; }
.lfa-jcard__cat { color: var(--lfa-accent); }
.lfa-jcard__title { font-family: var(--lfa-serif); font-weight: 300; font-size: clamp(21px,2.4vw,25px); line-height: 1.25; margin: 12px 0 16px; color: var(--lfa-ink); }
.lfa-jcard__read { margin-top: auto; font-family: var(--lfa-mono); font-size: 9.5px; letter-spacing: 0.16em; color: var(--lfa-accent); text-transform: uppercase; }

/* Article (single post) */
.lfa-article { max-width: 860px; margin: 0 auto; padding: clamp(28px,5vw,44px) clamp(20px,5vw,48px) clamp(64px,10vw,120px); }
.lfa-article__back { font-family: var(--lfa-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lfa-label); }
.lfa-article__back:hover { color: var(--lfa-ink); }
.lfa-article__meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: baseline; margin-top: 34px; font-family: var(--lfa-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lfa-label); }
.lfa-article__meta .cat { color: var(--lfa-accent); }
.lfa-article__title { font-family: var(--lfa-serif); font-weight: 300; font-size: clamp(28px,5.4vw,52px); line-height: 1.12; margin: 18px 0 0; }
.lfa-article__img { margin-top: clamp(28px,5vw,44px); background: var(--lfa-surface); overflow: hidden; }
.lfa-article__img img { width: 100%; height: auto; display: block; }
.lfa-article__body { margin-top: clamp(28px,5vw,44px); font-size: 15.5px; line-height: 1.9; color: var(--lfa-muted); }
.lfa-article__body p { margin: 0 0 22px; }
.lfa-article__foot { margin-top: clamp(46px,7vw,70px); padding-top: 26px; border-top: 1px solid var(--lfa-line); display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; font-family: var(--lfa-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.lfa-article__foot a { color: var(--lfa-label); }
.lfa-article__foot a.enq { color: var(--lfa-accent); }

/* Filter bar */
.lfa-filters-toggle { display: none; cursor: pointer; font-family: var(--lfa-mono); text-transform: uppercase; letter-spacing: 0.16em; font-size: 10px; color: var(--lfa-muted); background: none; border: 0; border-bottom: 1px solid var(--lfa-line); padding: 0 0 3px; }
.lfa-filters { display: flex; flex-wrap: wrap; gap: 18px clamp(18px,3vw,40px); align-items: flex-start; }
.lfa-filter-group { display: flex; flex-direction: column; gap: 9px; }
.lfa-filter__group-label { font-family: var(--lfa-mono); text-transform: uppercase; font-size: 9px; color: var(--lfa-label); letter-spacing: 0.18em; }
.lfa-filter-row { display: flex; gap: 24px; flex-wrap: wrap; }
.lfa-filter { cursor: pointer; font-family: var(--lfa-mono); text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.16em; color: var(--lfa-muted); padding-bottom: 4px; border: 0; border-bottom: 1px solid transparent; background: none; }
.lfa-filter:hover { color: var(--lfa-ink); }
.lfa-filter.is-active { color: var(--lfa-ink); border-bottom-color: var(--lfa-accent); }
.lfa-count { font-family: var(--lfa-mono); text-transform: uppercase; font-size: 10px; letter-spacing: 0.16em; color: var(--lfa-label); margin: 22px 0 40px; }
@media (max-width: 980px) {
  .lfa-filters-toggle { display: inline-block; }
  .lfa-filters { display: none; width: 100%; }
  .lfa-filters.is-open { display: flex; }
  .lfa-gallery-head { align-items: baseline; }
}

/* ============================================================
   MOBILE NAV + HERO (matches the reference at <=980px)
   ============================================================ */
.lfa-burger { display: none; }
.lfa-mobnav { display: none; }
@media (max-width: 980px) {
  /* Replace Divi's dropdown with a full-screen overlay */
  #et_mobile_nav_menu, #main-header .mobile_nav { display: none !important; }
  .lfa-burger { position: fixed; top: 18px; right: clamp(20px,5vw,48px); z-index: 100001; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 46px; height: 46px; background: rgba(14,10,8,.6); border: 1px solid rgba(168,164,158,.5); border-radius: 2px; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  #lfa-film.is-open ~ .lfa-burger { display: none !important; }
  .lfa-burger span { display: block; width: 20px; height: 1px; background: var(--lfa-ink); transition: transform .28s ease, opacity .2s ease; }
  .lfa-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .lfa-burger.is-open span:nth-child(2) { opacity: 0; }
  .lfa-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .lfa-mobnav { display: flex; position: fixed; inset: 0; z-index: 100000; flex-direction: column; align-items: stretch; justify-content: center; padding: 96px clamp(24px,8vw,56px) 48px; background: #0b0806; opacity: 0; visibility: hidden; transition: opacity .28s ease; }
  .lfa-mobnav.is-open { opacity: 1; visibility: visible; }
  .lfa-mobnav__list { list-style: none; margin: 0; padding: 0; }
  .lfa-mobnav__list li { border-top: 1px solid var(--lfa-line); }
  .lfa-mobnav__list li:last-child { border-bottom: 1px solid var(--lfa-line); }
  .lfa-mobnav__list a { display: flex; align-items: center; min-height: 58px; font-family: var(--lfa-sans); text-transform: uppercase; letter-spacing: 0.24em; font-size: 15px; color: var(--lfa-ink); }
  .lfa-mobnav__list a:hover { color: var(--lfa-accent); }

  /* Header: keep a proper bar height, centre the logo, hide Divi's nav area */
  #main-header .container, #main-header .et_menu_container { display: flex !important; align-items: center; min-height: 64px; }
  #main-header .logo_container { position: static !important; height: auto !important; margin: 0 !important; width: auto; max-width: calc(100% - 80px); }
  #main-header #logo { height: 26px !important; max-height: 26px !important; width: auto !important; position: static !important; }
  #et-top-navigation { display: none !important; }
  .lfa-burger { top: 9px; }

  /* Film item in the overlay gets the play triangle */
  .lfa-mobnav__list a.lfa-mob-film:before {
    content: ""; display: inline-block; width: 0; height: 0; margin-right: 12px;
    border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  }

  /* Hero: stack headline / caption / full-width button, left-aligned */
  .lfa-hero2__foot { flex-direction: column; align-items: flex-start; gap: 22px; }
  .lfa-hero2__right { align-items: stretch; text-align: left; width: 100%; }
  .lfa-hero2__right .lfa-ghost { width: 100%; text-align: center; }
}

/* Available-now rail — scroll arrow */
.lfa-rail-wrap { position: relative; }
.lfa-rail-next {
  position: absolute; top: 38%; right: 6px; z-index: 4; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--lfa-muted); background: rgba(14,10,8,.86); color: var(--lfa-ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .25s ease, background .25s ease;
}
.lfa-rail-next:hover { background: rgba(23,19,15,.96); border-color: var(--lfa-ink); }

/* Rail variant (home "Available now") */
.lfa-gallery--rail { display: flex; grid-template-columns: none; overflow-x: auto; gap: 28px; padding-bottom: 20px; scroll-snap-type: x mandatory; }
.lfa-gallery--rail .lfa-card { flex: 0 0 min(72vw, 320px); scroll-snap-align: start; }

/* ============================================================
   SINGLE ARTWORK
   ============================================================ */
.lfa-single { max-width: 1500px; margin: 0 auto; padding: 40px clamp(20px,5vw,48px) clamp(64px,10vw,120px); }
.lfa-single__back { font-family: var(--lfa-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lfa-muted); }
.lfa-single__back:hover { color: var(--lfa-ink); }
.lfa-single__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,320px),1fr)); gap: clamp(34px,6vw,80px); margin-top: 30px; align-items: start; }
/* Three-view viewer */
.lfa-viewer { display: flex; flex-direction: column; gap: 14px; }
.lfa-stage { position: relative; width: 100%; aspect-ratio: 1376 / 768; overflow: hidden; background: var(--lfa-surface); }
.lfa-stage__room { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.lfa-stage__art { position: absolute; left: 50%; top: 50%; height: 86%; transform: translate(-50%,-50%); }
.lfa-stage__art img { display: block; height: 100%; width: auto; max-width: none; filter: drop-shadow(0 14px 26px rgba(12,10,9,0.42)) drop-shadow(0 2px 4px rgba(12,10,9,0.34)); }
.lfa-stage__fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; pointer-events: none; }
.lfa-scalenote { visibility: hidden; min-height: 12px; font-family: var(--lfa-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lfa-muted); }
.lfa-tabs { display: flex; gap: 6px; }
.lfa-tab { flex: 1 1 0; cursor: pointer; font-family: var(--lfa-mono); font-size: 9.5px; letter-spacing: clamp(0.04em,0.5vw,0.14em); text-transform: uppercase; padding: 10px clamp(6px,2.4vw,15px); border: 1px solid var(--lfa-line); background: transparent; color: var(--lfa-muted); text-align: center; white-space: nowrap; }
.lfa-tab:hover { color: var(--lfa-ink); }
.lfa-tab.is-active { color: var(--lfa-ink); border-color: var(--lfa-muted); }
.lfa-tab.is-disabled { opacity: .4; cursor: not-allowed; }
.lfa-chooser { border-top: 1px solid var(--lfa-line); padding-top: 16px; }
.lfa-chooser__label { font-family: var(--lfa-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lfa-label); margin-bottom: 12px; }
.lfa-swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.lfa-swatch { width: 30px; height: 30px; border: 1px solid var(--lfa-line); cursor: pointer; padding: 0; }
.lfa-swatch.is-active { outline: 2px solid var(--lfa-accent); outline-offset: 2px; }
.lfa-rooms { display: flex; flex-wrap: wrap; gap: 8px; }
.lfa-room { cursor: pointer; font-family: var(--lfa-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 9px 14px; border: 1px solid var(--lfa-line); background: transparent; color: var(--lfa-muted); }
.lfa-room:hover { border-color: var(--lfa-accent); color: var(--lfa-ink); }
.lfa-room.is-active { border-color: var(--lfa-accent); color: var(--lfa-ink); }
.lfa-room.is-dim { opacity: .38; }
.lfa-fitnote { font-size: 12.5px; line-height: 1.7; color: var(--lfa-accent); max-width: 60ch; }
.lfa-single__info { position: sticky; top: 120px; align-self: start; }
.lfa-single__status { font-family: var(--lfa-mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lfa-accent); }
.lfa-single__status.is-sold { color: var(--lfa-muted); }
.lfa-single__title { font-family: var(--lfa-serif); font-weight: 300; font-size: clamp(28px,6vw,56px); line-height: 1.05; margin: 16px 0 0; }
.lfa-single__facts { margin-top: 30px; border-top: 1px solid var(--lfa-line); }
.lfa-single__row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--lfa-line); font-size: 13px; }
.lfa-single__row span:first-child { color: var(--lfa-muted); }
.lfa-single__note { margin: 30px 0 0; font-size: 14px; line-height: 1.85; color: var(--lfa-muted); }
.lfa-single__cta { margin-top: 34px; }

/* ============================================================
   ARCHIVE / PAGE HEADERS
   ============================================================ */
.lfa-pagehead { max-width: 1600px; margin: 0 auto; padding: clamp(40px,7vw,70px) clamp(20px,5vw,48px) 0; }
.lfa-pagehead h1 { font-family: var(--lfa-serif); font-weight: 300; font-size: clamp(28px,6vw,58px); line-height: 1; margin: 0; }
.lfa-archive-wrap { max-width: 1600px; margin: 0 auto; padding: 30px clamp(20px,5vw,48px) clamp(64px,10vw,120px); }

/* ============================================================
   COMPOSITION — home + shared sections
   ============================================================ */
/* Hero */
.lfa-hero.et_pb_section { display: flex; align-items: flex-end; min-height: min(82vh,720px); border-bottom: 1px solid var(--lfa-line); }
.lfa-hero.et_pb_section > .et_pb_row { width: 90%; max-width: 1600px; }
.lfa-hero h1 { font-size: clamp(31px,7vw,78px) !important; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
.lfa-hero .et_pb_button_module_wrapper { margin-top: 26px; }

/* Section rhythm + rules */
.lfa-sec.et_pb_section { padding-top: clamp(56px,9vw,104px); padding-bottom: clamp(56px,9vw,104px); }
.lfa-rule-top.et_pb_section { border-top: 1px solid var(--lfa-line); }

/* Big serif statement */
.lfa-statement { font-family: var(--lfa-serif); font-weight: 300; font-size: clamp(20px,3.2vw,34px); line-height: 1.42; color: var(--lfa-ink); }
.lfa-statement p { color: var(--lfa-ink) !important; }

/* Eyebrow inside Divi text */
.lfa-mono, .lfa-mono p { font-family: var(--lfa-mono) !important; text-transform: uppercase; letter-spacing: 0.18em; font-size: 10px !important; color: var(--lfa-muted) !important; }

/* Section heading (serif, medium) */
.lfa-h2 h2, .lfa-h2 { font-family: var(--lfa-serif); font-weight: 300; font-size: clamp(24px,4.2vw,40px) !important; line-height: 1.1; color: var(--lfa-ink); }

/* Muted body text block */
.lfa-body, .lfa-body p { color: var(--lfa-muted) !important; font-family: var(--lfa-sans) !important; line-height: 1.85; font-size: 14.5px; }

/* Collections grid */
.lfa-collections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,260px),1fr)); gap: 0; border-top: 1px solid var(--lfa-line); }
.lfa-collections a { display: grid; align-content: start; gap: 10px; padding: clamp(30px,5vw,50px) clamp(20px,4vw,36px); min-height: clamp(180px,26vw,260px); background: var(--lfa-bg); border-right: 1px solid var(--lfa-line); border-bottom: 1px solid var(--lfa-line); color: inherit; transition: background .3s ease; }
.lfa-collections a:hover { background: var(--lfa-surface); }
.lfa-collections .c-eyebrow { font-family: var(--lfa-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--lfa-muted); text-transform: uppercase; }
.lfa-collections .c-name { font-family: var(--lfa-serif); font-weight: 300; font-size: clamp(28px,5vw,40px); line-height: 1; margin-top: 26px; }
.lfa-collections .c-go { margin-top: auto; font-family: var(--lfa-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--lfa-accent); text-transform: uppercase; }

/* Section head row (title + link) */
.lfa-sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-top: 1px solid var(--lfa-line); padding-top: 26px; margin-bottom: 34px; }
.lfa-sechead .lnk { font-family: var(--lfa-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--lfa-muted); text-transform: uppercase; }
.lfa-sechead .lnk:hover { color: var(--lfa-ink); }

/* Mobile */
@media (max-width: 980px){
  .lfa-single__info{ position: static; }
}
