/* Velor · home page and collection gallery styles (shared by index.html and collection.html) */
/* Gallery-as-homepage: hero strip at top, then full gallery */
.home-hero-strip {
  padding: 2.5rem 4rem 3rem;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.home-hero-left h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 0.9s 0.3s var(--ease) forwards;
}
.home-hero-left h1 strong {
  display: block;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.7em;
}
.home-hero-right {
  text-align: right;
  max-width: 320px;
  flex-shrink: 0;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s var(--ease) forwards;
}
.home-hero-right p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1.25rem;
}
.eyebrow-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s var(--ease) forwards;
}
.eyebrow-strip span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terra);
}
.eyebrow-strip::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
/* Full-width divider line */
.full-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}
/* Gallery controls bar — airy, centered, boutique */
.gallery-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding: 1.6rem 1.5rem;
  border-bottom: 1px solid var(--border);
  max-width: 100%;
}
.gallery-controls-bar .filter-tab {
  border: none !important;
  background: transparent !important;
  padding: 0.45rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid transparent !important;
  transition: color 0.2s, border-color 0.2s;
}
.gallery-controls-bar .filter-tab:hover { color: var(--text); }
.gallery-controls-bar .filter-tab.active {
  background: transparent !important;
  color: var(--text) !important;
  border-bottom-color: var(--terra) !important;
}
/* Masonry-style grid fills viewport width */
#gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 1100px) { #gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { #gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px)  { #gallery-grid { grid-template-columns: 1fr; } }

/* Gallery hint banner */
.xp-gallery-note {
  padding: 0.75rem 1.5rem;
  background: rgba(184,112,90,0.05);
  border-bottom: 1px solid rgba(184,112,90,0.12);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.xp-gallery-note .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terra); flex-shrink: 0;
}

/* Event promo strip */
.event-promo-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.65rem 1.5rem;
  background: var(--ink);
  color: var(--bg-0);
  flex-wrap: wrap;
}
.event-promo-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  flex-shrink: 0;
}
.event-promo-name {
  font-size: 0.78rem;
  font-weight: 300;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-promo-spots {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  flex-shrink: 0;
}
.event-promo-cta {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg-0);
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding-bottom: 1px;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s;
}
.event-promo-cta:hover { color: var(--sand); border-color: var(--sand); }

/* ── CHRISTMAS HERO AD (first thing on the page) ── */
.xmas-hero-ad-outer { max-width: 1300px; margin: 0 auto; padding: 3.5rem 2rem; }
.xmas-hero-ad {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  background: var(--cherry); color: #fff;
  padding: 1.9rem 2.25rem; border: 1px solid var(--cherry);
  transition: var(--t);
}
.xmas-hero-ad:hover { background: #7A2323; }
.xmas-hero-ad .section-eyebrow { color: var(--cherry-blush); margin-bottom: 0.5rem; }
.xmas-hero-ad h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -0.02em;
  line-height: 1; margin: 0.1rem 0 0.5rem; color: #fff;
}
.xmas-hero-ad p { font-size: 0.86rem; color: rgba(255,255,255,0.78); font-weight: 300; max-width: 640px; }
.xmas-hero-ad-cta {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; background: #fff; color: var(--cherry); font-weight: 600;
  padding: 1rem 1.6rem; white-space: nowrap; flex-shrink: 0;
}
@media (max-width: 860px) {
  .xmas-hero-ad-outer { padding: 2rem 1.25rem; }
  .xmas-hero-ad { padding: 1.35rem; gap: 1rem; }
}
@media (max-width: 640px) {
  /* phones: label and link share the top line, the sentence gets the full width below */
  .event-promo-strip { gap: 0.45rem 0.75rem; padding: 0.9rem 1.25rem; justify-content: space-between; }
  .event-promo-name { order: 3; flex: 0 0 100%; white-space: normal; line-height: 1.55; }
  .gallery-controls-bar { padding: 1rem 1.25rem; gap: 0.1rem; }
  .gallery-controls-bar .filter-tab { padding: 0.45rem 0.8rem; }
}

@media (max-width: 640px) {
  .home-hero-strip {
    flex-direction: column;
    padding: 1.5rem 1.25rem 1.5rem;
    align-items: flex-start;
    gap: 1rem;
  }
  .home-hero-right { text-align: left; max-width: 100%; }
}

