/* ==========================================================================
   Zehra's Canvas — "Gallery at dusk"
   Warm ivory gallery walls, deep ink night sections, hand-gilded gold accents.
   ========================================================================== */

:root {
  --ink: #17131f;
  --ink-2: #221b2e;
  --ink-3: #2e2540;
  --paper: #fbf8f2;
  --ivory: #f4eee3;
  --wall: #efe7da;
  --line: #e4d9c6;
  --text: #2b2431;
  --muted: #776d7d;
  --gold: #b0823a;
  --gold-2: #d4b06a;
  --gold-3: #f0dcae;
  --burgundy: #7b2333;
  --wa: #1f9d55;
  --wa-dark: #178045;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --shadow-art: 0 1px 2px rgba(23, 19, 31, .12), 0 12px 28px -8px rgba(23, 19, 31, .35);
  --shadow-soft: 0 10px 40px -18px rgba(23, 19, 31, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

/* Smooth cross-page transitions: the artwork morphs from the grid into its page */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ------------------------------------------------------------- typography */
.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
}
.display em { font-style: italic; color: var(--gold); font-weight: 400; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0 0 1em; }
.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .9rem;
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-light { color: var(--gold-2); }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.btn svg { font-size: 1.15em; }
.btn-gold { --bg: linear-gradient(135deg, #c99a4b, #a77629 55%, #c99a4b); --fg: #fff; background-size: 200% 100%; background-image: var(--bg); }
.btn-gold:hover { background-position: 100% 0; }
.btn-wa { --bg: var(--wa); --fg: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn-outline:hover { --bg: var(--ink); --fg: #fff; background: var(--ink); }
.btn-ghost-light { --bg: transparent; --fg: #f7efe0; border-color: rgba(240, 220, 174, .45); }
.btn-ghost-light:hover { background: rgba(240, 220, 174, .08); border-color: var(--gold-2); }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn-text { background: none; border: 0; padding: .4rem 0; display: inline-flex; gap: .5rem; align-items: center; color: var(--muted); font-size: .9rem; }
.btn-text:hover { color: var(--gold); }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(251, 248, 242, .97); }
.site-header { transition: background .3s, border-color .3s, transform .45s var(--ease); view-transition-name: site-header; }
.site-header.is-hidden { transform: translateY(-100%); }
body.nav-open .site-header { transform: none; }
.page-home .site-header:not(.is-scrolled) { background: var(--ink); color: #f6eedf; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark { width: 34px; height: 34px; color: var(--gold); transition: transform 1.2s var(--ease); }
.brand:hover .brand-mark { transform: rotate(45deg); }
.brand-text { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .01em; line-height: 1; }
.brand-text em { font-style: italic; font-weight: 400; color: var(--gold); }
/* The artist's emblem on desktop; the compact star mark on phones */
.brand-logo { display: none; }
@media (min-width: 901px) {
  .brand-logo { display: block; width: 58px; height: 58px; border-radius: 50%; object-fit: cover; margin: -6px 0; box-shadow: 0 0 0 1px rgba(176,130,58,.28), 0 6px 16px -8px rgba(60,40,20,.45); transition: transform .8s var(--ease), box-shadow .4s; }
  .brand:hover .brand-logo { transform: rotate(-8deg) scale(1.04); box-shadow: 0 0 0 1px rgba(176,130,58,.6), 0 10px 22px -8px rgba(60,40,20,.5); }
  .site-header .brand-mark { display: none; }
}
.page-home .site-header:not(.is-scrolled) .brand-text em { color: var(--gold-2); }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav > a:not(.btn) { text-decoration: none; font-size: .9rem; font-weight: 500; position: relative; padding: .3rem 0; }
.main-nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav > a:not(.btn):hover::after, .main-nav > a.is-active::after { transform: scaleX(1); }
.main-nav > a:not(.btn):hover { color: inherit; }
.nav-cta { padding: .6rem 1.1rem; font-size: .85rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.nav-toggle span:not(.sr-only) { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ============================================================ SPOTLIGHT ROOM */
.room {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(42% 55% at 68% 42%, rgba(120, 70, 60, .28), transparent 70%),
    radial-gradient(120% 90% at 70% 0%, #2a2133 0%, #17121d 55%, #110d15 100%);
  color: #f3ead9;
  padding: clamp(1.5rem, 4vh, 3.5rem) 0 clamp(6.5rem, 14vh, 9rem);
}
.room-texture { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .9 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.room-watermark {
  position: absolute; z-index: -1; left: -3vw; bottom: 2vh;
  font-family: "Aref Ruqaa", serif; font-weight: 700; line-height: 1;
  font-size: clamp(12rem, 26vw, 26rem);
  color: transparent; -webkit-text-stroke: 1px rgba(212, 176, 106, .13);
  pointer-events: none; user-select: none;
}
.room-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.room-title { font-size: clamp(2.6rem, 1.1rem + 3.7vw, 4.9rem); line-height: .96; margin-bottom: 1.5rem; color: #fbf3e2; font-weight: 500; }
.room-title .line { display: block; }
.room-title em {
  display: block; font-weight: 400; padding-bottom: .08em;
  background: linear-gradient(100deg, #f3dfaa 0%, #c9994a 30%, #f6e4b4 50%, #b88a3e 70%, #e9cf91 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gilt 9s ease-in-out infinite alternate;
}
@keyframes gilt { to { background-position: 100% 0; } }
.room-lead { font-size: 1.05rem; max-width: 30rem; color: #c3b8c8; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.room-stage { position: relative; height: clamp(300px, 56vh, 600px); }
.room-stage::before { /* pool of light on the wall */
  content: ""; position: absolute; left: 50%; top: 46%; width: 115%; aspect-ratio: 1.4; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(255, 226, 170, .2), rgba(255, 226, 170, .06) 55%, transparent 75%);
  pointer-events: none; transition: opacity .6s;
}
.room-lamp { position: absolute; z-index: 3; left: 50%; top: -1.6rem; width: 54px; height: 12px; translate: -50% 0; border-radius: 3px 3px 10px 10px; background: linear-gradient(#3a3240, #1d1822); box-shadow: 0 6px 18px 2px rgba(255, 220, 160, .45), inset 0 -2px 0 rgba(255, 230, 180, .9); }
.room-lamp::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 3rem; translate: -50% 0; background: #2b2430; }
.room-beam {
  position: absolute; z-index: 1; left: 50%; top: -1.2rem; width: 120%; height: 110%; translate: -50% 0;
  background: linear-gradient(180deg, rgba(255, 232, 186, .22), rgba(255, 232, 186, .05) 70%, transparent);
  clip-path: polygon(47% 0, 53% 0, 88% 100%, 12% 100%);
  filter: blur(14px); mix-blend-mode: screen; pointer-events: none;
  transition: opacity .5s var(--ease);
}
.room.is-switching .room-beam, .room.is-switching .room-stage::before { opacity: .15; }

.room-slide {
  position: absolute; inset: 0; margin: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  --cw: min(40vh * var(--ar), 26vw, 400px * var(--ar));
  opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s;
}
.room-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ease) .25s, visibility 0s; }
.room-canvas {
  display: block; flex: none; aspect-ratio: var(--ar);
  width: var(--cw); height: auto;
  box-shadow: 0 2px 3px rgba(0,0,0,.45), 6px 8px 0 -2px rgba(0,0,0,.35), 0 40px 70px -25px rgba(0,0,0,.9);
  transform: translateY(16px) scale(.985); transition: transform 1.4s var(--ease) .2s;
}
.room-slide.is-active .room-canvas { transform: none; }
.room-canvas img { width: 100%; height: 100%; object-fit: cover; }
.room-canvas::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 240, 210, .12), transparent 45%, rgba(0,0,0,.18)); pointer-events: none; }
.room-canvas { position: relative; }

.wall-label {
  position: absolute; left: calc(50% + var(--cw) / 2 + clamp(1.2rem, 2.4vw, 2.4rem)); top: 50%; translate: 0 -30%;
  width: 184px;
  display: grid; gap: .2rem; padding: 1rem 1.1rem 1.05rem;
  background: #f5eee1; color: var(--ink); font-size: .76rem; line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0,0,0,.3), 0 16px 30px -12px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease) .6s, transform .8s var(--ease) .6s;
}
.room-slide.is-active .wall-label { opacity: 1; transform: none; }
.room-slide.is-wide .wall-label { left: calc(50% + var(--cw) / 2 - 184px); top: calc(50% + var(--cw) / var(--ar) / 2 + 1.6rem); translate: none; }
.room-slide.is-wide .room-canvas { margin-top: -5.5rem; }
.wall-label .wl-no { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.wall-label strong { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; line-height: 1.15; margin: .1rem 0 .2rem; }
.wall-label .wl-artist { font-style: italic; color: #5d5463; }
.wall-label span { color: var(--muted); }
.wall-label .wl-price { color: var(--ink); font-weight: 700; margin-top: .3rem; display: flex; align-items: center; gap: .4rem; }
.wall-label a { margin-top: .55rem; padding-top: .55rem; border-top: 1px solid #e1d6c3; font-weight: 700; text-decoration: none; display: flex; align-items: center; justify-content: space-between; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.wall-label a svg { transition: transform .3s var(--ease); }
.wall-label a:hover svg { transform: translateX(4px); }
.red-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #c0392b; box-shadow: 0 0 0 2px rgba(192, 57, 43, .2); }

.room-floor { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: clamp(5.5rem, 15vh, 9rem);
  background:
    radial-gradient(40% 120% at 68% 0%, rgba(255, 220, 160, .1), transparent 70%),
    linear-gradient(180deg, #2a2129 0%, #19141c 30%, #0f0c12 100%);
  border-top: 1px solid rgba(255, 230, 190, .08);
}
.room-floor::before { /* skirting board */ content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; background: linear-gradient(#211a24, #2b222d); }
.room-nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(1.6rem, 5vh, 2.8rem); display: flex; align-items: center; gap: 1.6rem; }
.room-count { font-family: var(--serif); display: flex; align-items: baseline; gap: .5rem; color: #8f8497; }
.room-count b { font-size: 2.2rem; font-weight: 500; color: var(--gold-2); font-style: italic; line-height: 1; }
.room-progress { flex: 0 1 220px; height: 1px; background: rgba(240, 220, 174, .2); position: relative; overflow: hidden; }
.room-progress i { position: absolute; inset: 0; background: var(--gold-2); transform-origin: left; transform: scaleX(0); }
.room-progress i.is-running { animation: progress var(--dur, 7s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.room-arrows { display: flex; gap: .6rem; order: -1; }
.room-arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(240, 220, 174, .3); background: transparent; color: #eadfcb; display: grid; place-items: center; transition: all .3s var(--ease); }
.room-arrows button:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); }
.room-arrows svg { width: 20px; height: 20px; }

/* ================================================================ STATEMENT */
.statement { padding: clamp(5rem, 13vw, 10rem) 0 clamp(4rem, 9vw, 7rem); text-align: center; max-width: 62rem; }
.statement-text { font-family: var(--serif); font-size: clamp(1.75rem, 1rem + 2.7vw, 3.35rem); line-height: 1.24; font-weight: 500; color: var(--ink); margin: 0 auto; letter-spacing: -.01em; }
.statement-text em { color: var(--gold); }
.statement-text .w { opacity: .13; transition: opacity .35s linear; }
.statement-text .w.on { opacity: 1; }
.statement-sign { margin-top: 2.4rem; display: grid; justify-items: center; gap: .2rem; }
.statement-sign span { font-family: "Aref Ruqaa", serif; font-size: 3.4rem; color: var(--gold); line-height: 1.2; }
.statement-sign small { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sec-no { font-family: var(--serif); font-style: italic; font-size: 1.05rem; letter-spacing: 0; text-transform: none; font-weight: 500; }

/* ================================================================== CORRIDOR */
.corridor {
  position: relative;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(255, 249, 235, .9), transparent 70%),
    linear-gradient(180deg, #f1e9dc, #e9dfcf);
}
.corridor::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.corridor-sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; gap: clamp(.8rem, 2.5vh, 1.8rem); overflow: hidden; }
.corridor-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 3rem; flex-wrap: wrap; }
.corridor-head .display { margin: 0; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); }
.corridor-note { max-width: 23rem; color: var(--muted); font-size: .92rem; margin: 0; }
.corridor-view {
  --u: clamp(34px, calc((100vh - 360px) / 8.4), 82px);
  --floor: calc(var(--u) * .9);
  position: relative; height: calc(var(--u) * 7.4 + var(--floor)); flex: none;
}
.corridor-track {
  position: absolute; z-index: 1; left: 0; bottom: var(--floor); height: calc(var(--u) * 7.4);
  display: flex; align-items: stretch; gap: calc(var(--u) * 2.4);
  padding: 0 max(1.25rem, calc((100vw - var(--container)) / 2)); will-change: transform;
}
.cw, .cw-end, .cw-visitor { position: relative; flex: none; height: 100%; text-decoration: none; color: inherit; }
.cw { width: calc(var(--w) * var(--u)); }
.cw-canvas, .cw-end-frame {
  position: absolute; left: 0; width: 100%; height: calc(var(--h) * var(--u));
  bottom: calc((4.75 - var(--h) / 2) * var(--u));
}
.cw-canvas { box-shadow: 0 1px 1px rgba(30,20,10,.3), 3px 4px 0 -1px rgba(60,45,30,.3), 0 22px 30px -14px rgba(40,28,15,.6); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.cw-canvas img { width: 100%; height: 100%; object-fit: cover; }
.cw-canvas::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,245,220,.14), transparent 45%, rgba(0,0,0,.1)); }
.cw::before { /* each work gets its own spotlight */
  content: ""; position: absolute; left: 50%; top: 0; width: calc(var(--w) * var(--u) + 9 * var(--u)); height: 100%; translate: -50% 0;
  background: radial-gradient(45% 55% at 50% 22%, rgba(255, 244, 214, .9), transparent 70%);
  opacity: .55; transition: opacity .6s; pointer-events: none;
}
.cw:hover::before { opacity: 1; }
.cw:hover .cw-canvas { transform: translateY(-6px); box-shadow: 0 1px 1px rgba(30,20,10,.3), 3px 4px 0 -1px rgba(60,45,30,.3), 0 34px 40px -18px rgba(40,28,15,.6); }
.cw.is-sold .cw-canvas img { filter: saturate(.85); }
.cw-label {
  position: absolute; left: 0; top: calc(100% - (4.75 - var(--h) / 2) * var(--u) + 1.1rem);
  width: max(100%, 10.5rem); display: grid; gap: .05rem; font-size: .74rem; color: var(--muted); line-height: 1.4;
}
.cw-label small { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.cw-label strong { font-family: var(--serif); font-size: 1.08rem; color: var(--ink); font-weight: 600; line-height: 1.2; }
.cw-price { color: var(--ink) !important; font-weight: 700; display: flex; align-items: center; gap: .35rem; }
.cw-end { --w: 2.4; --h: 2; width: calc(var(--w) * var(--u)); }
.cw-end-frame { border: 1.5px dashed var(--gold); display: grid; place-items: center; text-align: center; font-family: var(--serif); font-size: calc(var(--u) * .42); line-height: 1; color: var(--ink); transition: background .4s; }
.cw-end-frame em { color: var(--gold); }
.cw-end:hover .cw-end-frame { background: rgba(255,255,255,.5); }
.cw-visitor { width: calc(var(--u) * 1.6); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; color: rgba(23, 19, 31, .16); }
.cw-visitor svg { width: auto; height: calc(var(--u) * 5.5); }
.cw-visitor span { position: absolute; bottom: calc(var(--u) * 5.5 + .5rem); white-space: nowrap; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eye-line { position: absolute; z-index: 0; left: 0; right: 0; bottom: calc(var(--floor) + 4.75 * var(--u)); border-top: 1px dashed rgba(176, 130, 58, .35); pointer-events: none; }
.eye-line span { position: absolute; left: calc(max(1.25rem, calc((100vw - var(--container)) / 2)) + var(--u) * 1.9); top: -1.5rem; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.corridor-floor { position: absolute; left: 0; right: 0; bottom: 0; height: var(--floor); background: linear-gradient(180deg, #b39878, #9c8163); box-shadow: inset 0 6px 10px -6px rgba(0,0,0,.35); }
.corridor-floor::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: #f6f0e6; border-bottom: 1px solid #d9cdb8; }
.corridor-foot { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.corridor-progress[hidden] { visibility: hidden; }
.corridor-progress { flex: 0 1 320px; height: 2px; background: rgba(23,19,31,.1); position: relative; overflow: hidden; }
.corridor-progress i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
/* native swipe mode (phones, reduced motion) */
.corridor.is-native .corridor-sticky { position: relative; top: 0; height: auto; padding: 4rem 0 3rem; }
.corridor.is-native .corridor-view { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.corridor.is-native .corridor-view::-webkit-scrollbar { display: none; }
.corridor.is-native .corridor-track { position: relative; height: calc(var(--u) * 7.4); width: max-content; }
.corridor.is-native .eye-line, .corridor.is-native .corridor-floor { width: var(--track-w, 100%); right: auto; }

/* ================================================================== CURSOR */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--gold); display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s; opacity: 0; mix-blend-mode: normal; }
.cursor.is-on { opacity: 1; }
.cursor span { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.is-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgba(23, 19, 31, .82); backdrop-filter: blur(4px); }
.cursor.is-label span { opacity: 1; transition-delay: .1s; }
.cursor.is-link { width: 34px; height: 34px; margin: -17px 0 0 -17px; background: rgba(176, 130, 58, .25); }

/* =================================================================== INTRO */
.intro { display: none; }
.has-intro .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 500; background: #15111b; color: var(--gold-2);
  animation: intro-out .9s var(--ease) 1.5s forwards;
}
.intro-inner { display: grid; justify-items: center; gap: 1rem; }
.intro svg { width: 64px; height: 64px; }
.intro svg * { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.1s var(--ease) forwards; }
.intro svg rect:nth-child(2) { animation-delay: .15s; } .intro svg circle { animation-delay: .3s; }
.intro p { margin: 0; font-family: var(--serif); font-size: 1.6rem; color: #f3ead9; opacity: 0; animation: fade .8s var(--ease) .5s forwards; }
.intro p em { color: var(--gold-2); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes intro-out { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------------------------------------------------------------- ribbon */
.ribbon { background: linear-gradient(90deg, #a77629, #d4b06a, #a77629); color: var(--ink); overflow: hidden; padding: .85rem 0; }
.ribbon-track { display: flex; gap: 2rem; width: max-content; animation: marquee 38s linear infinite; font-family: var(--serif); font-size: 1.2rem; font-style: italic; font-weight: 500; white-space: nowrap; }
.ribbon-track i { font-style: normal; font-size: .8rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- sections */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tight { padding: 1rem 0 clamp(3rem, 6vw, 5rem); }
.section-tint { background: var(--ivory); }
.section-dark { background: var(--ink); color: #e9dfee; position: relative; overflow: hidden; }
.section-dark .display { color: #fbf3e2; }
.section-dark .display em { color: var(--gold-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); flex-wrap: wrap; }
.section-head .display { margin-bottom: 0; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-head-center .display { margin-bottom: .6rem; }
.lead-light { color: #bcb1c3; max-width: 40rem; margin: .6rem auto 0; }

.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem); text-align: center; background: radial-gradient(70% 120% at 50% 0%, var(--ivory), var(--paper)); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23b0823a' stroke-width='.3' opacity='.35'%3E%3Crect x='9' y='9' width='22' height='22'/%3E%3Crect x='9' y='9' width='22' height='22' transform='rotate(45 20 20)'/%3E%3Cpath d='M0 20h4M36 20h4M20 0v4M20 36v4'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: radial-gradient(60% 90% at 50% 0%, #000, transparent 75%); -webkit-mask-image: radial-gradient(60% 90% at 50% 0%, #000, transparent 75%); }
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.page-hero .display { font-size: clamp(2.6rem, 1.8rem + 3.5vw, 4.4rem); }
.page-lead { max-width: 38rem; margin: 0 auto; color: var(--muted); font-size: 1.05rem; }

/* ------------------------------------------------------ painting cards */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.8rem, 3.5vw, 3rem) clamp(1rem, 2.5vw, 2rem); }
.art-grid-4 { grid-template-columns: repeat(4, 1fr); }
.art-card { display: flex; flex-direction: column; }
.art-frame {
  --mx: 50%; --my: 0%;
  position: relative; display: grid; place-items: center; isolation: isolate;
  aspect-ratio: 4 / 4.7;
  overflow: hidden; text-decoration: none;
  background:
    radial-gradient(55% 40% at var(--mx) var(--my), rgba(255, 246, 222, .95), transparent 70%),
    radial-gradient(90% 60% at 50% -10%, rgba(255, 244, 218, .7), transparent 70%),
    linear-gradient(180deg, #efe7da 0%, #e5dac8 100%);
  transition: --mx .2s, --my .2s;
}
.art-frame::before { /* plaster texture */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.art-frame::after { /* skirting shadow at the bottom of the wall */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(120, 96, 66, .12));
}
.section-tint .art-frame { background:
    radial-gradient(55% 40% at var(--mx) var(--my), rgba(255, 250, 236, 1), transparent 70%),
    radial-gradient(90% 60% at 50% -10%, rgba(255, 249, 236, .8), transparent 70%),
    linear-gradient(180deg, #f8f2e7, #ede3d2); }

/* the hung canvas */
.art-canvas { position: relative; display: block; max-width: 72%; max-height: 66%; line-height: 0; transform: translateY(-4%); transition: transform .7s var(--ease); }
.art-canvas img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  max-height: calc((4.7 / 4) * 100cqw * .66);
  box-shadow:
    0 1px 1px rgba(30, 20, 10, .25),
    3px 4px 0 -1px rgba(60, 45, 30, .25),
    0 22px 30px -14px rgba(40, 28, 15, .55),
    0 40px 60px -30px rgba(40, 28, 15, .35);
}
.art-frame { container-type: inline-size; }
.art-canvas::after { /* light falling from above onto the canvas */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 245, 220, .14), transparent 40%, rgba(0, 0, 0, .1));
}
.art-room, .art-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-room { opacity: 0; transform: scale(1.06); transition: opacity .6s var(--ease) .1s, transform 1.4s var(--ease); z-index: 1; }
.art-room-tag { position: absolute; z-index: 2; right: .9rem; bottom: .9rem; font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: rgba(23,19,31,.55); backdrop-filter: blur(6px); padding: .35rem .65rem; opacity: 0; transform: translateY(6px); transition: all .5s var(--ease) .2s; }
.art-photo { transition: transform 1.2s var(--ease); }
.art-card:hover .art-canvas { transform: translateY(-7%); }
.art-card:hover .art-room { opacity: 1; transform: scale(1); }
.art-card:hover .art-room-tag { opacity: 1; transform: none; }
.art-card:hover .art-photo { transform: scale(1.05); }
.art-card.is-sold .art-canvas img, .art-card.is-sold .art-photo { filter: saturate(.8); }
.card-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: var(--gold); opacity: .5; }
.card-noimg svg { width: 64px; height: 64px; }

.art-label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.15rem .1rem 0; border-top: 0; }
.art-label-main { min-width: 0; }
.art-title { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.15; margin: 0 0 .3rem; letter-spacing: -.005em; }
.art-title a { text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.art-card:hover .art-title a { background-size: 100% 1px; color: inherit; }
.art-mood { font-family: var(--serif); font-style: italic; font-size: 1.02rem; line-height: 1.35; color: #5d5263; margin: 0 0 .35rem; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.art-meta { font-size: .8rem; color: var(--muted); margin: 0; letter-spacing: .01em; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.art-price { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; margin: 0; white-space: nowrap; color: var(--ink); }
.is-sold .art-price { color: var(--burgundy); font-style: italic; font-weight: 500; }

.badge { position: absolute; top: 1rem; left: 1rem; z-index: 3; font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: .38rem .75rem; border-radius: 2px; }
.badge-sold { background: var(--burgundy); color: #fff; }
.badge-sold::before { content: "●"; font-size: .5rem; margin-right: .45rem; vertical-align: 2px; color: #f3b3bd; }
.badge-reserved { background: var(--gold-3); color: #5c4313; }
.badge-lg { font-size: .74rem; padding: .5rem .95rem; }

/* ----------------------------------------------------------- categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 260px)); justify-content: center; gap: clamp(1.25rem, 3vw, 2.5rem); }
.cat-tile { position: relative; aspect-ratio: 3 / 4.2; overflow: hidden; display: flex; align-items: flex-end; text-decoration: none; color: #fff; background: var(--ink-2); border-radius: 999px 999px 4px 4px; box-shadow: var(--shadow-soft); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(23,19,31,.88)); }
.cat-tile::before { content: ""; position: absolute; inset: 10px; z-index: 1; border: 1px solid rgba(240,220,174,.45); border-radius: 999px 999px 2px 2px; pointer-events: none; transition: inset .6s var(--ease); }
.cat-tile:hover { color: #fff; }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile:hover::before { inset: 16px; }
.cat-tile-body { position: relative; z-index: 2; padding: 1.6rem 1.4rem 1.8rem; display: grid; text-align: center; width: 100%; }
.cat-tile-body strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1.15; }
.cat-tile-body small { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-3); margin-top: .3rem; }

/* ------------------------------------------------------------ commission */
.commission::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23d4b06a' stroke-width='.3' opacity='.35'%3E%3Crect x='9' y='9' width='22' height='22'/%3E%3Crect x='9' y='9' width='22' height='22' transform='rotate(45 20 20)'/%3E%3Ccircle cx='20' cy='20' r='4.2'/%3E%3Ccircle cx='20' cy='20' r='15.5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; }
.steps { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; position: relative; }
.steps li { padding: 1.8rem 1.5rem; border: 1px solid rgba(212,176,106,.22); background: rgba(255,255,255,.025); border-radius: var(--radius); transition: border-color .3s, transform .3s var(--ease); }
.steps li:hover { border-color: rgba(212,176,106,.6); transform: translateY(-4px); }
.step-n { font-family: var(--serif); font-size: 2.4rem; font-style: italic; color: var(--gold-2); line-height: 1; }
.steps h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: #fbf3e2; margin: .8rem 0 .4rem; }
.steps p { font-size: .92rem; color: #b5aabd; margin: 0; }

/* ----------------------------------------------------------- testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.quote-card { margin: 0; padding: 2rem 1.8rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); position: relative; display: flex; flex-direction: column; }
.quote-card::before { content: "“"; position: absolute; top: -.2rem; right: 1.2rem; font-family: var(--serif); font-size: 6rem; line-height: 1; color: var(--gold-3); }
.stars { color: var(--gold); letter-spacing: .2em; font-size: .9rem; margin-bottom: .6rem; }
.quote-card blockquote { margin: 0 0 1.4rem; font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; color: var(--ink); flex: 1; }
.quote-card figcaption { display: flex; flex-wrap: wrap; gap: .2rem .7rem; align-items: center; font-size: .88rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.quote-card figcaption > span { color: var(--muted); }
.quote-src { margin-left: auto; font-size: .78rem; }
.quote-src a, .quote-src span { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; color: var(--muted); }

/* ----------------------------------------------------------- about teaser */
.about-teaser { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.about-teaser-art { position: relative; width: min(100%, 420px); justify-self: center; }
.about-teaser-art .arch-outline { inset: -16px -16px 16px 16px; border-color: var(--gold); }
.about-teaser-art img { position: relative; z-index: 2; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 6px 6px; box-shadow: var(--shadow-soft); }
.about-teaser p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

/* ----------------------------------------------------------- social cards */
.social-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.social-card { display: grid; gap: .3rem; padding: 2rem; border-radius: var(--radius); text-decoration: none; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); color: inherit; }
.social-card svg { width: 34px; height: 34px; margin-bottom: .8rem; }
.social-card strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.social-card span { color: var(--muted); font-size: .9rem; }
.sc-ig svg { color: #c13584; } .sc-yt svg { color: #e62117; } .sc-fb svg { color: #1877f2; }

/* -------------------------------------------------------------- gallery */
.gallery-tools { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding: 1rem 0 2rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .86rem; font-weight: 500; background: #fff; transition: all .2s; }
.chip small { color: var(--muted); margin-left: .2rem; }
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-active small { color: var(--gold-2); }
.gallery-filters { display: flex; gap: .6rem; }
.gallery-filters select, .field select {
  appearance: none; -webkit-appearance: none;
  padding: .55rem 2.3rem .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%23776d7d' stroke-width='1.5'/%3E%3C/svg%3E") right .9rem center / 10px no-repeat;
  font: inherit; font-size: .86rem; color: var(--text); cursor: pointer;
}
.result-count { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.empty-state { text-align: center; padding: 4rem 1rem; max-width: 32rem; margin: 0 auto; }
.empty-state .eyebrow { justify-content: center; }
.empty-star { width: 70px; height: 70px; color: var(--gold); margin: 0 auto 1.5rem; display: block; }
.empty-state p { color: var(--muted); margin-bottom: 1.8rem; }
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; padding: clamp(2rem, 4vw, 3rem); background: var(--ink); color: #c9bfcf; border-radius: var(--radius); background-image: radial-gradient(80% 140% at 100% 0%, var(--ink-3), transparent 60%); }
.cta-strip .display { color: #fbf3e2; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin-bottom: .4rem; }
.cta-strip p { margin: 0; }

/* -------------------------------------------------------- painting page */
.crumbs { display: flex; gap: .6rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); padding: 1.6rem 0 1.2rem; }
.crumbs a { text-decoration: none; }
.artwork-price { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem; }
.price { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--ink); }
.status-pill { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 999px; }
.status-available { background: #e3f3e8; color: #17703d; }
.status-sold { background: #f6e2e5; color: var(--burgundy); }
.status-reserved { background: #f8eccd; color: #7a5916; }
.artwork-actions { display: grid; gap: .75rem; margin-bottom: 2rem; }
.artwork-actions .btn { width: 100%; }
.hint { font-size: .88rem; color: var(--muted); margin: 0; }
.plaque { margin: 1.5rem 0; padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); display: grid; gap: .7rem; }
.plaque div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; font-size: .92rem; }
.plaque dt { color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding-top: .2rem; }
.plaque dd { margin: 0; font-weight: 500; }
.assurances { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .9rem; color: var(--muted); }
.assurances li { display: flex; gap: .7rem; align-items: flex-start; }
.assurances svg { color: var(--gold); width: 18px; height: 18px; margin-top: .2rem; }
.admin-preview-bar { background: var(--gold-3); color: #5c4313; text-align: center; padding: .6rem 1rem; font-size: .88rem; }

/* ------------------------------------------------------------ VIEWING ROOM */
.vr {
  position: relative; isolation: isolate; overflow: hidden; color: #efe5d3;
  background:
    radial-gradient(45% 60% at 50% 38%, rgba(120, 70, 60, .26), transparent 70%),
    radial-gradient(120% 90% at 50% 0%, #2a2133 0%, #17121d 55%, #110d15 100%);
  padding-bottom: clamp(4.5rem, 11vh, 7rem);
}
.vr::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .9 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.vr-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding: 1.3rem 0 .4rem; position: relative; z-index: 4; }
.crumbs-light { color: #8f8497; padding: 0; }
.crumbs-light a:hover { color: var(--gold-2); }
.vr-tabs { display: inline-flex; padding: 4px; border: 1px solid rgba(240,220,174,.22); border-radius: 999px; background: rgba(255,255,255,.03); }
.vr-tabs button { border: 0; background: none; color: #b9aebf; font-size: .8rem; font-weight: 600; letter-spacing: .02em; padding: .5rem 1rem; border-radius: 999px; transition: all .3s var(--ease); }
.vr-tabs button:hover { color: #fff; }
.vr[data-mode="wall"] [data-mode-btn="wall"], .vr[data-mode="room"] [data-mode-btn="room"], .vr[data-mode="yours"] [data-mode-btn="yours"] { background: var(--gold-2); color: var(--ink); }

.vr-stage { position: relative; height: clamp(380px, 68vh, 720px); }
.vr-pane { position: absolute; inset: 0; display: none; }
.vr[data-mode="wall"] .vr-wall, .vr[data-mode="room"] .vr-room, .vr[data-mode="yours"] .vr-yours { display: grid; animation: pane-in .7s var(--ease); }
@keyframes pane-in { from { opacity: 0; transform: translateY(10px); } }
.vr-wall { place-items: center; }
.vr-wall .room-beam { top: -2rem; width: 80%; height: 115%; }
.vr-wall .room-lamp { top: 0; }
.vr-wall::before { content: ""; position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1.5; translate: -50% -50%; background: radial-gradient(closest-side, rgba(255, 226, 170, .2), rgba(255, 226, 170, .05) 55%, transparent 75%); pointer-events: none; }
.vr-canvas {
  position: relative; z-index: 2; border: 0; padding: 0; background: none; cursor: zoom-in;
  aspect-ratio: var(--ar); width: min(52vh * var(--ar), 62vw, 760px);
  box-shadow: 0 2px 3px rgba(0,0,0,.45), 6px 8px 0 -2px rgba(0,0,0,.35), 0 50px 80px -30px rgba(0,0,0,.9);
}
.vr-canvas img { width: 100%; height: 100%; object-fit: cover; }
.vr-canvas::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,240,210,.12), transparent 45%, rgba(0,0,0,.18)); pointer-events: none; }
.vr-hint { position: absolute; left: 0; right: 0; bottom: -2.6rem; text-align: center; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #7d7385; margin: 0; z-index: 3; }
.vr-room { place-items: center; align-content: center; gap: 1rem; }
.vr-photo { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; }
.vr-photo img { max-height: calc(clamp(380px, 68vh, 720px) - 7rem); max-width: min(80vw, 1000px); width: auto; box-shadow: 0 40px 70px -30px rgba(0,0,0,.9); transition: opacity .3s; }
.vr-thumbs { display: flex; gap: .6rem; justify-content: center; }
.vr-thumbs button { width: 58px; height: 58px; padding: 0; border: 1px solid rgba(240,220,174,.2); background: none; opacity: .55; transition: all .3s; }
.vr-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.vr-thumbs button.is-active, .vr-thumbs button:hover { opacity: 1; border-color: var(--gold-2); }
.vr-floor { position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: clamp(4rem, 10vh, 6rem); background: linear-gradient(180deg, #2a2129 0%, #19141c 30%, #0f0c12 100%); border-top: 1px solid rgba(255, 230, 190, .08); }

.vr-step { position: absolute; z-index: 5; top: 50%; translate: 0 -50%; display: flex; align-items: center; gap: .8rem; color: #b9aebf; text-decoration: none; max-width: 15rem; font-family: var(--serif); font-size: 1.05rem; line-height: 1.2; transition: color .3s; }
.vr-step small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: #7d7385; margin-bottom: .2rem; }
.vr-step svg { flex: none; width: 46px; height: 46px; padding: 12px; border: 1px solid rgba(240,220,174,.25); border-radius: 50%; transition: all .35s var(--ease); }
.vr-step:hover { color: #fff; }
.vr-step:hover svg { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); }
.vr-prev { left: max(1.25rem, calc((100vw - var(--container)) / 2 - 3rem)); }
.vr-next { right: max(1.25rem, calc((100vw - var(--container)) / 2 - 3rem)); text-align: right; }
.vr-step span { opacity: 0; transform: translateX(-6px); transition: all .4s var(--ease); }
.vr-next span { transform: translateX(6px); }
.vr-step:hover span { opacity: 1; transform: none; }

/* loupe */
.loupe { position: fixed; z-index: 150; width: 190px; height: 190px; border-radius: 50%; pointer-events: none; border: 2px solid rgba(240,220,174,.85); box-shadow: 0 20px 40px -10px rgba(0,0,0,.7), inset 0 0 0 1px rgba(0,0,0,.3); background-repeat: no-repeat; opacity: 0; transform: scale(.7); transition: opacity .2s, transform .25s var(--ease); }
.loupe.is-on { opacity: 1; transform: none; }

/* your room */
.vr-yours { place-items: center; padding: 0 1.25rem; }
.yr-empty { position: relative; display: grid; justify-items: center; gap: .7rem; text-align: center; max-width: 30rem; padding: 2.6rem 2rem; border: 1.5px dashed rgba(240,220,174,.35); border-radius: 6px; cursor: pointer; transition: border-color .3s, background .3s; }
.yr-empty:hover { border-color: var(--gold-2); background: rgba(255,255,255,.03); }
.yr-empty input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.yr-icon svg { width: 44px; height: 44px; color: var(--gold-2); }
.yr-empty strong { font-family: var(--serif); font-size: 2rem; font-weight: 500; color: #fbf3e2; }
.yr-empty strong em { color: var(--gold-2); }
.yr-empty > span:not(.btn):not(.yr-icon) { color: #b9aebf; font-size: .92rem; }
.yr-empty small { color: #7d7385; font-size: .75rem; }
.yr-work { display: grid; gap: 1rem; justify-items: center; width: 100%; }
.yr-work[hidden] { display: none; }
.yr-canvas { position: relative; line-height: 0; max-width: 100%; touch-action: none; user-select: none; box-shadow: 0 30px 60px -25px rgba(0,0,0,.9); }
.yr-bg { max-height: calc(clamp(380px, 68vh, 720px) - 6rem); max-width: min(88vw, 1100px); width: auto; }
.yr-art { position: absolute; left: 50%; top: 40%; width: 34%; aspect-ratio: var(--ar); translate: -50% -50%; cursor: grab; box-shadow: 0 3px 4px rgba(0,0,0,.35), 0 18px 30px -10px rgba(0,0,0,.6); }
.yr-art:active { cursor: grabbing; }
.yr-art img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.yr-handle { position: absolute; right: -11px; bottom: -11px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); cursor: nwse-resize; }
.yr-tools { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; justify-content: center; font-size: .82rem; color: #b9aebf; }
.yr-tools label:first-child { display: flex; gap: .6rem; align-items: center; }
.yr-tools input[type=range] { accent-color: var(--gold-2); width: 140px; }

/* details below the stage */
.vr-info { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; padding: clamp(3rem, 6vw, 5rem) 0; }
.vr-title { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); margin-bottom: .6rem; }
.vr-byline { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--muted); margin-bottom: 2rem; }
.vr-byline span { color: var(--gold); margin: 0 .2rem; }
.vr-desc { font-size: 1.12rem; color: #4a4150; line-height: 1.75; max-width: 40rem; }
.vr-desc p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 4rem; line-height: .82; padding: .3rem .6rem 0 0; color: var(--gold); }
.vr-buy { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.vr-buy-card { padding: 2rem; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); display: grid; gap: 0; }
.vr-buy-card .assurances { margin: 0 0 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }

/* deep zoom viewer */
.zoomer { position: fixed; inset: 0; z-index: 400; background: #0d0a10; color: #eadfcb; }
.zoomer[hidden] { display: none; }
.zoomer-stage { position: absolute; inset: 0; overflow: hidden; cursor: grab; touch-action: none; display: grid; place-items: center; }
.zoomer-stage:active { cursor: grabbing; }
.zoomer-stage img { max-width: 92vw; max-height: 86vh; transform-origin: 0 0; will-change: transform; user-select: none; }
.zoomer-ui { position: absolute; top: 1rem; left: 1.25rem; right: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.zoomer-title { font-family: var(--serif); font-size: 1.3rem; margin-right: auto; }
.zoomer-ui button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(240,220,174,.3); background: rgba(13,10,16,.6); color: #fff; font-size: 1.4rem; line-height: 1; }
.zoomer-ui button:hover { background: var(--gold-2); color: var(--ink); }
.zoomer-hint { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #8f8497; margin: 0; pointer-events: none; }

@media (max-width: 900px) {
  .vr-top { justify-content: center; }
  .vr-top .crumbs { display: none; }
  .vr-stage { height: auto; min-height: 62vh; display: grid; }
  .vr-pane { position: relative; inset: auto; grid-area: 1 / 1; padding: 2.5rem 0 3rem; }
  .vr-canvas { width: min(80vw, 46vh * var(--ar)); }
  .vr-step { top: auto; bottom: -3.6rem; translate: none; }
  .vr-step svg { width: 40px; height: 40px; padding: 10px; }
  .vr-step span { display: none; }
  .vr-info { grid-template-columns: minmax(0, 1fr); padding-top: 4.5rem; }
  .plaque div { grid-template-columns: 7rem minmax(0, 1fr); }
  .vr-buy { position: static; }
  .vr-tabs button { padding: .5rem .8rem; font-size: .76rem; }
  .vr-hint { display: none; }
}

/* scale preview */
.scale-section { padding-top: 0; }
.wall-swatches { display: flex; gap: .55rem; }
.wall-swatches button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: var(--sw); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.wall-swatches button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--gold); transform: scale(1.08); }
.wall {
  --wall: #efe6d8;
  position: relative; width: 100%; aspect-ratio: var(--wall-ratio);
  background: radial-gradient(60% 70% at 50% 0%, rgba(255,255,255,.35), transparent 70%), var(--wall);
  border-radius: var(--radius); overflow: hidden; transition: background-color .5s;
  max-height: 75vh; margin-inline: auto;
}
.wall-art { position: absolute; background: center / 100% 100% no-repeat; box-shadow: 0 2px 3px rgba(0,0,0,.18), 0 18px 30px -12px rgba(0,0,0,.45); transition: transform .5s var(--ease); }
.wall-art-outline { background: repeating-linear-gradient(45deg, rgba(176,130,58,.08) 0 8px, transparent 8px 16px), rgba(255,255,255,.35); border: 1.5px dashed var(--gold); box-shadow: none; display: grid; place-items: center; }
.wall-art-label { font-family: var(--serif); font-style: italic; color: var(--gold); text-align: center; padding: .3rem; font-size: clamp(.7rem, 1.6vw, 1rem); }
.wall-gap { position: absolute; top: 0; bottom: 0; background: var(--wall); }
.dim { position: absolute; font-size: clamp(.62rem, 1.3vw, .78rem); font-weight: 600; letter-spacing: .05em; color: rgba(23,19,31,.65); white-space: nowrap; }
.dim-w { left: 0; right: 0; top: calc(100% + 6px); text-align: center; border-top: 1px solid rgba(23,19,31,.35); padding-top: 2px; }
.dim-h { top: 0; bottom: 0; left: calc(100% + 8px); writing-mode: vertical-rl; text-align: center; border-left: 1px solid rgba(23,19,31,.35); padding-left: 2px; }
.wall.is-dark .dim { color: rgba(255,255,255,.8); }
.wall.is-dark .dim-w, .wall.is-dark .dim-h { border-color: rgba(255,255,255,.5); }
.sofa { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); }
.floor { position: absolute; left: 0; right: 0; bottom: 0; height: 4%; background: #a98f73; }

/* buy bar (mobile) */
.buy-bar { display: none; }


/* -------------------------------------------------------------- studio */
.studio-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-top: 2rem; }
.studio-collage { position: relative; aspect-ratio: 1 / 1.05; }
.studio-collage img { position: absolute; object-fit: cover; box-shadow: var(--shadow-soft); border: 6px solid #fff; }
.collage-0 { width: 58%; aspect-ratio: 3/4; left: 0; top: 0; border-radius: 999px 999px 4px 4px; }
.collage-1 { width: 44%; aspect-ratio: 3/4; right: 0; top: 22%; border-radius: 999px 999px 4px 4px; }
.collage-2 { width: 40%; aspect-ratio: 1; left: 30%; bottom: 0; border-radius: 50%; }
.studio-text p:not(.eyebrow) { font-size: 1.08rem; color: #4a4150; }
.studio-text p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 4.4rem; line-height: .8; padding: .35rem .6rem 0 0; color: var(--gold); }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); transition: all .25s; }
.socials a:hover { border-color: var(--gold-2); color: var(--gold-2); }
.socials svg { width: 18px; height: 18px; }
.socials-dark a { border-color: var(--line); }
.socials-dark a:hover { border-color: var(--gold); color: var(--gold); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.contact-grid p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; max-width: 30rem; margin-bottom: 1.8rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-list svg { width: 22px; height: 22px; color: var(--gold); }
.contact-list small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a { text-decoration: none; font-weight: 600; word-break: break-word; }

/* -------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #a99eb0; padding: 0; font-size: .92rem; }
.footer-cta { padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 5.5rem); border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 4rem; }
.footer-big { display: inline-flex; align-items: flex-end; gap: clamp(1rem, 3vw, 2.5rem); text-decoration: none; color: #fbf3e2; font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 1.2rem + 6vw, 7rem); line-height: .95; letter-spacing: -.02em; }
.footer-big em { color: var(--gold-2); font-weight: 400; }
.footer-big:hover { color: #fbf3e2; }
.footer-big-arrow { flex: none; width: clamp(64px, 8vw, 120px); height: clamp(64px, 8vw, 120px); border-radius: 50%; border: 1px solid rgba(240,220,174,.35); display: grid; place-items: center; margin-bottom: .6rem; transition: all .5s var(--ease); }
.footer-big-arrow svg { width: 40%; height: 40%; color: var(--gold-2); transition: transform .5s var(--ease); }
.footer-big:hover .footer-big-arrow { background: var(--wa); border-color: var(--wa); }
.footer-big:hover .footer-big-arrow svg { color: #fff; transform: rotate(-45deg); }
.footer-cta p { color: #8f8497; margin: 1.4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3rem; }
.brand-light { color: #f6eedf; }
.brand-light .brand-text em { color: var(--gold-2); }
.footer-brand p { margin-top: 1.2rem; max-width: 24rem; }
.footer-h { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin: .5rem 0 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .site-footer a:hover { color: var(--gold-3); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem 0 2rem; font-size: .8rem; color: #7d7385; }

/* floating WhatsApp */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; display: flex; align-items: center; gap: .6rem; background: var(--wa); color: #fff; text-decoration: none; padding: .8rem 1.15rem .8rem .9rem; border-radius: 999px; box-shadow: 0 12px 30px -8px rgba(31,157,85,.6); font-weight: 600; font-size: .9rem; transition: transform .25s var(--ease), background .25s; }
.wa-float:hover { color: #fff; background: var(--wa-dark); transform: translateY(-3px); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.25); opacity: 0; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.is-in, .no-js .reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1024px) {
  .art-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .room { min-height: 0; padding-bottom: 8.5rem; }
  .room-grid { grid-template-columns: 1fr; }
  .room-stage { height: auto; min-height: 0; display: grid; margin-top: 2.5rem; }
  .room-slide { position: relative; grid-area: 1 / 1; flex-direction: column; inset: auto; padding-top: 1.5rem; }
  .room-slide { --cw: min(78vw, 46vh * var(--ar), 420px); gap: 1.4rem; }
  .wall-label { position: relative; left: auto; top: auto; translate: none; width: min(78vw, 300px); }
  .room-slide.is-wide .wall-label { left: auto; top: auto; }
  .room-slide.is-wide .room-canvas { margin-top: 0; }
  .room-beam { width: 160%; }
  .corridor-note { max-width: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); color: var(--text);
    padding: .5rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: all .3s var(--ease);
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav > a:not(.btn) { padding: 1rem .2rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 1rem; padding: .9rem; }
  .about-teaser, .artwork, .studio-intro, .contact-grid { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .art-grid { grid-template-columns: repeat(2, 1fr); }
  .artwork-media { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .about-teaser-art { max-width: 420px; }
  .studio-collage { max-width: 480px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { width: min(var(--container), 100% - 2rem); }
  .brand-text { font-size: 1.35rem; }
  .brand-mark { width: 30px; height: 30px; }
  .art-grid, .art-grid-4 { gap: 1.5rem .9rem; }
  .art-label { flex-direction: column; gap: .25rem; padding-top: .8rem; }
  .art-title { font-size: 1.12rem; }
  .art-meta { font-size: .74rem; }
  .art-price { font-size: 1rem; }
  .art-room-tag { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .cat-tile-body { padding: 1rem .6rem 1.2rem; }
  .cat-tile-body strong { font-size: 1.15rem; }
  .room-watermark { font-size: 11rem; bottom: auto; top: 1rem; left: auto; right: -2rem; }
  .room-nav { gap: 1rem; }
  .room-progress { display: none; }
  .room-arrows button { width: 44px; height: 44px; }
  .statement-sign span { font-size: 2.6rem; }
  .corridor-view { --u: 44px; }
  .footer-big-arrow { display: none; }
  .badge { top: .6rem; left: .6rem; font-size: .6rem; padding: .25rem .5rem; }
  .steps { grid-template-columns: 1fr; }
  .gallery-tools { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .chips { min-width: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -1rem; padding: 0 1rem .4rem; scrollbar-width: none; }
  .chip { white-space: nowrap; }
  .gallery-filters label { flex: 1 1 0; min-width: 0; display: flex; }
  .gallery-filters select { width: 100%; min-width: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .plaque div { grid-template-columns: 1fr; gap: .1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .wa-float span { display: none; }
  .wa-float { padding: .85rem; }
  .section-head { align-items: flex-start; }
  .wall-swatches button { width: 26px; height: 26px; }

  /* sticky buy bar on painting page replaces the floating button */
  .buy-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 61;
    align-items: center; justify-content: space-between; gap: .8rem;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(251,248,242,.96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .buy-bar.is-visible { transform: none; }
  .buy-bar div { display: grid; min-width: 0; }
  .buy-bar strong { font-family: var(--serif); font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar span { font-size: .8rem; color: var(--muted); }
  .buy-bar .btn { padding: .7rem 1rem; font-size: .85rem; }
  body:has(.buy-bar) .wa-float { display: none; }
  body:has(.buy-bar) .site-footer { padding-bottom: 4.5rem; }
}

/* =============================================================== INDEX VIEW */
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.view-toggle a { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.view-toggle a.is-active { background: var(--ink); color: #fff; }
.view-toggle svg { width: 12px; height: 12px; }
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.index-list li { position: relative; isolation: isolate; border-bottom: 1px solid var(--line); }
.index-list a {
  display: grid; grid-template-columns: 3.5rem 1fr 13rem 12rem 9rem; align-items: center; gap: 1.2rem;
  padding: 1.35rem .4rem; text-decoration: none; position: relative; transition: padding .5s var(--ease), color .3s;
}
.index-list a::before { content: ""; position: absolute; inset: 0; background: var(--ivory); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.index-list a:hover::before { transform: scaleY(1); }
.index-list a:hover { padding-left: 1.4rem; color: var(--ink); }
.ix-no { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.05rem; }
.ix-thumb { display: none; }
.ix-title { font-family: var(--serif); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }
.ix-cat, .ix-size { font-size: .82rem; color: var(--muted); }
.ix-price { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; text-align: right; display: flex; align-items: center; justify-content: flex-end; gap: .4rem; }
.is-sold .ix-title { color: #8c838f; }
.is-sold .ix-price { color: var(--burgundy); font-style: italic; font-weight: 500; }
.ix-float { position: fixed; left: 0; top: 0; z-index: 90; width: 260px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%); transition: opacity .3s var(--ease); }
.ix-float.is-on { opacity: 1; }
.ix-float img { width: 100%; box-shadow: 0 30px 60px -20px rgba(23,19,31,.55); }
@media (max-width: 900px) {
  .index-list a { grid-template-columns: 2.2rem 64px 1fr auto; gap: .8rem; padding: 1rem .2rem; }
  .ix-thumb { width: 64px; height: 64px; background: var(--wall); display: grid; place-items: center; }
  .ix-thumb img { max-width: 80%; max-height: 80%; box-shadow: 0 6px 10px -4px rgba(0,0,0,.4); }
  .ix-cat, .ix-size, .ix-float { display: none; }
  .ix-title { font-size: 1.3rem; }
  .ix-price { font-size: 1rem; }
  .gallery-filters { flex-wrap: wrap; }
  .view-toggle { width: 100%; }
  .view-toggle a { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .statement-text .w { opacity: 1; }
  @view-transition { navigation: none; }
}

/* ------------------------------------------------------- announcement bar */
.announce { background: var(--ink); color: #d9cdb6; font-size: .76rem; letter-spacing: .08em; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: .9rem; min-height: 36px; text-align: center; }
.announce p { margin: 0; white-space: pre-wrap; }
.announce svg { width: 13px; height: 13px; color: var(--gold-2); flex: none; }
@media (max-width: 640px) { .announce { font-size: .68rem; letter-spacing: .04em; } .announce svg { display: none; } .announce .container { padding-block: .45rem; } }

/* ------------------------------------------------------- for every space */
.spaces-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; flex-wrap: wrap; }
.spaces-head .display em { color: var(--gold); }
.spaces-note { max-width: 24rem; color: var(--muted); margin: 0; }
.spaces-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.space { position: relative; isolation: isolate; overflow: hidden; min-height: 15rem; padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; color: #f6eedf; text-decoration: none; background: var(--ink); border-radius: 2px; }
.space img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.8); transform: scale(1.06); transition: transform 1.2s var(--ease), opacity .6s; }
.space::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23,19,31,.15) 0%, rgba(23,19,31,.88) 100%); }
.space:hover { color: #fff; }
.space:hover img { transform: scale(1); opacity: .6; }
.space-no { position: absolute; top: 1.2rem; left: 1.5rem; font-family: var(--serif); font-style: italic; color: var(--gold-2); }
.space-body strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1.1; }
.space-body small { display: block; margin-top: .35rem; color: #cdbfa8; font-size: .9rem; }
.space-go { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); opacity: .75; transform: translateY(4px); transition: all .4s var(--ease); }
.space-go svg { width: 15px; height: 15px; }
.space:hover .space-go { opacity: 1; transform: none; }
@media (max-width: 900px) { .spaces-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .spaces-grid { grid-template-columns: 1fr; } .space { min-height: 11rem; } }

/* ------------------------------------------------------- promises */
.promises { border-top: 1px solid var(--line); background: var(--paper); }
.promises-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.promise { padding: 2.4rem 1.6rem 2.4rem 0; }
.promise + .promise { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.promise-no { font-family: var(--serif); font-style: italic; color: var(--gold); }
.promise h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin: .3rem 0 .4rem; }
.promise p { font-size: .88rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .promises-grid { grid-template-columns: 1fr 1fr; } .promise:nth-child(3) { border-left: 0; padding-left: 0; } .promise:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .promises-grid { grid-template-columns: 1fr; } .promise, .promise + .promise { padding: 1.4rem 0; border-left: 0; } .promise + .promise { border-top: 1px solid var(--line); } }

/* ------------------------------------------------------- delivery facts on painting page */
.ship { margin: 0 0 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: grid; gap: .55rem; }
.ship div { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.ship dt { color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding-top: .15rem; }
.ship dd { margin: 0; font-weight: 600; text-align: right; }
.vr-buy-card .ship + .assurances { border-top: 0; padding-top: 0; }
