/*
Theme Name: EP Leighton
Theme URI: http://127.0.0.1:8765/
Author: European Painting & Co
Description: Custom bilingual theme for European Painting & Co. Homepage keeps the gallery's navy opening page. Inner pages use a warm paper layout. Not derived from any third-party theme.
Version: 1.4.27
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: ep-leighton
*/

@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/cinzel-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/cinzel.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cinzel.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/marcellus-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/marcellus.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: lino;
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url("assets/font/FRSCRIPT.ttf") format("truetype");
}

:root {
  --paper: #fdfdf3;
  --gold: #B8902A;
  --ink: #2E2B28;
  --navy: #00001a;
  --card: #bfa374;
  --line: rgba(184, 144, 42, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Marcellus", "Palatino Linotype", Palatino, serif;
  font-size: 1.15rem;
  line-height: 1.55;
}

/* If WP left an admin-bar html margin but the bar is absent, drop it. */
html:not(:has(#wpadminbar)) {
  margin-top: 0 !important;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold); }
button, input, textarea { font: inherit; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.wrap-wide { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }

/* Homepage — full-bleed EP opening (identity preserved) */
body.ep-home {
  background-color: var(--navy);
  background-image: var(--ep-bg);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 100vh;
}

/* Opening stack: soft top veil for contrast without crushing the photo */
.home-opening {
  position: relative;
  isolation: isolate;
  padding: 0 0 8px;
  min-height: min(72vh, 720px);
  display: flex;
  flex-direction: column;
}
.home-opening__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 26, 0.82) 0%,
      rgba(0, 0, 26, 0.62) 22%,
      rgba(0, 0, 26, 0.38) 48%,
      rgba(0, 0, 26, 0.16) 72%,
      rgba(0, 0, 26, 0.04) 88%,
      rgba(0, 0, 26, 0) 100%),
    radial-gradient(ellipse 95% 60% at 50% 8%,
      rgba(0, 0, 26, 0.55) 0%,
      transparent 72%);
}

.home-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 36px 4px;
  z-index: 1;
}
.home-brand {
  text-align: center;
  flex: 1;
  padding-top: 4px;
}
.home-brand__logo {
  width: 104px;
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 26, 0.65)) drop-shadow(0 0 24px rgba(0, 0, 26, 0.25));
}
.wordmark {
  margin: 10px 0 0;
  font-family: lino, "Palatino Linotype", serif;
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: normal;
  letter-spacing: 0.02em;
  color: #B8902A;
  text-shadow:
    0 1px 2px rgba(0, 0, 26, 0.65),
    0 8px 28px rgba(0, 0, 26, 0.45);
  line-height: 1.15;
}
.home-brand__tagline {
  display: block;
  margin-top: 8px;
  font-family: "Cinzel", serif;
  font-size: clamp(11px, 1.35vw, 14px);
  letter-spacing: 0.14em;
  line-height: 1.35;
  color: #B8902A;
  text-shadow: 0 1px 2px rgba(0, 0, 26, 0.55);
  white-space: nowrap;
}
.home-brand__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px auto 0;
  width: min(220px, 55%);
}
.home-brand__rule::before,
.home-brand__rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 144, 42, 0.75), transparent);
}
.home-brand__rule i {
  display: block;
  width: 7px;
  height: 7px;
  background: #B8902A;
  transform: rotate(45deg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.home-flag {
  flex-shrink: 0;
  margin-top: 8px;
  padding: 3px;
  border: 1px solid rgba(184, 144, 42, 0.45);
  background: rgba(0, 0, 26, 0.35);
  backdrop-filter: blur(4px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.home-flag:hover,
.home-flag[aria-current="true"] {
  border-color: #B8902A;
  box-shadow: 0 0 0 1px rgba(184, 144, 42, 0.35), 0 6px 18px rgba(0, 0, 26, 0.4);
}
.home-flag:hover { transform: translateY(-1px); }
.home-flag img {
  width: 46px;
  height: auto;
  display: block;
}

.home-nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 32px;
  padding: 22px 24px 8px;
}
.home-nav a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 8px 2px 12px;
  text-shadow: 0 1px 4px rgba(0, 0, 26, 0.75), 0 0 18px rgba(0, 0, 26, 0.35);
  transition: color 0.2s ease;
}
.home-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: #B8902A;
  transform: translateX(-50%);
  transition: width 0.28s ease;
}
.home-nav a:hover,
.home-nav a:focus-visible {
  color: #fff;
}
.home-nav a:hover::after,
.home-nav a:focus-visible::after {
  width: 100%;
}

.home-hero-intro {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px 20px 36px;
  margin-top: auto;
}
.home-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  margin-bottom: 22px;
}
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 15px 42px;
  border: 1px solid #B8902A;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(0, 0, 26, 0.62) 0%, rgba(0, 0, 26, 0.82) 100%);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: "Cinzel", serif;
  font-size: 13px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 10px 28px rgba(0, 0, 26, 0.35);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.home-btn span { display: block; }
.home-btn:hover,
.home-btn:focus-visible {
  color: #00001a;
  background: linear-gradient(180deg, #d4b45a 0%, #B8902A 100%);
  border-color: #B8902A;
  box-shadow: 0 12px 32px rgba(0, 0, 26, 0.4);
  transform: translateY(-2px);
}
.home-hero-intro h1 {
  margin: 0 auto;
  max-width: min(94vw, 56rem);
  font-family: "Marcellus", "Palatino Linotype", Palatino, serif;
  font-weight: normal;
  font-size: clamp(1.35rem, 2.55vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 26, 0.7),
    0 10px 32px rgba(0, 0, 26, 0.5);
}
/* Keep FR/EN hero tagline on one line on desktop; allow wrap on narrow screens. */
@media (min-width: 780px) {
  .home-hero-intro h1 {
    white-space: nowrap;
    max-width: none;
  }
}
@media (max-width: 779px) {
  .home-hero-intro h1 {
    white-space: normal;
    max-width: min(94vw, 28rem);
    text-wrap: balance;
  }
}

.home-hero { text-align: center; padding: 8px 16px 48px; }
.home-grid {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: stretch;
  text-align: left;
}
.home-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  color: #1c1814;
  text-decoration: none;
  border-radius: 2px;
  background:
    linear-gradient(165deg, rgba(253, 251, 246, 0.93) 0%, rgba(244, 238, 226, 0.9) 100%);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid rgba(184, 144, 42, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 14px 32px rgba(0, 0, 26, 0.32);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}
.home-card:hover,
.home-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(184, 144, 42, 0.75);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 22px 44px rgba(0, 0, 26, 0.42),
    0 0 0 1px rgba(184, 144, 42, 0.2);
  outline: none;
}
.home-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 5 / 6;
  background: #16140f;
}
.home-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.home-card:hover .home-card__media img,
.home-card:focus-visible .home-card__media img {
  transform: scale(1.06);
}
.home-card__frame {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(184, 144, 42, 0.0);
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.4s ease, inset 0.4s ease;
}
.home-card:hover .home-card__frame,
.home-card:focus-visible .home-card__frame {
  border-color: rgba(212, 180, 90, 0.55);
}
.home-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, rgba(253, 251, 246, 0.55) 0%, rgba(253, 251, 246, 0.92) 100%);
}
.home-card__artist {
  display: block;
  margin: 0;
  padding: 0;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2e2b28;
  line-height: 1.35;
}
.home-card__rule {
  display: block;
  width: 22px;
  height: 1px;
  margin: 10px 0 9px;
  background: #B8902A;
  opacity: 0.85;
}
.home-card__title {
  display: block;
  margin: 0;
  padding: 0 0 12px;
  font-family: "Marcellus", serif;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.4;
  color: #5c564e;
}
.home-card__cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 0 0 2px;
  border: 0;
  font-style: normal;
  font-family: "Cinzel", serif;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #B8902A;
  position: relative;
}
.home-card__cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #B8902A;
  transition: width 0.35s ease;
}
.home-card:hover .home-card__cta,
.home-card:focus-visible .home-card__cta {
  color: #8c6a16;
}
.home-card:hover .home-card__cta::after,
.home-card:focus-visible .home-card__cta::after {
  width: 100%;
}
.home-shipping {
  padding: 8px 20px 28px;
  text-align: center;
}
.home-shipping__label {
  margin: 0 0 18px;
  font-family: "Cinzel", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4A90D9;
}
.home-shipping__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 40px;
}
.home-shipping__item {
  margin: 0;
  line-height: 0;
}
.home-shipping__item a,
.home-shipping__item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  text-decoration: none;
  color: rgba(245, 240, 230, 0.72);
  transition: color 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}