/* ── Gallery collections ── */
.collection { padding-bottom: 0.5rem; }
.collection + .collection { border-top: 1px solid var(--border); }
.collection-head {
  max-width: 1400px; margin: 0 auto;
  padding: 2.25rem 4rem 1rem;
}
.collection + .collection .collection-head { padding-top: 2.25rem; }
.collection-title {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--text);
  line-height: 1.05; margin: 0.4rem 0 0;
}
.collection-medium {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--terra); margin-top: 0.6rem;
}
/* Collection intro: full-width gracious wall text above the framed grid. */
.collection-item.is-painting.collection-desc-tile {
  grid-column: 1 / -1;
  font-family: var(--font-display); font-style: italic;
  font-size: 1.2rem; line-height: 1.8; font-weight: 400;
  color: var(--text-dim);
  background: none; cursor: default;
  max-width: 760px; margin: 0 auto 0.5rem; text-align: center;
  padding: 0.35rem 0 0.75rem;
}
.collection-desc-tile::before {
  content: ''; display: block; width: 44px; height: 2px;
  background: var(--terra); margin: 0 auto 1.1rem;
}
/* Framed gallery wall: uniform light-oak frames in an aligned grid. */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 3.25rem 2.5rem;
  align-items: start;
  max-width: 1400px; margin: 0 auto; padding: 2rem 4rem 1rem;
}
@media (max-width: 600px) { .collection-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.1rem; padding: 1.25rem 1.25rem 0; } }
@media (max-width: 640px) { .collection-head { padding: 2.25rem 1.5rem 1.25rem; } }
.collection-item {
  position: relative; aspect-ratio: 1; overflow: hidden;
  cursor: zoom-in;
}
.collection-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s var(--ease);
}
.collection-item:hover img { transform: scale(1.04); }
.collection-item-angles {
  position: absolute; top: 0.55rem; right: 0.55rem; z-index: 2;
  font-family: var(--font-body); font-size: 0.56rem; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500; line-height: 1;
  background: rgba(252,251,248,0.92); color: var(--text-dim);
  border: 1px solid var(--border); padding: 0.26rem 0.5rem;
}
.collection-item-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.1rem 0.85rem 0.7rem;
  background: linear-gradient(to top, rgba(0,0,0,0.72), transparent);
  color: #fff; font-size: 0.72rem; font-weight: 500;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.collection-item:hover .collection-item-cap { opacity: 1; transform: translateY(0); }

.collection-item.is-painting {
  display: flex; flex-direction: column; width: 100%; margin: 0;
  background: transparent; aspect-ratio: auto; overflow: visible;
  cursor: zoom-in;
}
/* Matted presentation: cream mat + hairline + soft drop shadow, so the
   art (much of it already framed in-photo) reads as hung on a wall. */