.home-shipping__item img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(0.15) brightness(1.05);
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}
.home-shipping__text {
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.home-shipping__item a:hover img,
.home-shipping__item a:focus-visible img {
  opacity: 1;
  filter: grayscale(0) sepia(0.35) saturate(1.35) hue-rotate(2deg) brightness(1.08);
  transform: translateY(-1px);
}
.home-shipping__item a:hover,
.home-shipping__item a:focus-visible {
  color: #B8902A;
}
.home-shipping__item a:focus-visible {
  outline: 1px solid rgba(184, 144, 42, 0.7);
  outline-offset: 4px;
}
@media (max-width: 640px) {
  .home-shipping { padding: 4px 16px 22px; }
  .home-shipping__label { font-size: 15px; letter-spacing: 0.14em; }
  .home-shipping__list { gap: 14px 24px; }
  .home-shipping__item img { height: 24px; max-width: 110px; }
}

.home-foot {
  background: rgba(0, 0, 26, 0.82);
  padding: 36px 20px 48px;
  text-align: center;
}
.home-foot p { white-space: pre-line; margin: 0 auto 18px; max-width: 40em; }
.home-address { font-size: 0.95rem; }
.home-address a { color: #fff; }

/* Inner pages. Homepage rules above are left untouched. */
body.ep-inner { background: var(--paper); color: var(--ink); }

.topbar {
  background: #2E2B28;
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.topbar-side { display: flex; align-items: center; gap: 24px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.lang-flags { display: flex; gap: 10px; align-items: center; }
.lang-flags img { width: 22px; height: 15px; object-fit: cover; display: block; }
.lang-flags a { line-height: 0; opacity: 0.45; }
.lang-flags a.is-active, .lang-flags a:hover { opacity: 1; }

.head-shell { position: relative; background: #C8C4BE; }
.head-row {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.center-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  margin: 12px 18px;
  padding: 16px 22px 12px;
  background: #1C1814;
  border-radius: 50% 50% 0 0;
  text-align: center;
  text-decoration: none;
  color: #f4efe6;
}
.center-logo img { width: 54px; height: auto; display: block; }
.logo-name {
  display: block;
  margin-top: 7px;
  font-family: "Cinzel", serif;
  letter-spacing: 0.16em;
  font-size: 9px;
  line-height: 1.35;
  text-transform: uppercase;
  color: #B8902A;
}
.logo-tagline {
  display: block;
  margin-top: 3px;
  font-family: "Cinzel", serif;
  letter-spacing: 0.12em;
  font-size: 7.5px;
  line-height: 1.3;
  text-transform: none;
  color: #B8902A;
  white-space: nowrap;
}
.split-nav { display: flex; flex-wrap: wrap; align-items: center; }
.split-nav.right { justify-content: flex-end; }
.split-nav a {
  display: block;
  padding: 18px 16px;
  color: #000;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.split-nav a:hover, .split-nav a.is-current { color: #B8902A; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none;
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  font-family: "Cinzel", serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid #2E2B28;
  padding: 6px 12px;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
}

.page { padding: 0; }
.page-head {
  text-align: center;
  padding: 64px 28px 36px;
  background: #E8E4DE;
}
.page-title {
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: #2E2B28;
  margin: 0;
}
.gold-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: auto;
  height: auto;
  margin: 18px auto 0;
  border: 0;
  background: none;
}
.gold-rule span { display: block; height: 1px; width: 64px; background: rgba(184, 144, 42, 0.5); }
.gold-rule i { display: block; width: 6px; height: 6px; background: #B8902A; transform: rotate(45deg); }
.page-lede, .lede {
  width: min(720px, calc(100% - 48px));
  margin: 22px auto 0;
  font-size: 18px;
  line-height: 1.6;
  color: #2E2B28;
}
.prose {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 8px;
  text-align: left;
}
.prose p { margin: 0 0 20px; white-space: pre-line; font-size: 18.5px; line-height: 1.75; text-align: left; }
.prose.ep-bio p { white-space: normal; margin: 0 0 1.15em; }
.prose.ep-bio p:last-child { margin-bottom: 0; }
/* Product description — normalized paragraphs (1.4.25); no pre-line scrape gaps */
.prose.ep-work-desc { text-align: left; }
.prose.ep-work-desc p { white-space: normal; margin: 0 0 1em; text-align: left; }
.prose.ep-work-desc p:last-child { margin-bottom: 0; }
.prose.ep-work-desc p.ep-desc-label {
  margin: 1.15em 0 0.35em;
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #B8902A;
}
.prose.ep-work-desc p.ep-desc-conditions { margin-top: 1.15em; }
.detail-copy .prose.ep-work-desc { width: 100%; padding: 8px 0 0; }
.detail-copy .prose.ep-work-desc p { font-size: 16px; line-height: 1.8; }
.section-label {
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #B8902A;
  text-align: center;
  margin: 0 0 18px;
}

.filter-bar {
  width: min(1040px, calc(100% - 48px));
  margin: 36px auto 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.filter-bar__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 8px;
  max-width: 100%;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid rgba(46, 43, 40, 0.14);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: "Cinzel", serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.filter-chip:hover {
  color: var(--gold);
  border-color: rgba(184, 144, 42, 0.55);
  background: rgba(184, 144, 42, 0.06);
}
.filter-chip.is-current {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(184, 144, 42, 0.09);
  box-shadow: inset 0 -1px 0 rgba(184, 144, 42, 0.35);
}
.filter-bar__divider {
  width: min(280px, 42%);
  height: 1px;
  margin: 26px auto 22px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(184, 144, 42, 0.55) 18%,
    rgba(184, 144, 42, 0.55) 82%,
    transparent 100%
  );
  position: relative;
}
.filter-bar__divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -3px 0 0 -3px;
  border: 1px solid var(--gold);
  background: var(--paper);
  transform: rotate(45deg);
  box-sizing: border-box;
}
.filter-bar__search {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  width: min(440px, 100%);
}
.filter-bar__search input[type="search"] {
  flex: 1 1 220px;
  min-width: 0;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgba(46, 43, 40, 0.18);
  border-right: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Marcellus", serif;
  font-size: 15px;
  letter-spacing: 0.02em;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.filter-bar__search input[type="search"]::placeholder {
  color: #9A9288;
  opacity: 1;
}
.filter-bar__search input[type="search"]::-webkit-search-decoration,
.filter-bar__search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.filter-bar__search input[type="search"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(184, 144, 42, 0.35);
  z-index: 1;
}
.filter-bar__submit {
  flex: 0 0 auto;
  margin: 0;
  padding: 12px 22px;
  border: 1px solid #1C1814;
  background: #1C1814;
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-bar__submit:hover,
.filter-bar__submit:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: #1C1814;
  outline: none;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 560px) {
  .filter-chip {
    padding: 7px 12px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .filter-bar__search {
    width: 100%;
    flex-direction: column;
  }
  .filter-bar__search input[type="search"] {
    border-right: 1px solid rgba(46, 43, 40, 0.18);
    width: 100%;
  }
  .filter-bar__search input[type="search"]:focus {
    border-right-color: var(--gold);
  }
  .filter-bar__submit {
    width: 100%;
    text-align: center;
  }
}
.results-count {
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8A8178;
  margin: 18px 0 0;
}
.artist-filter {
  width: min(1000px, calc(100% - 48px));
  margin: 8px auto 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
}
.artist-filter a {
  color: #2E2B28;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.artist-filter a:hover { color: #B8902A; }

.work-grid {
  width: min(1200px, calc(100% - 64px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 18px;
  align-items: stretch;
}
.work-grid--4 { grid-template-columns: repeat(4, 1fr); width: min(1280px, calc(100% - 48px)); }
.work-card {
  color: var(--ink);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(184, 144, 42, 0.28);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(46, 43, 40, 0.08);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 144, 42, 0.55);
  box-shadow: 0 18px 36px rgba(46, 43, 40, 0.14);
}
.work-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 4/3 fits typical landscape catalogue works; avoids tall cream letterbox bands */
  aspect-ratio: 4 / 3;
  height: auto;
  background: #f4f1ea;
  overflow: hidden;
  text-decoration: none;
}
.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  background: rgba(0, 0, 26, 0.78);
  color: #fff;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.work-card:hover .work-card__hover, .work-card__media:focus-visible .work-card__hover { opacity: 1; }
.work-card__view {
  color: #d4b45a;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  position: relative;
}
.work-card__view::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  margin: 10px auto 0;
  background: #B8902A;
}
.work-card__text {
  text-align: left;
  margin-top: 0;
  padding: 16px 16px 18px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.work-card__artist {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2E2B28;
  text-decoration: none;
}
.work-card__artist:hover { color: #B8902A; }
.work-card__title {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(184, 144, 42, 0.28);
  font-family: "Marcellus", serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.4;
  color: #5c564e;
  text-decoration: none;
}
.work-card__title:hover { color: #B8902A; }

.artists-frame {
  width: min(1100px, calc(100% - 48px));
  margin: 36px auto 0;
  padding: 30px;
  border: 5px solid #E8E4DE;
}
.artist-mosaic { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.artist-tile, .letter-tile { width: 150px; height: 150px; position: relative; }
.artist-tile {
  display: block;
  overflow: hidden;
  background: #C8C4BE;
  text-decoration: none;
  color: #2E2B28;
}
.artist-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.artist-tile span, .artist-tile em {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.62);
  font-family: "Cinzel", serif;
  font-style: normal;
  font-size: 14px;
  line-height: 1.15;
  text-align: center;
  color: #2E2B28;
}
.artist-tile--plain span { height: 100%; background: rgba(253, 253, 243, 0.92); }
.letter-tile {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
  background: #FDFDF3;
  border: 1px solid #B8902A;
  color: #B8902A;
  font-family: "Cinzel", serif;
  font-size: 72px;
  line-height: 0.8;
  text-transform: uppercase;
}

.band {
  background: #2E2B28;
  color: #fff;
  text-align: center;
  padding: 36px 24px 28px;
}
.band h1 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.band .gold-rule span { background: rgba(255, 255, 255, 0.45); }
.band-photo { position: relative; min-height: 280px; display: flex; align-items: center; justify-content: center; background: #2E2B28 center/cover no-repeat; }
.band-photo .band-shade { position: absolute; inset: 0; background: rgba(18, 14, 10, 0.42); }
.band-photo .band-copy { position: relative; z-index: 1; text-align: center; padding: 48px 20px; }

.detail {
  width: min(1400px, calc(100% - 64px));
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
/* min-width:0 — stop Autres vues max-content track from blowing out the grid column */
.detail > * { min-width: 0; max-width: 100%; }
.detail-photo {
  background: #E8E4DE;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.detail-photo img {
  width: auto;
  max-width: 100%;
  max-height: 640px;
  height: auto;
  object-fit: contain;
  display: block;
}
.thumb-block { margin-top: 28px; overflow: hidden; max-width: 100%; }
.thumb-label {
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #B8902A;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
/* Autres vues — slow right→left marquee (matches old europeanpainting.fr product_slider) */
.thumbs.ep-thumb-slider {
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
}
.ep-thumb-track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}
.ep-thumb-slider.is-ready .ep-thumb-track {
  animation: ep-thumb-scroll 30s linear infinite;
}
.ep-thumb-slider:hover .ep-thumb-track,
.ep-thumb-slider:focus-within .ep-thumb-track {
  animation-play-state: paused;
}
.ep-thumb-slider.is-static {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ep-thumb-slider.is-static .ep-thumb-track {
  animation: none;
}
.thumbs.ep-thumb-slider button {
  padding: 0;
  border: 2px solid transparent;
  background: #D8D4CE;
  cursor: pointer;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  aspect-ratio: 1;
  overflow: hidden;
}
.thumbs.ep-thumb-slider button.is-on,
.thumbs.ep-thumb-slider button:hover,
.thumbs.ep-thumb-slider button:focus-visible {
  border-color: #B8902A;
  outline: none;
}
.thumbs.ep-thumb-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
@keyframes ep-thumb-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ep-thumb-slider.is-ready .ep-thumb-track { animation: none; }
  .ep-thumb-slider { overflow-x: auto; }
}
.detail-copy { text-align: center; padding-top: 8px; }
.detail-copy h1 {
  margin: 0 0 12px;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 0.08em;
  text-transform: none;
  text-align: center;
}
.detail-artist {
  display: block;
  margin-bottom: 18px;
  font-family: "Cinzel", serif;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2E2B28;
  text-decoration: none;
}
.detail-artist:hover { color: #B8902A; }
.detail-copy .prose { width: 100%; padding: 8px 0 0; text-align: left; }
.detail-copy .prose p { font-size: 16px; line-height: 1.8; }
.facts { width: 100%; border-collapse: collapse; margin: 22px 0 0; text-align: left; font-family: "Marcellus", serif; }
.facts tr { border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.facts th, .facts td { padding: 13px 0; font-weight: 400; font-size: 15px; line-height: 1.6; vertical-align: top; }
.facts th { width: 150px; padding-right: 16px; font-size: 13px; letter-spacing: 0.06em; color: #B8902A; text-align: left; }
.price-line {
  margin: 24px 0;
  padding: 28px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-family: "Cinzel", serif;
  font-size: 26px;
  letter-spacing: 0.08em;
  color: #B8902A;
}
.note {
  background: transparent;
  border: 0;
  border-left: 0;
  padding: 0;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #8A8178;
}
.btn {
  display: block;
  width: 100%;
  margin-top: 22px;
  padding: 16px;
  background: #1C1814;
  color: #B8902A;
  border: 1px solid #1C1814;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: #B8902A; color: #1C1814; border-color: #B8902A; }
.related {
  margin-top: 36px;
  margin-bottom: 0;
  padding: 28px 0 0;
  background: #E8E4DE;
}
.related .work-grid {
  margin: 28px auto 0;
  padding: 0 0 32px;
}
/* No blank paper band between last content and footer */
main.page,
.page,
.content-page {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.site-footer { margin-top: 0 !important; }
body.ep-home .home-shipping { padding-bottom: 36px; }
body.ep-home .site-footer {
  background: #2E2B28;
  border-top: 1px solid rgba(184, 144, 42, 0.15);
}
.related h2 {
  margin: 0;
  text-align: center;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.service-list { width: min(760px, calc(100% - 48px)); margin: 36px auto 0; }
.service {
  margin: 0 0 22px;
  padding: 28px 8px 8px;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.service h2 {
  margin: 0 0 12px;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B8902A;
}
.service p { white-space: pre-line; font-size: 17px; line-height: 1.75; }
.service .btn { display: inline-block; width: auto; margin: 8px 8px 0 0; padding: 13px 22px; }

.contact-layout {
  width: min(680px, calc(100% - 48px));
  margin: 0 auto;
  padding: 46px 0 0;
  text-align: center;
}
.contact-layout h2 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #B8902A;
}
.loc {
  margin: 28px auto;
  padding: 28px 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.loc strong {
  display: block;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.loc em {
  display: block;
  margin: 8px 0 12px;
  font-family: "Cinzel", serif;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #B8902A;
}
.loc p { margin: 0; font-size: 16px; line-height: 1.7; color: rgba(28, 24, 20, 0.7); }
.loc a { color: #2E2B28; }
.form { text-align: left; margin-top: 8px; }
.form label { display: block; margin: 0 0 16px; }
.form span {
  display: block;
  margin-bottom: 8px;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2E2B28;
}
.form input, .form textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
  padding: 12px 14px;
  color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: 1px solid #B8902A; border-color: #B8902A; }

.site-footer {
  background: #2E2B28;
  color: #fff;
  font-family: "Cinzel", serif;
  padding: 48px;
  border-top: 1px solid rgba(184, 144, 42, 0.15);
}
.foot-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.site-footer h2 {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #B8902A;
  margin: 0 0 14px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #B8902A; }
.site-footer p, .site-footer li { font-family: "Marcellus", serif; font-size: 14px; letter-spacing: 0.04em; line-height: 1.55; margin: 0; }
.site-footer p + p { margin-top: 0.35em; }
.site-footer .foot-contact { margin: 0; line-height: 1.55; }
.site-footer .foot-legal { display: inline; white-space: nowrap; letter-spacing: 0.02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0; line-height: 1.7; }
.site-footer .blurb { white-space: pre-line; }
.foot-bar {
  width: min(1200px, 100%);
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 4px;
}
.copy { text-align: center; margin: 0; font-family: "Cinzel", serif; font-size: 11px; letter-spacing: 0.12em; opacity: 0.75; }
/* Homepage uses the same four-column site-footer (1.4.20); keep legacy .home-foot inert if cached HTML appears. */
.home-foot { display: none; }
.empty { text-align: center; padding: 28px; }

@media (max-width: 1100px) {
  .work-grid, .work-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .detail { gap: 36px; }
}
@media (max-width: 980px) {
  .home-grid { grid-template-columns: repeat(2, 1fr); }
  .wordmark { font-size: 36px; }
  .home-brand__logo { width: 80px; }
  .home-nav { gap: 4px 22px; padding-inline: 16px; }
  .home-opening { min-height: min(68vh, 640px); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .home-grid, .work-grid, .work-grid--4, .foot-grid, .detail { grid-template-columns: 1fr; }
  .nav-burger { display: inline-block; }
  .head-row { grid-template-columns: 1fr; justify-items: center; padding: 48px 16px 12px; }
  .split-nav, .split-nav.right { display: none; justify-content: center; }
  .head-shell:has(.nav-toggle:checked) .split-nav { display: flex; }
  .topbar { flex-direction: column; text-align: center; padding: 10px 16px; }
  .topbar-side { flex-direction: column; gap: 8px; }
  .home-top { padding: 18px 14px 4px; gap: 10px; }
  .home-brand__logo { width: 68px; }
  .wordmark { font-size: 28px; }
  .home-brand__tagline { font-size: 10px; letter-spacing: 0.1em; white-space: normal; }
  .home-flag img { width: 38px; }
  .home-nav { gap: 2px 14px; padding: 16px 12px 4px; }
  .home-nav a { font-size: 11px; letter-spacing: 0.14em; }
  .home-hero-ctas { gap: 10px 12px; }
  .home-btn { padding: 12px 22px; letter-spacing: 0.12em; font-size: 11px; }
  .home-opening { min-height: auto; padding-bottom: 12px; }
  .home-hero-intro { padding: 20px 16px 28px; }
  .page-title { font-size: 24px; }
  .detail, .work-grid { width: min(100% - 32px, 1200px); }
  .site-footer { padding: 32px 24px; }
}

/* Sticky header (inner pages), condensing past 80px of scroll like the reference site. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-condensed {
  position: fixed;
  left: 0;
  right: 0;
  box-shadow: 0 2px 12px rgba(28, 24, 20, 0.18);
}
body.ep-header-condensed { padding-top: var(--ep-header-h, 0px); }
.site-header.is-condensed .topbar {
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: 12px;
}
.site-header.is-condensed .center-logo {
  margin-top: 6px;
  margin-bottom: 6px;
  padding-top: 6px;
  padding-bottom: 7px;
}
.site-header.is-condensed .center-logo img { width: 34px; }
.site-header.is-condensed .logo-name { margin-top: 4px; }
.site-header.is-condensed .logo-tagline { margin-top: 2px; font-size: 6.5px; }
@media (prefers-reduced-motion: no-preference) {
  .site-header .topbar { transition: padding 0.3s ease, font-size 0.3s ease; }
  .site-header .center-logo { transition: margin 0.3s ease, padding 0.3s ease, border-radius 0.3s ease; }
  .site-header .center-logo img { transition: width 0.3s ease; }
  .site-header .logo-name { transition: margin 0.3s ease; }
  .site-header .head-row { transition: padding 0.3s ease; }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  /* The WP admin bar scrolls away on small screens. */
  .admin-bar .site-header { top: 0; }
}
@media (max-width: 720px) {
  .site-header.is-condensed { max-height: 100vh; overflow-y: auto; }
  .site-header.is-condensed .topbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 4px 16px;
  }
  .site-header.is-condensed .topbar-side { flex-direction: row; gap: 12px; }
  .site-header.is-condensed .topbar-side > span:not(.lang-flags) { display: none; }
  .site-header.is-condensed .head-row { padding-top: 6px; padding-bottom: 6px; }
  .site-header.is-condensed .center-logo { margin: 0; }
  .site-header.is-condensed .center-logo img { width: 36px; }
  .site-header.is-condensed .nav-burger { top: 50%; transform: translateY(-50%); }
  .site-header.is-condensed .head-shell:has(.nav-toggle:checked) .nav-burger { top: 14px; transform: none; }
  .site-header.is-condensed .head-shell:has(.nav-toggle:checked) .head-row { padding-top: 48px; }
}


/* Price enquiry */
.enquiry-cta { margin-top: 8px; }
.enquiry-wrap {
  width: min(960px, calc(100% - 48px));
  margin: 28px auto 0;
}
.enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}
.enquiry-h {
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
  color: #1C1814;
}
.enquiry-aside {
  padding: 22px 22px 18px;
  border: 1px solid rgba(28, 24, 20, 0.1);
  background: rgba(255, 255, 255, 0.35);
}
.enquiry-work {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 12px 0 16px;
}
.enquiry-work img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  background: #eee;
  flex-shrink: 0;
}
.enquiry-work__title {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #1C1814;
  text-decoration: none;
}
.enquiry-work__title:hover { color: #B8902A; }
.enquiry-work__artist {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #8A8178;
}
.enquiry-work__price {
  display: block;
  margin-top: 8px;
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #B8902A;
}
.enquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}
.enquiry-wrap .empty + .enquiry-actions { justify-content: center; }

.btn--ghost {
  background: transparent;
  color: #1C1814;
  border-color: rgba(28, 24, 20, 0.35);
}
.btn--ghost:hover { background: #1C1814; color: #B8902A; border-color: #1C1814; }
.btn--inline {
  display: inline-block;
  width: auto;
  padding: 14px 28px;
  margin: 0;
}

.ep-flash {
  width: min(900px, 100%);
  margin: 0 auto 20px;
  padding: 14px 18px;
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-align: center;
}
.ep-flash--ok { background: rgba(184, 144, 42, 0.12); color: #2E2B28; }
.ep-flash--err { background: rgba(140, 40, 40, 0.1); color: #6a2020; }

.work-card__price {
  display: block;
  margin-top: 6px;
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #B8902A;
}
.work-card__price--sold { color: #8A8178; }

.thanks-wrap { text-align: center; max-width: 640px; }
.thanks-lead {
  font-family: "Cinzel", serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1.55;
  margin: 0 0 12px;
}
.thanks-ref {
  font-family: "Cinzel", serif;
  letter-spacing: 0.12em;
  color: #B8902A;
  margin: 0 0 16px;
}

@media (max-width: 800px) {
  .enquiry-grid { grid-template-columns: 1fr; }
  .enquiry-work { flex-direction: column; }
}



/* —— Editorial content pages (gallery, services, contact, legal) — 1.1.0 ——
   One reading column, sections separated by hairlines. No equal-height card
   grids: each section stands on its own, so layout never implies a link
   between unrelated texts. */
.content-page { padding-bottom: 0; }
.editorial {
  width: min(980px, calc(100% - 48px));
  margin: 40px auto 0;
  text-align: left;
}
.editorial--wide { width: min(1040px, calc(100% - 48px)); }

.ep-kicker {
  margin: 0 0 12px;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #B8902A;
}

/* Intro */
.editorial-intro {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}
.editorial-intro__title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2E2B28;
}
.editorial-intro .gold-rule { margin: 26px auto 30px; }
.editorial-intro__lead {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.85;
  color: rgba(46, 43, 40, 0.86);
}
.editorial-intro__note {
  margin: 0;
  font-size: 15px;
  font-style: italic;
  color: rgba(46, 43, 40, 0.6);
}

/* Table of contents (services: links to this page's own sections) */
.editorial-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 36px;
}
.editorial-toc a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2E2B28;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.editorial-toc a span { color: #B8902A; font-size: 11px; }
.editorial-toc a:hover { color: #B8902A; border-bottom-color: rgba(184, 144, 42, 0.5); }

/* Chapters: heading column + reading column, hairline between sections */
.chapter {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0 56px;
  padding: 28px 0;
  border-top: 1px solid rgba(184, 144, 42, 0.32);
  scroll-margin-top: 100px;
}
.chapter__head { padding-top: 4px; }
.chapter__title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2E2B28;
}
.chapter__index {
  margin: 0 0 12px;
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: #B8902A;
}
.chapter__body { max-width: 640px; }
.chapter__body p {
  margin: 0 0 18px;
  font-family: "Marcellus", serif;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(46, 43, 40, 0.86);
}
.chapter__body p:last-child { margin-bottom: 0; }
.chapter__body a:not(.btn) { color: #2E2B28; text-decoration: underline; text-decoration-color: rgba(184, 144, 42, 0.6); text-underline-offset: 3px; }
.chapter__subhead {
  margin: 26px 0 10px;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #B8902A;
}
.chapter__body > .chapter__subhead:first-child { margin-top: 0; }
.chapter__sig {
  margin-top: 22px !important;
  font-family: "Cinzel", serif !important;
  font-size: 12px !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(46, 43, 40, 0.5) !important;
}
.chapter--quiet .chapter__body p { color: rgba(46, 43, 40, 0.78); }
.chapter__link { margin-top: 26px !important; }
.chapter__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 30px;
}
.chapter__actions .btn--inline { padding: 14px 26px; }

/* Text links (quiet CTAs) */
.text-link,
.chapter__body a.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2E2B28;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(184, 144, 42, 0.6);
  transition: color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
}
.text-link::after { content: "\2192"; color: #B8902A; font-family: "Marcellus", serif; letter-spacing: 0; }
.text-link:hover,
.chapter__body a.text-link:hover { color: #B8902A; border-bottom-color: #B8902A; gap: 16px; }
.text-link--doc::after { content: "\2193"; }

/* Bullet list: small gold diamonds, no fills */
.ep-bullets {
  list-style: none;
  margin: 6px 0 22px;
  padding: 0;
}
.ep-bullets:last-child { margin-bottom: 0; }
.ep-bullets li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid rgba(46, 43, 40, 0.08);
  font-family: "Marcellus", serif;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(46, 43, 40, 0.88);
}
.ep-bullets li:last-child { border-bottom: 0; }
.ep-bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(11px + 0.78em);
  width: 6px;
  height: 6px;
  background: #B8902A;
  transform: rotate(45deg);
}

/* Numbered steps: gold numerals on a thin vertical rule */
.ep-steps {
  list-style: none;
  counter-reset: ep-step;
  margin: 8px 0 24px;
  padding: 0;
}
.ep-steps:last-child { margin-bottom: 0; }
.ep-steps li {
  position: relative;
  counter-increment: ep-step;
  padding: 0 0 20px 52px;
  font-family: "Marcellus", serif;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(46, 43, 40, 0.88);
}
.ep-steps li:last-child { padding-bottom: 0; }
.ep-steps li::before {
  content: counter(ep-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  font-family: "Cinzel", serif;
  font-size: 13px;
  line-height: 1.95;
  letter-spacing: 0.08em;
  color: #B8902A;
}
.ep-steps li::after {
  content: "";
  position: absolute;
  left: 36px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(184, 144, 42, 0.35);
}
.ep-steps__text { display: block; }
.ep-steps__more {
  display: block;
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(46, 43, 40, 0.68);
}

/* Closing contact CTA */
.editorial-cta {
  max-width: 700px;
  margin: 0 auto;
  padding: 64px 0 0;
  border-top: 1px solid rgba(184, 144, 42, 0.32);
  text-align: center;
}
.editorial-cta .gold-rule { margin: 0 auto 26px; }
.editorial-cta__title {
  margin: 0 0 18px;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2E2B28;
}
.editorial-cta__text {
  margin: 0 auto 30px;
  font-family: "Marcellus", serif;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(46, 43, 40, 0.82);
}
.editorial-cta .ep-signoff { margin-top: 28px; }

.ep-signoff {
  margin: 8px 0 0;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(46, 43, 40, 0.5);
}

/* Contact */
.band-photo--quiet { min-height: 220px; margin: 0; }
.band-photo--quiet .band-shade {
  background: linear-gradient(180deg, rgba(46,43,40,0.15), rgba(46,43,40,0.35));
}
.contact-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
  padding-top: 48px;
  border-top: 1px solid rgba(184, 144, 42, 0.32);
}
.contact-channels { margin: 0; }
.contact-channels__row {
  padding: 18px 0;
  border-bottom: 1px solid rgba(46, 43, 40, 0.08);
}
.contact-channels__row:first-child { padding-top: 0; }
.contact-channels__row:last-child { border-bottom: 0; }
.contact-channels dt {
  margin: 0 0 6px;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #B8902A;
}
.contact-channels dd {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: 18px;
  line-height: 1.7;
  color: #2E2B28;
}
.contact-channels a { color: #2E2B28; text-decoration: underline; text-decoration-color: rgba(184, 144, 42, 0.6); text-underline-offset: 3px; }
.contact-form {
  padding: 36px 38px;
  background: #fffcf5;
  border: 1px solid rgba(46, 43, 40, 0.07);
}
.contact-form__note {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(46, 43, 40, 0.6);
}

/* Legal — normalized paragraphs (1.4.24); no pre-line / nl2br double gaps */
.legal-text {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(184, 144, 42, 0.32);
  text-align: left;
}
.legal-text p {
  margin: 0 0 0.9em;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(46, 43, 40, 0.82);
  text-align: left;
  white-space: normal;
  letter-spacing: 0.01em;
}
.legal-text p:last-child { margin-bottom: 0; }
.legal-text p.legal-article {
  margin: 1.25em 0 0.45em;
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: #2E2B28;
}
.legal-text p.legal-article:first-child { margin-top: 0; }
/* Legacy class if cached HTML still uses .legal-block */
.legal-block {
  margin-bottom: 12px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(46, 43, 40, 0.82);
  white-space: normal;
  text-align: left;
}

@media (max-width: 860px) {
  .chapter { grid-template-columns: 1fr; gap: 18px; padding: 24px 0; }
  .chapter__body { max-width: none; }
  .contact-editorial { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .editorial { width: calc(100% - 36px); margin-top: 40px; }
  .editorial-intro { margin-bottom: 40px; }
  .editorial-intro__lead { font-size: 17.5px; line-height: 1.8; text-align: left; }
  .chapter__body p, .ep-bullets li, .ep-steps li { font-size: 16.5px; }
  .ep-steps li { padding-left: 44px; }
  .ep-steps li::after { left: 30px; }
  .contact-form { padding: 26px 20px; }
  .editorial-toc ol { flex-direction: column; align-items: center; gap: 10px; }
}
/* Keep the signature line after any action buttons in a section. */
.chapter__body { display: flex; flex-direction: column; align-items: stretch; }
.chapter__body > .chapter__sig { order: 5; }
.chapter__body > .chapter__link { align-self: flex-start; }


/* -------------------------------------------------------------------------- */
/* Account — login / register / dashboard                                     */
/* -------------------------------------------------------------------------- */

.header-account {
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  white-space: nowrap;
}
.header-account:hover { color: var(--gold); }

.account-wrap {
  width: min(1080px, calc(100% - 48px));
  margin: 28px auto 0;
}
.account-wrap--narrow { width: min(520px, calc(100% - 48px)); }
.account-wrap .ep-flash { width: 100%; }

.account-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.account-dashboard {
  display: grid;
  gap: 24px;
}

.account-card {
  background: #fff;
  border: 1px solid rgba(28, 24, 20, 0.14);
  padding: 36px 34px 32px;
}
.account-card--wide,
.account-card--single { width: 100%; }
.account-card__title {
  margin: 0 0 28px;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B8902A;
}

.account-form label {
  display: block;
  margin: 0 0 18px;
}
.account-form label > span:first-child {
  display: block;
  margin-bottom: 8px;
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #2E2B28;
}
.account-form .req { color: #b33; font-style: normal; margin-left: 2px; }
.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"] {
  width: 100%;
  border: 1px solid rgba(28, 24, 20, 0.28);
  background: #fff;
  padding: 12px 14px;
  color: var(--ink);
  font-family: "Marcellus", serif;
  font-size: 16px;
}
.account-form input:focus {
  outline: 1px solid #B8902A;
  border-color: #B8902A;
}

.account-password {
  position: relative;
  display: block;
}
.account-password input { padding-right: 44px; }
.account-password__toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #8A8178;
  cursor: pointer;
  padding: 6px;
  line-height: 0;
}
.account-password__toggle:hover,
.account-password__toggle.is-visible { color: #B8902A; }

.account-form__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 8px;
}
.account-submit {
  background: #eceae6;
  color: #2E2B28;
  border: 1px solid rgba(28, 24, 20, 0.18);
  font-family: "Cinzel", serif;
  letter-spacing: 0.14em;
}
.account-submit:hover {
  background: #B8902A;
  color: #1C1814;
  border-color: #B8902A;
}
.account-remember {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-size: 15px;
  color: #5c564e;
  cursor: pointer;
}
.account-remember input { width: auto !important; margin: 0; }
.account-lost {
  margin: 22px 0 0;
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.account-lost a { color: #B8902A; text-decoration: none; }
.account-lost a:hover { text-decoration: underline; }
.account-privacy {
  margin: 4px 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: #5c564e;
}
.account-privacy a { color: #B8902A; text-decoration: none; }
.account-privacy a:hover { text-decoration: underline; }
.account-lead {
  margin: -8px 0 22px;
  font-size: 15px;
  line-height: 1.65;
  color: #5c564e;
}
.account-greeting {
  margin: 0 0 18px;
  font-size: 18px;
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
.account-hint {
  margin: 0 0 14px;
  font-size: 14px;
  color: #8A8178;
}
.account-orders {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.account-orders th {
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  color: #B8902A;
}
.account-orders td {
  padding: 14px 8px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

@media (max-width: 820px) {
  .account-split { grid-template-columns: 1fr; }
  .account-card { padding: 28px 22px; }
  .header-account { font-size: 11px; }
}


/* Analysis request form */
.analyse-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
  margin-top: 8px;
}
.analyse-aside {
  padding: 22px 22px 18px;
  border: 1px solid rgba(28, 24, 20, 0.1);
  background: rgba(255, 255, 255, 0.35);
}
.analyse-aside .note { margin-top: 18px; }
.analyse-form-wrap .ep-kicker { margin-bottom: 10px; }
.analyse-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.analyse-files {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}
.file-field {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  margin: 0 !important;
  cursor: pointer;
}
.file-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
.file-field__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #B8902A;
  background: rgba(184, 144, 42, 0.1);
  color: #1C1814;
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.file-field:hover .file-field__btn,
.file-field:focus-within .file-field__btn {
  background: #B8902A;
  color: #fff;
}
.file-field__name {
  font-size: 12px;
  color: rgba(28, 24, 20, 0.55);
  word-break: break-all;
  line-height: 1.35;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
@media (max-width: 820px) {
  .analyse-editorial { grid-template-columns: 1fr; gap: 32px; }
  .analyse-files { grid-template-columns: 1fr; }
  .analyse-row { grid-template-columns: 1fr; }
}


/* —— Catalogue search / short listings — 1.2.2 —— */
/* No reserved pagination strip; grid sits naturally above the footer */
.work-grid {
  margin-bottom: 0;
  padding-bottom: 0;
}
main.page > .work-grid:last-child,
main.page > .ep-pagination:last-child {
  margin-bottom: 36px;
}
main.page {
  min-height: 0;
}

/* —— Catalogue pagination (square gold / taupe buttons) — 1.2.0 —— */
.ep-pagination {
  width: min(1200px, calc(100% - 64px));
  margin: 36px auto 48px;
  display: flex;
  justify-content: center;
}
.ep-pagination__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.ep-pagination__item {
  margin: 0;
  padding: 0;
}
.ep-page {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: #C8C0B4;
  color: #3A3530;
  text-decoration: none;
  font-family: "Cinzel", "Marcellus", serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
a.ep-page:hover,
a.ep-page:focus-visible {
  background: #B8AFA0;
  color: #1C1814;
  outline: none;
}
.ep-page--current,
.ep-page--dots {
  background: var(--gold, #B8902A);
  color: #FDFDF3;
  cursor: default;
}
@media (max-width: 640px) {
  .ep-pagination { width: min(100% - 32px, 1200px); margin: 28px auto 40px; }
  .ep-page { width: 30px; height: 30px; font-size: 12px; }
  .ep-pagination__list { gap: 5px; }
}

/* View on wall — floating bottom-right control (ArtPlacer / LFA-style) */
.btn--gold {
  background: #B8902A;
  color: #1C1814;
  border-color: #B8902A;
}
.btn--gold:hover,
.btn--gold:focus-visible {
  background: #1C1814;
  color: #B8902A;
  border-color: #1C1814;
}

.ep-wall-fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 22px 14px 18px;
  border: 1px solid #B8902A;
  border-radius: 2px;
  background: #B8902A;
  color: #1C1814;
  font-family: "Cinzel", Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(28, 24, 20, 0.22), 0 2px 6px rgba(28, 24, 20, 0.12);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.ep-wall-fab:hover,
.ep-wall-fab:focus-visible {
  background: #1C1814;
  color: #B8902A;
  border-color: #1C1814;
  outline: none;
  box-shadow: 0 12px 32px rgba(28, 24, 20, 0.28), 0 2px 8px rgba(28, 24, 20, 0.14);
}
.ep-wall-fab:active {
  transform: translateY(1px);
}
.ep-wall-fab__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: block;
}
.ep-wall-fab__label {
  display: block;
  white-space: nowrap;
}
html.ep-wall-open .ep-wall-fab {
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 640px) {
  .ep-wall-fab {
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    padding: 12px 16px 12px 14px;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .ep-wall-fab__icon {
    width: 18px;
    height: 18px;
  }
}

html.ep-wall-open,
html.ep-wall-open body {
  overflow: hidden;
}

.ep-wall[hidden] { display: none !important; }
.ep-wall {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ep-wall__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 8, 0.55);
  cursor: pointer;
}
.ep-wall__panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.ep-wall__header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #ece8e2;
  flex: 0 0 auto;
  background: #fff;
}
.ep-wall__title {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a1a1a;
}
.ep-wall__close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #888;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}
.ep-wall__close:hover,
.ep-wall__close:focus-visible {
  color: #1a1a1a;
}

.ep-wall__stage {
  position: relative;
  z-index: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 12px 24px 8px;
}
.ep-wall__viewport {
  position: relative;
  box-sizing: border-box;
  flex: 0 1 auto;
  width: min(100%, 720px);
  height: min(100%, 720px);
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f1ed;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
}
.ep-wall__room-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}
.ep-wall__art {
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  width: 28%;
  z-index: 2;
  transition: width 0.18s ease;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.28));
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.ep-wall__art.is-dragging {
  transition: none;
  cursor: grabbing;
  z-index: 3;
}
.ep-wall__art.is-dragging,
.ep-wall__art.is-dragging * {
  cursor: grabbing;
}
.ep-wall__frame {
  position: relative;
  box-sizing: border-box;
  background: #111;
  line-height: 0;
  pointer-events: none;
}
.ep-wall__frame--none {
  padding: 0;
  background: transparent;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.ep-wall__frame--thin-gold {
  padding: 1.6%;
  background:
    linear-gradient(145deg, #d4b45a 0%, #9a7428 38%, #f0d878 52%, #6e5420 78%, #c9a24a 100%);
  box-shadow: 0 2px 6px rgba(0,0,0,0.22);
}
.ep-wall__frame--dark {
  padding: 2.4%;
  background: linear-gradient(160deg, #3a342e 0%, #1a1612 55%, #2c2620 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.ep-wall__frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  background: transparent;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.ep-wall__footer {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 14px;
  border-top: 1px solid #ece8e2;
  background: #fff;
  flex: 0 0 auto;
}
.ep-wall__footer-left {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b0aaa2;
}
.ep-wall__tools {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ep-wall__tool {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 72px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #444;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
}
.ep-wall__tool:hover,
.ep-wall__tool:focus-visible,
.ep-wall__tool.is-active {
  background: #f5f2ec;
  color: #1a1a1a;
}
.ep-wall__tool svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.ep-wall__footer-right {
  display: flex;
  justify-content: flex-end;
}
.ep-wall__download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: 2px;
  background: #B8902A;
  color: #1C1814;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.ep-wall__download:hover,
.ep-wall__download:focus-visible {
  background: #1C1814;
  color: #B8902A;
}
.ep-wall__download svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.ep-wall__drawer[hidden] {
  display: none !important;
}
.ep-wall__drawer {
  position: relative;
  z-index: 2;
  display: none;
  flex: 0 1 auto;
  max-height: min(42vh, 380px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 18px 14px;
  border-top: 1px solid #f0ece6;
  background: #faf8f5;
  -webkit-overflow-scrolling: touch;
}
.ep-wall__drawer.is-open {
  display: block;
}
.ep-wall__drawer-label {
  margin: 12px 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
}
.ep-wall__rooms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.ep-wall__room-btn {
  position: relative;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  background: #ddd;
  aspect-ratio: 16 / 10;
}
.ep-wall__room-btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ep-wall__room-btn.is-active,
.ep-wall__room-btn:hover,
.ep-wall__room-btn:focus-visible {
  border-color: #B8902A;
}
.ep-wall__room-btn span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4px 6px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-align: center;
}

.ep-wall__customize {
  display: grid;
  gap: 12px;
  padding-bottom: 4px;
}
.ep-wall__field {
  display: grid;
  gap: 6px;
}
.ep-wall__field > span {
  font-size: 12px;
  color: #555;
}
.ep-wall__frames {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ep-wall__frame-opt {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  font-size: 12px;
  cursor: pointer;
  color: #333;
}
.ep-wall__frame-opt.is-active,
.ep-wall__frame-opt:hover,
.ep-wall__frame-opt:focus-visible {
  border-color: #B8902A;
  color: #1C1814;
  background: #fbf6ea;
}
.ep-wall__scale {
  width: 100%;
  accent-color: #B8902A;
}
.ep-wall__fx {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 1;
}
.ep-wall__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ep-wall__chip {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  font-size: 12px;
  cursor: pointer;
  color: #333;
}
.ep-wall__chip.is-active,
.ep-wall__chip:hover,
.ep-wall__chip:focus-visible {
  border-color: #B8902A;
  color: #1C1814;
  background: #fbf6ea;
}

@media (max-width: 700px) {
  .ep-wall { padding: 8px; }
  .ep-wall__header { padding: 12px 14px; }
  .ep-wall__title { font-size: 15px; }
  .ep-wall__stage { padding: 8px 10px; }
  .ep-wall__viewport { width: 100%; max-height: 100%; }
  .ep-wall__drawer { max-height: min(46vh, 320px); }
  .ep-wall__footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 10px 12px 12px;
  }
  .ep-wall__footer-left { display: none; }
  .ep-wall__footer-right { width: 100%; }
  .ep-wall__download { width: 100%; justify-content: center; }
  .ep-wall__rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .ep-wall__chips { gap: 6px; }
  .ep-wall__chip { padding: 7px 10px; font-size: 11px; }
}

/* ---------- Customer review / Expérience client (1.4.5) ---------- */
.ep-review-fab {
  position: fixed;
  left: max(20px, env(safe-area-inset-left, 0px));
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px 10px 10px;
  border: 1px solid #B8902A;
  border-radius: 2px;
  background: rgba(28, 24, 20, 0.92);
  color: #F3E9D2;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(28, 24, 20, 0.22), 0 2px 6px rgba(28, 24, 20, 0.12);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.ep-review-fab:hover,
.ep-review-fab:focus-visible {
  background: #B8902A;
  color: #1C1814;
  outline: none;
}
.ep-review-fab:active { transform: translateY(1px); }
.ep-review-fab__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #B8902A;
}
.ep-review-fab:hover .ep-review-fab__icon,
.ep-review-fab:focus-visible .ep-review-fab__icon { color: #1C1814; }
.ep-review-fab__icon svg,
.ep-review-fab__icon img { width: 20px; height: 20px; display: block; object-fit: contain; }
.ep-review-fab__text { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.ep-review-fab__label {
  font-family: "Cinzel", Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ep-review-fab__stars {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #B8902A;
}
.ep-review-fab:hover .ep-review-fab__stars,
.ep-review-fab:focus-visible .ep-review-fab__stars { color: #1C1814; }
html.ep-wall-open .ep-review-fab,
html.ep-review-open .ep-review-fab { visibility: hidden; pointer-events: none; }

@media (max-width: 640px) {
  .ep-review-fab {
    left: max(14px, env(safe-area-inset-left, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    padding: 8px 14px 8px 8px;
    gap: 9px;
  }
  .ep-review-fab__icon { width: 30px; height: 30px; }
  .ep-review-fab__label { font-size: 10.5px; letter-spacing: 0.1em; }
  /* Artwork pages share the bottom edge with “View on wall”: icon-only. */
  .single-ep_work .ep-review-fab { padding: 8px; }
  .single-ep_work .ep-review-fab__text { display: none; }
}

html.ep-review-open,
html.ep-review-open body { overflow: hidden; }
.ep-review[hidden] { display: none !important; }
.ep-review {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.ep-review__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 17, 14, 0.82);
}
.ep-review__panel {
  position: relative;
  margin: 0;
  width: min(92vw, 920px);
  max-height: min(92vh, calc(100dvh - 32px));
  display: flex;
  flex-direction: column;
  background: #FBF8F2;
  border-top: 3px solid #B8902A;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.4);
}
.ep-review__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(184, 144, 42, 0.35);
  flex: 0 0 auto;
}
.ep-review__title {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1C1814;
}
.ep-review__close {
  border: 0;
  background: none;
  font-size: 32px;
  line-height: 1;
  color: #1C1814;
  cursor: pointer;
  padding: 0 4px;
}
.ep-review__close:hover,
.ep-review__close:focus-visible { color: #B8902A; outline: none; }
.ep-review__body {
  overflow: auto;
  padding: 24px 28px 28px;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ep-review__body img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(78vh, calc(100dvh - 140px));
  object-fit: contain;
  margin: 0 auto;
  border: 1px solid rgba(28, 24, 20, 0.08);
  image-rendering: auto;
  /* Upscale the small source PNG (~368px) to fill the large lightbox */
  transform: translateZ(0);
}
@media (max-width: 640px) {
  .ep-review__panel { width: min(96vw, 920px); max-height: min(94vh, calc(100dvh - 24px)); }
  .ep-review__header { padding: 14px 16px; }
  .ep-review__title { font-size: 14px; letter-spacing: 0.1em; }
  .ep-review__body { padding: 14px 14px 18px; }
  .ep-review__body img { max-height: min(80vh, calc(100dvh - 120px)); }
}