.collection-item-imgwrap {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1; overflow: hidden; line-height: 0;
  background: #fcfbf8;                               /* mat */
  padding: 4.5%;
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(44,36,32,0.12);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.collection-item.is-painting:hover .collection-item-imgwrap {
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(44,36,32,0.22);
}
.collection[data-category="watercolour"] .collection-item-imgwrap { background: #fcfbf8; }
.collection-item.is-painting img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.collection-item.is-painting:hover img { transform: none; }
.collection-item-info {
  background: transparent; padding: 1.1rem 0.5rem 0;
  display: flex; flex-direction: column; gap: 0.45rem;
  text-align: center; align-items: center;
}
.collection-item-title {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 1.1rem; color: var(--text); line-height: 1.3;
}
.collection-item-row { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.collection-item-price { font-family: var(--font-display); font-style: normal; font-size: 1.05rem; color: var(--text); }
.collection-item-buy {
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.5rem 0.75rem; white-space: nowrap;
  background: var(--ink); color: var(--bg-0); border: none; cursor: pointer;
  transition: background 0.2s;
}
.collection-item-buy:hover { background: var(--terra); }
.collection-item-buy.added { background: var(--sage); }


/* "See it in your home" room visualiser */
.work-lightbox-rooms { width: min(92vw, 760px); margin-top: 0.5rem; }
.rooms-label {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
  text-align: center; margin-bottom: 0.7rem;
}
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.room-shot {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: linear-gradient(180deg,#efe9e0 0%,#efe9e0 70%,#dbd0c0 70%,#cdbfac 100%);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.room-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-art {
  position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%);
  width: 34%; height: auto; object-fit: contain;
  border: 3px solid #fff; box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}
@media (max-width: 560px) {
  .rooms-grid { grid-template-columns: 1fr; }
  .room-shot { aspect-ratio: 16/9; }
}
.collection-item-note { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }

/* Archive markers, quiet, aspirational (held in collections), not shouting */
.collection-item-sold {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
  font-family: var(--font-mono); font-size: 0.54rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600;
  background: rgba(247,245,240,0.92); color: var(--ink);
  border: 1px solid var(--border-mid); padding: 0.35rem 0.6rem;
}
.collection-sold-badge {
  display: inline-block; margin-top: 0.9rem;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600;
  color: var(--text-dim); border: 1px solid var(--border-mid);
  padding: 0.5rem 0.9rem;
}

/* Collector reassurance lines */
.collection-item-assure { color: var(--text-muted); line-height: 1.8; }

/* "Meet the artist" strip under the for-sale collection */
.artist-strip { max-width: 1400px; margin: 0 auto; padding: 1.5rem 4rem 3rem; }
.artist-strip-inner {
  display: flex; align-items: center; gap: 2.5rem;
  border: 1px solid var(--border); background: var(--bg-0);
  padding: 2rem 2.25rem;
}
.artist-strip-photo {
  flex-shrink: 0; width: 132px; aspect-ratio: 3/4;
  overflow: hidden; background: var(--bg-2); cursor: pointer;
}
.artist-strip-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.artist-strip-text h3 {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: 1.5rem; color: var(--text); margin: 0.3rem 0 0.7rem;
}
.artist-strip-text p:not(.section-eyebrow) {
  font-size: 0.88rem; line-height: 1.85; font-weight: 300;
  color: var(--text-dim); max-width: 640px;
}
.artist-strip-link {
  display: inline-block; margin-top: 0.9rem;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--terra);
  border-bottom: 1px solid var(--terra); padding-bottom: 2px;
}
@media (max-width: 640px) {
  .artist-strip { padding: 1rem 1.5rem 2.5rem; }
  .artist-strip-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; padding: 1.5rem; }
}


/* Homepage workshop feature (responsive) */
/* The photo is portrait (3:4) and is shown whole, at its own shape, never cropped. */
.home-workshop-feature { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
.home-workshop-photo { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #f3f1ee; }
.home-workshop-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .home-workshop-feature { grid-template-columns: 1fr; } }

/* ============================================================
   HOME · BOUTIQUE STORE LAYER
   White ground, bold geometric caps, a full-width hero photo,
   and artworks that float on the page with no tile behind them.
   Scoped to body.home so the other pages keep their look.
   ============================================================ */
body.home {
  --bg-0: #ffffff;
  --font-display: 'Jost', 'Futura', 'Century Gothic', 'Avenir Next', sans-serif;
}
body.home .nav { background: rgba(255,255,255,0.94); }
body.home .nav-logo { letter-spacing: 0.16em; font-size: 1.45rem; }

/* Hero: the photo is shown at its true size and whole (it is only 843px
   wide, so stretching it across the screen made it soft and cropped it). */
.fx-split {
  max-width: 1300px; margin: 0 auto; padding: 3rem 2rem 0;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4.5rem; align-items: center;
}
.fx-split-img { display: block; width: min(560px, 44vw, calc((100vh - 200px) * 0.667)); min-width: 300px; overflow: hidden; background: #f3f1ee; }
.fx-split-img img { width: 100%; height: auto; display: block; transition: transform 0.9s var(--ease); }
.fx-split-img:hover img { transform: scale(1.02); }
.fx-split-text { max-width: 520px; }
.fx-split-desc { font-size: 0.98rem; line-height: 1.85; font-weight: 300; color: var(--text-dim); margin: 1.6rem 0 1.8rem; }
@media (max-width: 860px) {
  .fx-split { grid-template-columns: 1fr; gap: 2rem; padding: 1.25rem 1.25rem 0; }
  .fx-split-img { width: 100%; min-width: 0; }
}

/* (the shared stylesheet pins these headings with !important, hence the same here) */
body.home .home-hero-left h1 {
  font-style: normal !important; font-weight: 500 !important; text-transform: uppercase !important;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem); letter-spacing: 0.06em !important; line-height: 1.25;
}
body.home .home-hero-left h1 strong {
  font-weight: 700 !important; font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  letter-spacing: 0.08em !important; line-height: 1; margin-bottom: 0.6rem;
}

body.home .section-title, body.home .section-title span,
body.home .artist-strip-text h3, body.home .footer-brand h3, body.home .modal-title {
  font-style: normal !important; text-transform: uppercase !important; letter-spacing: 0.04em !important; font-weight: 700 !important;
}
body.home .section-title { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
body.home .xmas-hero-ad h2 { font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }

/* Collection heading: bold caps with a "view all" link under it */
body.home .collection-head { max-width: 1040px; padding: 3rem 2rem 0.5rem; }
body.home .collection-title {
  font-style: normal !important; font-weight: 700 !important; text-transform: uppercase !important;
  letter-spacing: 0.05em !important; font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}
.collection-desc { max-width: 620px; margin-top: 0.9rem; font-size: 0.88rem; line-height: 1.8; font-weight: 300; color: var(--text-dim); }
.collection-viewall {
  display: inline-block; margin-top: 1rem; padding: 0 0 3px; background: none; border: none;
  border-bottom: 1.5px solid var(--text); cursor: pointer; color: var(--text);
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.collection-viewall:hover { color: var(--terra); border-color: var(--terra); }

/* Three small squares per row; the art floats straight on the page */
body.home .collection-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1040px; gap: 3.5rem 3rem; padding: 2rem 2rem 2.5rem;
}
/* Sculpture photos are wide: a 4:3 cell keeps the rows from drifting apart */
body.home .collection[data-category="sculpture"] .collection-grid .collection-item-imgwrap { aspect-ratio: 4 / 3; }
@media (max-width: 760px) {
  body.home .collection-head { padding: 2.25rem 1.25rem 0.25rem; }
  body.home .collection-grid { gap: 1.75rem 1rem; padding: 1.25rem 1.25rem 1.5rem; }
  body.home .artist-strip { padding: 1rem 1.25rem 2rem; }
}
body.home .collection .collection-item-imgwrap {
  background: none; border: none; box-shadow: none; padding: 0; overflow: visible;
  transition: transform 0.45s var(--ease);
}
body.home .collection-item.is-painting:hover .collection-item-imgwrap { transform: translateY(-8px); box-shadow: none; }
body.home .collection-item.is-painting img {
  position: absolute; inset: 0;   /* keeps tall works inside the square */
  filter: drop-shadow(0 14px 16px rgba(40,30,22,0.20));
  transition: opacity 0.5s var(--ease), filter 0.45s var(--ease);
}
body.home .collection-item.is-painting:hover img { filter: drop-shadow(0 24px 22px rgba(40,30,22,0.24)); }
body.home .collection-item.is-painting { cursor: pointer; }
/* Photos shot on a plain white backdrop: no shadow, so no square shows around them. */
body.home .collection.is-flat .collection-item.is-painting img,
body.home .collection.is-flat .collection-item.is-painting:hover img,
.qv.flat .qv-main { filter: none; }
.collection-item-quick {
  position: absolute; right: 4%; bottom: 4%; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--text); border: 1px solid var(--border-mid);
  font-size: 1.25rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background 0.2s, color 0.2s;
}
.collection-item:hover .collection-item-quick, .collection-item-quick:focus-visible { opacity: 1; transform: none; }
.collection-item-quick:hover { background: var(--text); color: #fff; }
@media (hover: none) { .collection-item-quick { display: none; } }
body.home .collection-item-sold { top: 0; left: 0; background: #fff; }
body.home .collection-item-info { padding-top: 1.25rem; gap: 0.3rem; }
body.home .collection-item-title {
  font-style: normal; font-weight: 600; text-transform: uppercase;
  font-size: 0.72rem; letter-spacing: 0.09em; line-height: 1.5;
}
body.home .collection-item-price { font-family: var(--font-body); font-size: 0.82rem; color: var(--text-dim); }
@media (max-width: 760px) {
  body.home .collection-item-title { font-size: 0.58rem; letter-spacing: 0.06em; }
  body.home .collection-item-price, body.home .collection-item-note { font-size: 0.68rem; }
  body.home .collection-item-info { padding-top: 0.7rem; }
}
body.home .artist-strip { max-width: 1040px; padding: 1rem 2rem 2rem; }

/* ── Quick view: thumbnails · large image · details ── */
.qv {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(34,28,24,0.5);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.qv.open { opacity: 1; visibility: visible; }
.qv-panel {
  position: relative; background: #fff; color: var(--text);
  width: min(1160px, 100%); max-height: 100%; overflow-y: auto;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0 3rem; padding: 3rem 3rem 2.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  transform: translateY(14px); transition: transform 0.3s var(--ease);
}
.qv.open .qv-panel { transform: none; }
.qv-close {
  position: absolute; top: 0.9rem; right: 1.1rem; z-index: 2;
  width: 40px; height: 40px; font-size: 1.7rem; line-height: 1; font-weight: 300;
  color: var(--text); background: none; border: none; cursor: pointer;
}
.qv-close:hover { color: var(--terra); }
.qv-gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.qv-gallery.single { grid-template-columns: minmax(0, 1fr); }
.qv-thumbs { display: flex; flex-direction: column; gap: 0.7rem; max-height: 62vh; overflow-y: auto; scrollbar-width: none; }
.qv-thumbs::-webkit-scrollbar { display: none; }
.qv-thumbs button {
  width: 76px; height: 76px; flex-shrink: 0; padding: 5px; background: #fff; cursor: pointer;
  border: 1px solid transparent; transition: border-color 0.2s;
}
.qv-thumbs button img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qv-thumbs button:hover { border-color: var(--border-mid); }
.qv-thumbs button.active { border-color: var(--text); }
.qv-stage { position: relative; display: flex; align-items: center; justify-content: center; height: min(62vh, 600px); }
.qv-main {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; cursor: pointer;
  filter: drop-shadow(0 18px 22px rgba(40,30,22,0.20));
}
.qv-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: 1px solid var(--border-mid);
  font-size: 1.4rem; line-height: 1; color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding-bottom: 3px;
}
.qv-arrow:hover { background: var(--text); color: #fff; }
.qv-arrow.prev { left: 0; } .qv-arrow.next { right: 0; }
.qv-counter { grid-column: 1 / -1; text-align: center; margin-top: 0.9rem; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); min-height: 1em; }
.qv-details { padding-top: 0.5rem; }
.qv-eyebrow { font-family: var(--font-display); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); margin-bottom: 0.7rem; }
.qv-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; }
.qv-price { font-size: 1.05rem; margin-top: 0.8rem; }
.qv-meta { font-size: 0.82rem; color: var(--text-dim); margin-top: 0.35rem; }
.qv-tag { display: inline-block; margin-top: 1.4rem; padding: 0.6rem 1rem; border: 1px solid var(--border-mid); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.qv-add {
  display: block; width: 100%; margin-top: 1.6rem; padding: 1.05rem 1rem;
  background: #fff; color: var(--text); border: 1px solid var(--text); cursor: pointer;
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.qv-add:hover { background: var(--text); color: #fff; }
.qv-add.added { background: var(--text); color: #fff; cursor: default; }
.qv-cartlink { display: none; margin-top: 0.8rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--text); padding-bottom: 2px; }
.qv-cartlink.show { display: inline-block; }
.qv-desc { margin-top: 1.8rem; font-size: 0.88rem; line-height: 1.85; font-weight: 300; color: var(--text-dim); }
.qv-assure { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.qv-assure li { font-size: 0.78rem; color: var(--text-dim); line-height: 1.5; padding: 0.22rem 0 0.22rem 1.1rem; position: relative; }
.qv-assure li::before { content: ''; position: absolute; left: 0; top: 0.78em; width: 5px; height: 5px; border-radius: 50%; background: var(--terra); }
.qv-pnav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.qv-pnav button { background: none; border: none; cursor: pointer; padding: 0 0 2px; border-bottom: 1px solid transparent; font-family: var(--font-display); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.qv-pnav button:hover { border-bottom-color: var(--text); }
.qv .room-art { border: none; box-shadow: none; filter: drop-shadow(0 8px 12px rgba(0,0,0,0.3)); }
.qv .work-lightbox-rooms { grid-column: 1 / -1; width: auto; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
@media (max-width: 860px) {
  .qv { padding: 0; align-items: stretch; }
  .qv-panel { grid-template-columns: 1fr; gap: 1.5rem 0; padding: 3.25rem 1.25rem 5.5rem; width: 100%; }
  .qv-gallery { grid-template-columns: 1fr; }
  .qv-thumbs { order: 2; flex-direction: row; max-height: none; overflow-x: auto; justify-content: flex-start; }
  .qv-thumbs button { width: 60px; height: 60px; }
  .qv-stage { height: min(52vh, 440px); }
  .qv-counter { order: 3; }
}

/* ── Smooth image loading: fade in once decoded ── */
img.fx-img { opacity: 0; transition: opacity 0.5s var(--ease), filter 0.45s var(--ease); }
img.fx-img.is-loaded { opacity: 1; }
body.home { scroll-behavior: smooth; }
html:has(body.home) { scroll-behavior: smooth; }
.collection, .fx-index { scroll-margin-top: calc(var(--nav-h) + 40px); }

/* ── Large single-work feature ── */
.fx-feature { max-width: 1300px; margin: 0 auto; padding: 2rem 2rem; }
.fx-feature-inner { display: block; cursor: pointer; }
.fx-feature-img { overflow: hidden; background: #f3f1ee; }
.fx-feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.5s var(--ease), transform 0.9s var(--ease); }
.fx-feature-inner:hover .fx-feature-img img { transform: scale(1.025); }
@media (max-width: 760px) { .fx-feature { padding: 1.25rem 1.25rem; } }

/* ── The collections: 2 × 2 ── */
.fx-index { max-width: 1300px; margin: 0 auto; padding: 2rem 2rem; }
.fx-index-head { padding-bottom: 1.25rem; }
.fx-index-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.fx-index-tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f3f1ee; }
.fx-index-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.5s var(--ease), transform 0.9s var(--ease); }
.fx-index-tile:hover img { transform: scale(1.04); }
.fx-index-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,15,12,0.62) 0%, rgba(20,15,12,0.12) 45%, rgba(20,15,12,0) 70%); }
.fx-index-label { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.3rem; z-index: 1; color: #fff; }
.fx-index-label strong { display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: clamp(1rem, 2vw, 1.5rem); line-height: 1.2; }
.fx-index-label em { display: block; margin-top: 0.4rem; font-style: normal; font-size: 0.88rem; line-height: 1.5; font-weight: 300; opacity: 0.95; }
@media (max-width: 760px) {
  .fx-index { padding: 1.25rem 1.25rem; } .fx-index-grid { gap: 0.6rem; }
  .fx-index-head { padding-bottom: 1rem; }
  .fx-index-label { left: 0.75rem; right: 0.75rem; bottom: 0.7rem; }
  .fx-index-label em { display: none; }   /* phones: collection name only */
}

/* ── Finale: large photo + sliding gallery ── */
.fx-finale { border-top: 1px solid var(--border); padding-bottom: 2.5rem; margin-top: 2rem; }
.fx-finale-top { max-width: 1300px; margin: 0 auto; padding: 3rem 2rem 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.fx-finale-lead { cursor: pointer; display: flex; justify-content: center; }
.fx-finale-lead img { width: 100%; max-width: 520px; height: auto; display: block; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.fx-finale-lead:hover img { transform: translateY(-6px); }
body.home .fx-finale .collection-head { max-width: none; padding: 0; border: 0; }
.fx-slider { position: relative; max-width: 1300px; margin: 0 auto; padding: 0.5rem 2rem 0; }
.fx-slider-track { display: flex; column-gap: 2.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 1rem 0 1.5rem; }
.fx-slider-track::-webkit-scrollbar { display: none; }
.fx-slide { flex: 0 0 calc((100% - 3 * 2.5rem) / 4); scroll-snap-align: start; min-width: 0; }
.fx-slider-arrow {
  position: absolute; top: 38%; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border-mid); color: var(--text); cursor: pointer;
  font-size: 1.5rem; line-height: 1; display: flex; align-items: center; justify-content: center; padding-bottom: 3px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08); transition: background 0.2s, color 0.2s;
}
.fx-slider-arrow:hover { background: var(--text); color: #fff; }
.fx-slider-arrow.prev { left: 0.4rem; } .fx-slider-arrow.next { right: 0.4rem; }
@media (max-width: 860px) {
  .fx-finale { padding-bottom: 1.25rem; margin-top: 1.25rem; }
  .fx-finale-top { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 1.25rem 0; }
  .fx-finale-lead img { max-width: 300px; }
  .fx-slider { padding: 0.5rem 1.25rem 0; }
  .fx-slider-track { column-gap: 1.25rem; }
  .fx-slide { flex-basis: calc((100% - 1.25rem) / 2); }
  .fx-slider-arrow { width: 38px; height: 38px; top: 32%; }
}
@media (prefers-reduced-motion: reduce) {
  img.fx-img, .fx-feature-img img, .fx-index-tile img { transition: none; }
  html:has(body.home) { scroll-behavior: auto; }
}

/* ── Collection names are links to that collection's own gallery page ── */
.collection-title a { color: inherit; border-bottom: 2px solid transparent; transition: border-color 0.2s, color 0.2s; }
.collection-title a:hover { color: var(--terra); border-bottom-color: var(--terra); }
.qv-eyebrow a { color: inherit; border-bottom: 1px solid transparent; }
.qv-eyebrow a:hover { border-bottom-color: currentColor; }
.collection-back {
  display: inline-block; margin-bottom: 1.75rem; color: var(--text-dim);
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.collection-back:hover { color: var(--terra); }
body.collection-page .collection { padding-bottom: 2.5rem; min-height: 60vh; }
body.collection-page .fx-finale { margin-top: 0; }
body.collection-page .collection-head { padding-top: 3rem; }

/* ── "From the collection X" + product id ── */
.collection-item-from { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.collection-item-code { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--text-dim); }
.qv-title a { color: inherit; }
.qv-title a:hover { color: var(--terra); }
.qv-code { margin-top: 0.6rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 760px) {
  .collection-item-from { font-size: 0.48rem; letter-spacing: 0.08em; }
  .collection-item-code { font-size: 0.6rem; }
}

/* Christmas gifting band: the wrapped painting is a cut-out, shown whole */
.artist-strip-photo.is-gift { background: none; aspect-ratio: 1; width: min(300px, 38%); overflow: visible; transition: transform 0.45s var(--ease); }
.artist-strip-photo.is-gift:hover { transform: translateY(-6px); }
.artist-strip-photo.is-gift img { object-fit: contain; filter: drop-shadow(0 16px 18px rgba(40,30,22,0.22)); }
.artist-strip-inner:has(.is-gift) { gap: 3.5rem; padding: 2.75rem 3rem; }
.artist-strip-inner:has(.is-gift) .artist-strip-text h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; }
.artist-strip-inner:has(.is-gift) .artist-strip-text p:not(.section-eyebrow) { font-size: 0.98rem; }
@media (max-width: 640px) {
  .artist-strip-photo.is-gift { width: min(300px, 78%); align-self: center; }
  .artist-strip-inner:has(.is-gift) { gap: 1.75rem; padding: 1.75rem 1.5rem; }
}

/* ── Collection page: one work shown large beside the statement ── */
.col-hero {
  max-width: 1300px; margin: 0 auto; padding: 3rem 2rem 1.5rem;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 4rem; align-items: center;
}
body.home .col-hero .collection-head { max-width: none; padding: 0; }
.col-hero-work { min-width: 0; }
.col-hero .fx-slider { max-width: none; margin: 0; padding: 0; }
.fx-slider.is-single .fx-slider-track { column-gap: 0; padding: 0; }
.fx-slider.is-single .fx-slide { flex: 0 0 100%; aspect-ratio: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.fx-slider.is-single .fx-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.fx-slider.is-single .fx-slider-arrow { top: 50%; transform: translateY(-50%); }
.col-hero-cap { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.25rem; font-size: 0.95rem; color: var(--text-dim); }
.col-hero-cap .collection-viewall { margin: 0 0 0 auto; }
.col-hero-code { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.1em; color: var(--text); }
@media (max-width: 860px) {
  .col-hero { grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem 1.25rem 1rem; }
}

/* ── Quick view: framed / unframed choice ── */
.qv-options { border: 0; padding: 0; margin: 1.4rem 0 0; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.qv-options legend { padding: 0; margin-bottom: 0.6rem; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.qv-options label { flex: 1; min-width: 130px; cursor: pointer; }
.qv-options input { position: absolute; opacity: 0; pointer-events: none; }
.qv-options span {
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem;
  padding: 0.85rem 1rem; border: 1px solid var(--border-mid); font-size: 0.82rem; transition: border-color 0.2s, background 0.2s;
}
.qv-options span b { font-weight: 500; }
.qv-options input:checked + span { border-color: var(--text); background: #faf8f5; }
.qv-options input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.qv-options:disabled label { cursor: default; opacity: 0.6; }
.qv-options + .qv-add { margin-top: 1rem; }

/* ── Collection page: spotlight work (details left, sliding gallery right) ── */
.col-spot { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); padding-top: 3.5rem; margin-top: 2rem; border-top: 1px solid var(--border); }
.col-spot-code { margin-top: 1rem; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.1em; }
.col-spot-price { margin-top: 0.35rem; font-size: 0.98rem; color: var(--text-dim); }
.fx-slider.is-single.is-wide .fx-slide { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .col-spot { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 2rem; margin-top: 1.5rem; } .col-spot .col-hero-work { order: -1; } .col-hero .collection-head { margin: 0; } }

/* ── Collection page: the last two works, side by side ── */
.col-pair { max-width: 1300px; margin: 0 auto; padding: 2.5rem 2rem 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.col-pair-tile { cursor: pointer; }
.col-pair-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f3f1ee; }
.col-pair-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.5s var(--ease), transform 0.9s var(--ease); }
.col-pair-tile:hover .col-pair-img img { transform: scale(1.03); }
.col-pair-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1rem; font-size: 0.95rem; color: var(--text-dim); }
.col-pair-sold { position: absolute; top: 1rem; left: 1rem; background: #fff; color: var(--text); padding: 0.45rem 0.85rem; font-family: var(--font-display); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.col-pair-tile.is-sold .col-pair-img img { filter: saturate(0.82); }
@media (max-width: 760px) { .col-pair { grid-template-columns: 1fr; gap: 1.75rem; padding: 2rem 1.25rem 0.5rem; } }

/* Small-print note for a collection (e.g. gift packaging may vary) */
.collection-note, .qv-note { margin-top: 1rem; max-width: 620px; font-size: 0.78rem; line-height: 1.7; font-style: italic; color: var(--text-muted); }

/* Statements with several paragraphs */
.collection-desc + .collection-desc, .qv-desc + .qv-desc { margin-top: 0.9rem; }
/* The large closing picture on a collection page sits inside the section */
.collection > .fx-feature { padding-top: 3rem; }

/* ── Home workshop block: same edges as the blocks above it ── */
.home-workshop { padding: 4rem 2rem 4.5rem; }
.home-workshop-head { margin-bottom: 2rem; }
.home-workshop-tagline { margin-top: 0.85rem; max-width: 36rem; font-size: 0.98rem; line-height: 1.7; font-weight: 300; color: var(--text-dim); }
.home-workshop-text { padding: 3rem clamp(2rem, 5vw, 4.5rem); }
.home-workshop-text > p { max-width: 34rem; }
@media (max-width: 760px) {
  .home-workshop { padding: 2.5rem 1.25rem 3rem; }
  .home-workshop-head { margin-bottom: 1.5rem; }
  .home-workshop-tagline { margin-top: 0.6rem; font-size: 0.92rem; }
  .home-workshop-text { padding: 1.75rem 1.5rem; }
}

/* ── Collection page on a phone: two works per row, so the captions have room ── */
@media (max-width: 600px) {
  body.collection-page .collection-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  body.collection-page .collection-item-from { font-size: 0.54rem; letter-spacing: 0.1em; }
  body.collection-page .collection-item-title { font-size: 0.66rem; }
  body.collection-page .collection-item-code { font-size: 0.66rem; }
  body.collection-page .collection-item-price, body.collection-page .collection-item-note { font-size: 0.74rem; }
}

/* ── Home: hovering a work shows it gift-wrapped with ribbon ── */
.collection-item.has-hover img.tile-hover { opacity: 0; }
@media (hover: hover) {
  .collection-item.has-hover:hover img.tile-hover { opacity: 1; }
  .collection-item.has-hover:hover img.fx-img { opacity: 0; }
}

/* ── Phone-only adjustments to the home page ── */
.m-only { display: none; }
@media (max-width: 640px) {
  .m-only { display: revert; }
  .d-only { display: none; }
  /* the four collection names under the workshop strip are not shown */
  body.home:not(.collection-page) .gallery-controls-bar { display: none; }
  /* each statement is cut to one line; the link under it opens the full collection */
  body.home:not(.collection-page) .collection-desc {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; overflow: hidden;
  }
  body.home:not(.collection-page) .collection-desc + .collection-desc,
  body.home:not(.collection-page) .collection-note { display: none; }
  body.home:not(.collection-page) .collection-viewall { margin-top: 0.75rem; }
  /* names on the collection pictures, slightly smaller */
  body.home:not(.collection-page) .fx-index-label strong { font-size: 0.8rem; }
}

/* ── Phone-only adjustments to the collection pages ── */
.collection-next { display: none; }
@media (max-width: 640px) {
  /* no "All collections" link at the top; a link to the next collection at the bottom instead */
  body.collection-page .collection-back { display: none; }
  .collection-next {
    display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
    margin: 2.5rem 1.25rem 0; padding-top: 1.75rem; border-top: 1px solid var(--border); text-align: center;
  }
  .collection-next span { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
  .collection-next .collection-viewall { margin-top: 0; font-size: 0.8rem; }
  /* under the large work at the top: product id and price centred, "View & buy" centred below */
  .col-hero:not(.col-spot) .col-hero-cap {
    display: grid; grid-template-columns: auto auto; justify-content: center; align-items: baseline;
    column-gap: 1.25rem; row-gap: 0.8rem; text-align: center;
  }
  .col-hero:not(.col-spot) .col-hero-cap .collection-viewall { grid-column: 1 / -1; justify-self: center; margin: 0; }
}
