/*
VOICE: quiet, unhurried, a private viewing; the paintings speak, the page whispers.
IDEA: a small exhibition house: you walk its four rooms, read the wall labels, ask the artist.
PICTURE: a moving wall of all her canvases; elsewhere her canvases, large and framed.
COLOUR and TYPE: warm paper #f7f4ee, deep gallery green #263c32, sage #6f7c63; Instrument Serif + Manrope.
LAYOUT: one wide reading column up to 1240px, glass panels floating over the paintings.
*/
:root {
  color-scheme: light;
  --paper: #f7f4ee;
  --paper-2: #efe9dd;
  --ink: #1f2b25;
  --ink-2: #3c4a42;
  --muted: #5a685e;
  --green: #263c32;
  --green-2: #1b2d25;
  --sage: #6f7c63;
  --line: #ded5c8;
  --display: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", Arial, Helvetica, sans-serif;
  --glass: linear-gradient(145deg, #ffffff99, #ffffff30 65%, #ffffff61), #eef3f2c4;
  --glass-light: linear-gradient(145deg, #ffffff80, #ffffff20 46%, #ffffff54), #eef4f37a;
  --glass-dark: linear-gradient(145deg, #ffffff24, #ffffff05 55%, #ffffff12), #172521cc;
  --glass-edge: #ffffffa6;
  --glass-shadow: 0 8px 30px #15251e1c, 0 2px 6px #15251e0a, inset 0 1px 0 #ffffffd9;
  --blur: blur(18px) saturate(140%);
}
:root[data-theme="dark"],
:root[data-theme="light"] {
  color-scheme: light;
}
* {
  box-sizing: border-box;
  min-width: 0;
}
[hidden] {
  display: none !important;
}
html {
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}
h1 em,
h2 em,
h3 em {
  font-style: normal;
  color: var(--sage);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid #244c3e;
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #f6f3e8;
  font-size: 14px;
  font-weight: 600;
  transition: background 160ms ease, transform 160ms ease;
}
.btn:hover {
  background: var(--green-2);
}
.btn:active {
  transform: scale(0.98);
}
.btn.ghost {
  background: transparent;
  color: var(--green);
  border: 1px solid #26352833;
}
.btn.ghost:hover {
  background: #ffffff8c;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  background: none;
  border: 0;
  padding: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
  padding: 10px max(4vw, 16px);
  background: var(--glass);
  border-bottom: 1px solid #ffffffa6;
  box-shadow: 0 3px 24px #12231a0a;
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.wordmark {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 44px;
  justify-content: center;
  font: 27px/1 var(--display);
  letter-spacing: -0.025em;
}
.wordmark small {
  font: 600 9.5px/1.2 var(--sans);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: #4a5a50;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}
.nav a {
  position: relative;
  padding: 10px 0;
  color: #2d3a33;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 220ms ease;
}
.nav a:hover::after,
.nav a[aria-current]::after {
  width: 100%;
}
.nav a[aria-current] {
  color: var(--green);
}
.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 3px 3px 3px 16px;
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  background: var(--glass-light);
  box-shadow: var(--glass-shadow);
  font-size: 14px;
}
.menu-btn span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #26352826;
}

/* Sheets (menu, room list) */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #14201a40;
  animation: fade 200ms ease both;
}
.sheet {
  position: fixed;
  z-index: 61;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: min(980px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  padding: 26px clamp(20px, 3vw, 40px);
  border: 1px solid var(--glass-edge);
  border-radius: 28px;
  background: linear-gradient(130deg, #f6f8f1f0, #eff3edd9);
  box-shadow: 0 30px 80px #14201a40;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  overflow: auto;
  animation: slide 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.sheet.narrow {
  width: min(520px, calc(100vw - 24px));
}
.sheet-close {
  position: absolute;
  top: 18px;
  right: 18px;
}
.sheet h2 {
  font-size: 40px;
  margin: 6px 0 4px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  margin-top: 26px;
}
.menu-story img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border: 7px solid #756c55;
}
.menu-story p {
  margin-top: 18px;
  font: clamp(26px, 3vw, 40px)/1.06 var(--display);
  color: #25372d;
}
.menu-story p em {
  font-style: normal;
  color: #667956;
}
.menu-nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-height: 58px;
  padding: 12px 6px;
  border-bottom: 1px solid #344c351c;
  font: clamp(26px, 2.8vw, 34px)/1.1 var(--display);
}
.menu-nav a span {
  font: 12px var(--sans);
  color: #4a5d50;
}
.menu-nav a:hover {
  background: #ffffff69;
}
@keyframes fade {
  from { opacity: 0; }
}
@keyframes slide {
  from { opacity: 0; transform: translateX(24px); }
}

/* ---------- Page views ---------- */
.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 80px) max(5vw, 18px) 40px;
}

/* Catalogue */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #26352826;
  border-radius: 999px;
  background: #ffffff8c;
  font-size: 13px;
  white-space: nowrap;
}
.chip[aria-pressed="true"] {
  background: var(--green);
  color: #f6f3e8;
  border-color: var(--green);
}
.search {
  flex: 1 1 260px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #26352826;
  border-radius: 999px;
  background: #fffdf8;
  font-size: 16px;
}
.select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #26352826;
  border-radius: 999px;
  background: #fffdf8;
  font-size: 15px;
}
.count {
  margin: 8px 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 44px 28px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.05;
  padding: 22px;
  background: var(--paper-2);
  transition: background 220ms ease;
}
.card-frame img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  box-shadow: 0 18px 30px -16px #2a1f1259;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.card:hover .card-frame img {
  transform: translateY(-4px);
}
.card h3 {
  font-size: 25px;
}
.card p {
  font-size: 13px;
  color: var(--muted);
}
.card .price {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.more {
  display: flex;
  justify-content: center;
  margin-top: 46px;
}
.empty {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
}

/* Painting detail */
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--ink-2);
}
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.detail-art {
  display: grid;
  place-items: center;
  min-height: min(70vh, 640px);
  padding: clamp(20px, 4vw, 48px);
  background: var(--paper-2);
}
.detail-art img {
  max-height: min(62vh, 600px);
  width: auto;
  box-shadow: 0 26px 44px -20px #2a1f1266, 0 0 0 7px #f9f6ee;
}
.photo-strip {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
}
.photo-strip button {
  flex: none;
  width: 96px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  font-size: 11px;
  text-align: left;
}
.photo-strip button[aria-pressed="true"] {
  border-color: #26352855;
}
.photo-strip img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}
.detail-info h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin: 10px 0 6px;
  color: #263b30;
}
.detail-info .price-big {
  margin-top: 8px;
  font: 40px/1 var(--display);
}
.detail-info .price-note {
  font-size: 12px;
  color: var(--muted);
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.related {
  margin-top: 90px;
}
.related h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 28px;
}

/* Enquiry composer */
.compose {
  margin-top: 26px;
  padding: 22px;
  border-radius: 22px;
  background: #ffffff8c;
  border: 1px solid #26352814;
}
.compose h3 {
  font-size: 28px;
}
.compose p {
  font-size: 14px;
  color: var(--ink-2);
}
.field {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #26352833;
  border-radius: 14px;
  background: #fffdf8;
  font-size: 16px;
  font-weight: 400;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.compose-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.reach {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
}
.reach b {
  user-select: all;
}
.status {
  min-height: 22px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}

/* Artist */
.artist-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}
.artist-grid h2 {
  font-size: clamp(38px, 4.6vw, 62px);
  margin-bottom: 22px;
}
.artist-grid p + p {
  margin-top: 14px;
}
.artist-grid p {
  color: var(--ink-2);
}

.sources {
  margin-top: 40px;
  font-size: 12px;
  color: var(--muted);
}
.sources a {
  text-decoration: underline;
}

/* Spaces */

.scene {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: 50px 0;
  border-top: 1px solid var(--line);
}
.scene:nth-child(even) {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}
.scene:nth-child(even) figure {
  order: -1;
}
.scene h2 {
  font-size: clamp(34px, 4vw, 52px);
  margin: 10px 0 14px;
}
.scene p {
  color: var(--ink-2);
}
.scene figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

/* Contact */

/* Quick 2D gallery */

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 30px;
  max-width: 1240px;
  margin: 60px auto 0;
  padding: 28px max(5vw, 18px) 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.footer a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .detail,
  .artist-grid,
  .contact,
  .scene,
  .scene:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }
  .scene:nth-child(even) figure { order: 0; }
  .menu-grid { grid-template-columns: minmax(0, 1fr); }
  .menu-story { display: none; }
}
@media (max-width: 700px) {
  .site-header { min-height: 72px; }
  .wordmark { font-size: 22px; }
  .wordmark small { display: none; }
  .sheet { inset: 8px; width: auto; border-radius: 24px; padding: 22px 18px; }
  
  
  
  
  
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
[tabindex="-1"]:focus {
  outline: none;
}
/* Photos keep their true proportions inside any frame. */
.detail-art img,
.card-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
}
.card-frame img {
  max-height: 100%;
}
.artist-grid > img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Motion: page transitions, reveals, moving paintings, cursor ring.
   Everything here is off for reduced-motion visitors; heavy effects are off on weak devices.
   ========================================================================== */
:root {
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* Page-to-page transition */
::view-transition-old(root) {
  animation: vt-out 260ms ease both;
}
::view-transition-new(root) {
  animation: vt-in 620ms var(--ease-out) both;
}
@keyframes vt-out {
  to { opacity: 0; transform: translateY(-10px); }
}
@keyframes vt-in {
  from { opacity: 0; transform: translateY(16px); }
}
/* Content rising in as it scrolls into view */
html.motion [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 900ms var(--ease-out),
    transform 1000ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 80ms);
}
html.motion [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
/* Headlines arriving word by word */
html.motion .split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
html.motion .split .w > span {
  display: inline-block;
  transform: translateY(108%);
  transition: transform 1100ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms + 60ms);
}
html.motion .split.is-in .w > span {
  transform: none;
}
/* Header settles into a slimmer bar once you scroll */
.site-header {
  transition: min-height 300ms var(--ease-out), box-shadow 300ms ease, background 300ms ease;
}
.site-header.scrolled {
  min-height: 66px;
  box-shadow: 0 8px 30px #12231a14;
}
/* Painting cards lean toward the cursor */
.card-frame {
  position: relative;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    transform 600ms var(--ease-out),
    background 300ms ease;
}
.card-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), #ffffff6e, transparent 55%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}
.card:hover .card-frame {
  background: #e8e0d0;
}
.card:hover .card-frame::after {
  opacity: 1;
}
.card.tilting .card-frame {
  transition: transform 120ms linear, background 300ms ease;
}
/* A slowly moving wall of paintings */

@keyframes drift {
  to { transform: translateX(-50%); }
}
/* Slow camera drift on interior photographs */
.spaces-hero,
.scene figure {
  overflow: hidden;
}
html.motion .spaces-hero > img,
html.motion .scene figure img {
  animation: kenburns 26s ease-in-out infinite alternate;
  transform-origin: 60% 40%;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08) translate(-1.2%, -0.8%); }
}
/* Soft washes of the paintings' colours drifting behind headlines */
.has-wash {
  position: relative;
  isolation: isolate;
}
.wash {
  position: absolute;
  top: -80px;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  height: 620px;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.wash i {
  position: absolute;
  width: 46vw;
  max-width: 620px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.26;
  will-change: transform;
  backface-visibility: hidden;
}
.wash i:nth-child(1) { left: -8%; top: 10%; background: #3d5bd9; animation: wash-a 26s ease-in-out infinite alternate; }
.wash i:nth-child(2) { right: -6%; top: -10%; background: #e3a83b; animation: wash-b 32s ease-in-out infinite alternate; }
.wash i:nth-child(3) { left: 38%; top: 34%; background: #7f9a74; opacity: 0.22; animation: wash-c 38s ease-in-out infinite alternate; }
@keyframes wash-a { to { transform: translate(18vw, 6vh) scale(1.15); } }
@keyframes wash-b { to { transform: translate(-14vw, 10vh) scale(0.9); } }
@keyframes wash-c { to { transform: translate(-10vw, -8vh) scale(1.2); } }
/* Detail page: the painting is unveiled */
html.motion .detail-art img {
  animation: unveil 1300ms var(--ease-out) both;
}
@keyframes unveil {
  from { clip-path: inset(0 0 100% 0); transform: translateY(18px) scale(1.02); }
  to { clip-path: inset(0 0 0 0); transform: none; }
}
/* Loader */
@keyframes frame-in {
  from { opacity: 0; transform: translateY(24px) scale(0.95); }
}
@keyframes fade-in {
  from { opacity: 0; }
}
@keyframes shimmer {
  to { background-position: -200% 0; }
}
/* 3D overlays */
@keyframes panel-item {
  from { opacity: 0; transform: translateY(14px); }
}
@keyframes panel-in {
  from { opacity: 0; transform: translateX(40px); }
}
@media (max-width: 700px) {
  @keyframes panel-in {
    from { opacity: 0; transform: translateY(40px); }
  }
}
/* Cursor ring (desktop mouse only) */
.cursor {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 74px;
  height: 74px;
  margin: -37px 0 0 -37px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
  will-change: transform;
}
.cursor.on {
  opacity: 1;
}
.cursor i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1.5px solid #263c32b3;
  border-radius: 50%;
  transform: scale(0.46);
  transition:
    transform 350ms var(--ease-out),
    background 300ms ease,
    border-color 300ms ease;
}
.cursor.link i {
  transform: scale(0.68);
  background: #263c321a;
}
.cursor.big i {
  transform: scale(1);
  background: #263c32e6;
  border-color: transparent;
}
.cursor span {
  font: 600 11px/1 var(--sans);
  font-style: normal;
  letter-spacing: 0.08em;
  color: #f6f3e8;
  opacity: 0;
  transition: opacity 200ms ease;
}
.cursor.big span {
  opacity: 1;
}
/* Weak devices keep the motion but drop the costliest effects. */
html.lite-motion .wash,
html.lite-motion .cursor {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .drift-track,
  .wash i {
    animation: none !important;
  }
  .cursor {
    display: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

/* ==========================================================================
   The Exhibition: four rooms as drifting walls of framed paintings.
   ========================================================================== */
/* Seamless loops: spacing lives on each item, so half the track is exactly one cycle. */

.ex-room-2 {
  --wall: linear-gradient(175deg, #e5e8df, #d8ddd1);
  --floor: linear-gradient(180deg, #cdb99b, #bca784);
}
.ex-room-3 {
  --wall: linear-gradient(175deg, #27392f, #1e2d25);
  --floor: linear-gradient(180deg, #6f5c46, #57473a);
  --ink-room: #f3efe4;
  --muted-room: #b9c4b3;
}
.ex-room-4 {
  --wall: linear-gradient(175deg, #efe6e0, #e4d8cf);
  --floor: linear-gradient(180deg, #ccb697, #b9a07c);
}
.ex-room-head {
  display: flex;
  align-items: flex-end;
  gap: clamp(16px, 3vw, 40px);
  max-width: 1240px;
  margin: 0 auto clamp(18px, 3vw, 34px);
  padding: 0 max(5vw, 18px);
}

.ex-room-head h2 {
  margin: 8px 0 6px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
}
.ex-room-head p:not(.eyebrow) {
  color: var(--muted-room);
  font-size: 15px;
}

/* The gallery floor the paintings hang above */

@keyframes ex-drift {
  to { transform: translateX(-50%); }
}

/* A warm pool of light on the wall above each painting */

/* Without motion the wall becomes a row you scroll yourself. */

/* ==========================================================================
   First page
   ========================================================================== */
.home {
  overflow-x: clip;
}
.home .lead {
  max-width: 470px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
}
/* The colour washes fade out at the bottom instead of ending in a line. */
.home .wash {
  -webkit-mask-image: linear-gradient(#000 50%, transparent 96%);
  mask-image: linear-gradient(#000 50%, transparent 96%);
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 26px;
}
.btn.light {
  background: #f6f3e8;
  color: var(--green);
}
.btn.light:hover {
  background: #fff;
}

/* ---------- Sections below the opening screen ---------- */
.h-sec,
.h-artist {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 112px) max(5vw, 18px) 0;
}
.h-sec-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.h-sec-head h2,
.h-artist h2,
.h-spaces h2,
.h-cta h2 {
  margin-top: 12px;
  font-size: clamp(40px, 5.2vw, 76px);
}
.col-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.col-tile {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 10px;
  background: var(--paper-2);
  transition: background 300ms ease;
}
.col-tile:hover {
  background: #e8e0d0;
}
.col-img {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1000ms var(--ease-out);
}
.col-tile:hover .col-img img {
  transform: scale(1.06);
}
.col-txt {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 18px 18px 22px;
}
.col-txt small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.col-txt b {
  font: 400 28px/1.05 var(--display);
  letter-spacing: -0.02em;
}
.col-txt em {
  color: var(--ink-2);
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
}
.h-artist {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.h-artist > img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.h-artist p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 18px;
  color: var(--ink-2);
}
.h-spaces {
  position: relative;
  max-width: 1240px;
  margin: clamp(60px, 8vw, 112px) auto 0;
  padding: 0 max(5vw, 18px);
}
.h-spaces figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
}
.h-spaces figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html.motion .h-spaces figure img {
  animation: kenburns 26s ease-in-out infinite alternate;
  transform-origin: 60% 40%;
}
.h-spaces .glass {
  position: absolute;
  right: calc(max(5vw, 18px) + 28px);
  bottom: 28px;
  max-width: 430px;
  padding: 26px 28px 28px;
  border: 1px solid var(--glass-edge);
  border-radius: 24px;
  background: var(--glass);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.h-spaces .glass h2 {
  font-size: clamp(34px, 3.6vw, 54px);
}
.h-spaces .glass p:not(.eyebrow) {
  margin: 12px 0 20px;
  color: var(--ink-2);
}
.h-cta {
  margin-top: clamp(60px, 8vw, 112px);
  padding: clamp(56px, 8vw, 110px) max(5vw, 24px);
  overflow: hidden;
  background: var(--green);
  color: #f3efe4;
  text-align: center;
}
.h-cta .eyebrow {
  color: #c6d1c4;
}
.h-cta h2 em {
  color: #b9cba6;
}
.h-cta p:not(.eyebrow) {
  max-width: 520px;
  margin: 16px auto 0;
  color: #dfe6dc;
}
.h-cta .home-actions {
  justify-content: center;
}
.h-cta .link {
  color: #f3efe4;
}
.h-cta .wash i {
  opacity: 0.2;
}

/* ---------- The first page: a moving wall of all her paintings ---------- */
.wall-hero {
  position: relative;
  z-index: 1; /* above the colour wash of the next section */
  overflow: hidden;
  isolation: isolate;
  background: #e9e2d4; /* light while the paintings load */
  transition: background-color 1200ms ease;
}
.wall-hero.ready {
  background: #2b2a25; /* the thin seams between paintings */
}
.moving-hero {
  display: grid;
  place-items: center;
  min-height: calc(100svh - 84px);
  padding: 48px 0 84px;
}
.wall-scene {
  position: absolute;
  inset: -12%;
  z-index: -2;
  transition: transform 1400ms var(--ease-out);
}
.wall-tilt {
  position: absolute;
  inset: 0;
  transform: rotate(-8deg) scale(1.08);
  transition: transform 2200ms var(--ease-out);
}
.wall-hero.ready .wall-tilt {
  transform: rotate(-8deg);
}
.wall-rows {
  position: absolute;
  top: 50%;
  left: -20%;
  display: grid;
  gap: var(--gap, 4px);
  translate: 0 -50%;
  opacity: 0;
  transition: opacity 1200ms ease;
}
.wall-hero.ready .wall-rows {
  opacity: 1;
}
.wall-row {
  display: flex;
  margin-left: var(--off, 0);
}
.wall-track {
  display: flex;
  flex: none;
  width: max-content;
  animation: wall-drift var(--dur, 200s) linear infinite;
  will-change: transform;
}
.wall-row.rev .wall-track {
  animation-direction: reverse;
}
.wall-row:hover .wall-track,
.wall-hero.asleep .wall-track {
  animation-play-state: paused;
}
@keyframes wall-drift {
  to { transform: translate3d(-50%, 0, 0); }
}
.wall-track a {
  position: relative;
  flex: none;
  height: var(--h, 140px);
  margin-right: var(--gap, 4px);
  background-color: #3a3832;
  background-repeat: no-repeat;
  transition: transform 500ms var(--ease-out), box-shadow 400ms ease;
}
.wall-track a:hover {
  z-index: 1;
  transform: scale(1.12);
  box-shadow: 0 18px 40px -12px #000a;
}
.wall-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 38% 46% at 50% 50%, #f7f4eecc 0%, #f7f4ee80 50%, #f7f4ee00 100%),
    linear-gradient(to bottom, #f7f4ee00 88%, #f7f4eeb3 100%);
}
.moving-panel {
  position: relative;
  width: min(640px, calc(100% - 32px));
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid #ffffffb3;
  border-radius: 30px;
  background: linear-gradient(145deg, #fffffff5, #fbf9f4eb 60%, #fffffff5);
  box-shadow: 0 40px 90px -30px #000c, inset 0 1px 0 #fff;
  text-align: center;
}
.moving-panel h1 {
  margin: 14px 0 18px;
  font-size: clamp(54px, 7.6vw, 116px);
  line-height: 0.9;
  letter-spacing: -0.045em;
}
.moving-panel h1 em {
  display: block;
}
.moving-panel .lead {
  margin: 0 auto;
}
.moving-panel .home-actions {
  justify-content: center;
}
.moving-stats {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 5vw, 52px);
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid #26352820;
}
.moving-stats div {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.moving-stats dt {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.moving-stats dd {
  margin: 0;
  font: 400 36px/1 var(--display);
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 6px;
  border-radius: 999px;
  background: #f7f4eee6;
  transform: translateX(-50%);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.scroll-cue i {
  width: 1px;
  height: 22px;
  background: linear-gradient(var(--ink-2), transparent);
}
html.motion .scroll-cue i {
  animation: cue-drop 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue-drop {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

@media (max-width: 960px) {
  .col-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .h-artist {
    grid-template-columns: minmax(0, 1fr);
  }
  .h-spaces .glass {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -48px 14px 0;
  }
}
@media (max-width: 700px) {
  .h-sec-head {
    flex-direction: column;
    align-items: start;
  }
  .col-tiles {
    gap: 12px;
  }
  .col-txt {
    padding: 14px 14px 18px;
  }
  .col-txt b {
    font-size: 22px;
  }
  .col-txt em {
    display: none;
  }
  .h-spaces figure {
    aspect-ratio: 4 / 3;
  }
  .moving-hero {
    min-height: calc(100svh - 72px);
  }
  .moving-panel {
    padding: 26px 20px 24px;
    border-radius: 24px;
  }
  .moving-stats dd {
    font-size: 28px;
  }
}

/* ---------- Victoria in front of the moving wall ---------- */
.moving-hero.face-3 {
  place-items: center start;
}
.face-3 .moving-panel {
  width: min(560px, 46vw);
  /* On wide screens the panel and Victoria stay together in a centred 1320px composition. */
  margin-left: max(5vw, 24px, calc(50% - 660px));
  text-align: left;
}
.face-3 .moving-panel .lead {
  margin: 0;
}
.face-3 .home-actions,
.face-3 .moving-stats {
  justify-content: flex-start;
}
.face-cutout {
  position: absolute;
  right: max(4vw, 12px, calc(50% - 660px));
  bottom: 0;
  width: auto;
  max-width: min(54vw, 780px);
  height: min(94%, 920px);
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 30px 50px #000a);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1200ms ease, transform 1600ms var(--ease-out);
}
.wall-hero.ready .face-cutout {
  opacity: 1;
  transform: none;
}
.face-3 .wall-veil {
  background:
    radial-gradient(ellipse min(30%, 520px) 62% at min(72%, calc(50% + 330px)) 62%, #f7f4eee0 0%, #f7f4ee99 45%, #f7f4ee00 78%),
    radial-gradient(ellipse min(34%, 600px) 48% at max(28%, calc(50% - 380px)) 50%, #f7f4eecc 0%, #f7f4ee80 50%, #f7f4ee00 100%),
    linear-gradient(to bottom, #f7f4ee00 88%, #f7f4eeb3 100%);
}
.face-3 .scroll-cue {
  left: max(28%, calc(50% - 380px));
}
@media (max-width: 960px) {
  .moving-hero.face-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 16px;
  }
  .face-cutout {
    position: relative;
    right: auto;
    max-width: 92vw;
    height: min(52svh, 560px);
  }
  .face-3 .moving-panel {
    width: min(560px, calc(100% - 32px));
    margin: -80px 0 0;
    text-align: center;
  }
  .face-3 .moving-panel .lead {
    margin: 0 auto;
  }
  .face-3 .home-actions,
  .face-3 .moving-stats {
    justify-content: center;
  }
  .face-3 .wall-veil {
    background:
      radial-gradient(ellipse 60% 34% at 50% 28%, #f7f4eee0 0%, #f7f4ee99 45%, #f7f4ee00 80%),
      linear-gradient(to bottom, #f7f4ee00 88%, #f7f4eeb3 100%);
  }
  .face-3 .scroll-cue {
    display: none;
  }
}

/* ==========================================================================
   Page headers: every page opens like the first page, with the same light panel
   over a moving wall of her paintings or a slowly drifting photograph.
   ========================================================================== */
.page-wall {
  display: grid;
  place-items: center;
  min-height: min(76svh, 780px);
  padding: 64px 0 72px;
}
.page-wall.short {
  min-height: min(62svh, 620px);
}
.page-wall .wall-veil {
  background:
    radial-gradient(ellipse min(50%, 680px) 60% at 50% 50%, #f7f4eee6 0%, #f7f4ee99 50%, #f7f4ee00 100%),
    linear-gradient(to bottom, #f7f4ee00 80%, #f7f4ee 100%);
}
.page-wall .moving-panel {
  width: min(780px, calc(100% - 32px));
}
.page-wall .moving-panel h1,
.photo-hero .moving-panel h1 {
  font-size: clamp(46px, 6.4vw, 104px);
}
.moving-panel .reach {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 15px;
}
.moving-panel .note {
  max-width: 560px;
  margin: 18px auto 0;
}

/* A full-width photograph that drifts slowly, with the panel on the left. */
.photo-hero {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  min-height: min(80svh, 840px);
  padding: 56px 0;
  overflow: hidden;
  isolation: isolate;
  background: #e9e2d4;
}
.photo-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
html.motion .photo-hero > img {
  animation: kenburns 28s ease-in-out infinite alternate;
  transform-origin: 62% 40%;
}
.photo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #f7f4ee8c 0%, #f7f4ee26 38%, #f7f4ee00 60%),
    linear-gradient(to bottom, #f7f4ee00 84%, #f7f4ee 100%);
}
.photo-hero .moving-panel {
  width: min(560px, 42vw);
  margin-left: max(5vw, 24px);
  text-align: left;
}
.photo-hero .moving-panel .lead {
  margin: 0;
}
.photo-hero .home-actions {
  justify-content: flex-start;
}
.photo-note {
  position: absolute;
  right: max(4vw, 16px);
  bottom: 22px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f7f4eee6;
  color: var(--ink-2);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

/* Artist: the studio photo behind, a single archive photograph further down */
.behind {
  margin-top: 26px;
}
.behind img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.behind figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

/* Contact: the message card sits centred under the header */
.contact-page .compose {
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .photo-hero {
    align-items: end;
    min-height: min(82svh, 760px);
    padding: 40px 0 28px;
  }
  .photo-hero > img {
    object-position: 60% 30%;
  }
  .photo-hero::after {
    background:
      linear-gradient(to bottom, #f7f4ee00 30%, #f7f4ee80 70%, #f7f4ee 100%);
  }
  .photo-hero .moving-panel {
    width: min(560px, calc(100% - 32px));
    margin: 0 auto;
    text-align: center;
  }
  .photo-hero .moving-panel .lead {
    margin: 0 auto;
  }
  .photo-hero .home-actions {
    justify-content: center;
  }
  .photo-note {
    top: 14px;
    bottom: auto;
  }
}
@media (max-width: 700px) {
  .page-wall {
    min-height: min(72svh, 640px);
    padding: 40px 0 48px;
  }
  .page-wall.short {
    min-height: min(58svh, 520px);
  }
}

/* ---------- The artist ---------- */
.a-intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 130px) max(5vw, 18px) clamp(20px, 3vw, 40px);
  text-align: center;
}
.a-statement {
  margin-top: 18px;
  font: 400 clamp(30px, 4.2vw, 60px)/1.12 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.a-statement em {
  font-style: normal;
  color: var(--sage);
}
.a-page {
  padding-top: clamp(24px, 4vw, 48px);
}
.a-themes,
.a-life {
  margin-top: clamp(70px, 9vw, 120px);
}
.themes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}
.theme {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2vw, 26px);
  border-radius: 18px;
  background: var(--paper-2);
  transition: background 300ms ease, transform 500ms var(--ease-out);
}
.theme:hover {
  background: #e8e0d0;
}
.theme-stack {
  position: relative;
  display: block;
  height: clamp(200px, 22vw, 290px);
}
.theme-card {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 54%;
  height: 84%;
  padding: 7px;
  background: #fdfcf8;
  box-shadow: 0 18px 34px -16px #1d2a2266;
  transform: translateX(-50%) rotate(calc(var(--k) * 5deg));
  transition: transform 800ms var(--ease-out);
}
.theme-card:nth-child(2) {
  z-index: 1;
}
.theme-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The stack fans out as it comes into view, and further on hover. */
html.motion .theme.is-in .theme-card,
.theme:hover .theme-card {
  transform: translateX(calc(-50% + var(--k) * 52%)) rotate(calc(var(--k) * 7deg)) translateY(calc(var(--k) * var(--k) * 10px));
}
.theme:hover .theme-card {
  transform: translateX(calc(-50% + var(--k) * 64%)) rotate(calc(var(--k) * 9deg)) translateY(calc(var(--k) * var(--k) * 14px));
}
.theme-txt {
  display: grid;
  gap: 6px;
}
.theme-txt small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.theme-txt b {
  font: 400 clamp(26px, 2.4vw, 34px)/1.05 var(--display);
  letter-spacing: -0.02em;
}
.theme-txt em {
  color: var(--ink-2);
  font-size: 15px;
  font-style: normal;
}
.theme-txt .link {
  min-height: 0;
  margin-top: 6px;
}
/* A life in art: one line that draws itself as you scroll */
.life {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.life-item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(80px, 12vw, 160px) 32px minmax(0, 1fr);
  align-items: start;
  padding-bottom: clamp(22px, 3vw, 34px);
}
.life-item::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: -10px;
  left: calc(clamp(80px, 12vw, 160px) + 15px);
  width: 2px;
  background: linear-gradient(var(--sage), #6f7c6355);
  transform-origin: top;
}
.life-item:last-child::before {
  display: none;
}
html.motion .life-item::before {
  transform: scaleY(0);
  transition: transform 900ms var(--ease-out) 200ms;
}
html.motion .life-item.is-in::before {
  transform: scaleY(1);
}
.life-year {
  font: 400 clamp(34px, 3.6vw, 52px)/0.9 var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.life-dot {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin: 8px 0 0 9px;
  border: 2px solid var(--sage);
  border-radius: 50%;
  background: var(--paper);
}
html.motion .life-dot {
  transform: scale(0);
  transition: transform 600ms var(--ease-out) 100ms, background 600ms ease;
}
html.motion .life-item.is-in .life-dot {
  transform: none;
  background: var(--sage);
}
.life-item p {
  margin-top: 6px;
  max-width: 640px;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink);
}
.life-kind {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #e5ece0;
  color: #44553e;
}
.life-kind.exhibition {
  background: #263c32;
  color: #f3efe4;
}
.life-kind.member {
  background: #efe3d2;
  color: #6b4f2c;
}
.a-behind {
  margin-top: clamp(70px, 9vw, 120px);
}
.behind {
  overflow: hidden;
  border-radius: 14px;
}
.behind img {
  border-radius: 0;
}
html.motion .behind img {
  animation: kenburns 30s ease-in-out infinite alternate;
  transform-origin: 40% 50%;
}
.behind figcaption {
  margin-top: 12px;
}
.behind figcaption b {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Art for your space ---------- */
.try {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) max(5vw, 18px) 0;
}
.try-note {
  max-width: 340px;
  color: var(--ink-2);
}
.try-stage {
  position: relative;
  aspect-ratio: 1920 / 1086;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 30px 60px -36px #1d2a2266;
}
.try-room {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.try-art {
  position: absolute;
  left: calc(51.5% - var(--w) / 2);
  bottom: 50%;
  width: var(--w);
  height: var(--h);
  box-shadow: 12px 18px 28px -10px #3c2d1e80, 2px 3px 0 #3a342e;
  transition: left 700ms var(--ease-out), width 700ms var(--ease-out), height 700ms var(--ease-out), opacity 280ms ease, transform 280ms ease;
}
.try-art img {
  display: block;
  width: 100%;
  height: 100%;
}
/* Room light: brighter towards the window on the left */
.try-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #fff1dc14, #0000 45%, #00000017);
}
.try-art.swap {
  opacity: 0;
  transform: translateY(-14px);
}
.try-pick {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding: 4px 2px 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.try-pick button {
  flex: none;
  height: 74px;
  padding: 4px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--paper-2);
  transition: border-color 200ms ease, transform 300ms var(--ease-out);
}
.try-pick button:hover {
  transform: translateY(-3px);
}
.try-pick button[aria-checked="true"] {
  border-color: var(--green);
}
.try-pick img {
  height: 100%;
  width: auto;
  border-radius: 6px;
}
.try-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin-top: 6px;
  color: var(--ink-2);
}
.try-info b {
  color: var(--ink);
  font: 400 26px/1.1 var(--display);
}
.how {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) max(5vw, 18px) 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: grid;
  gap: 10px;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf8b3;
}
.step-num {
  font: 400 52px/0.9 var(--display);
  color: var(--sage);
}
.steps b {
  font: 400 26px/1.1 var(--display);
  letter-spacing: -0.02em;
}
.steps p {
  color: var(--ink-2);
}
.spaces-page {
  padding-top: clamp(20px, 3vw, 40px);
}

@media (max-width: 960px) {
  .themes,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .theme-stack {
    height: 240px;
  }
}
@media (max-width: 700px) {
  .life-item {
    grid-template-columns: 74px 26px minmax(0, 1fr);
  }
  .life-item::before {
    left: 86px;
  }
  .life-dot {
    margin-left: 6px;
  }
  .try-stage {
    aspect-ratio: 4 / 3.4;
  }
  .try-room {
    object-fit: cover;
    object-position: 51.5% 50%;
  }
  .try-art {
    /* the room is cropped on the sides: keep the painting at the same place relative to the sofa */
    left: calc(51.5% - var(--w) * 0.75);
    width: calc(var(--w) * 1.5);
    height: var(--h);
  }
  .try-info b {
    font-size: 22px;
  }
}

/* ---------- Artist: from her CV ---------- */
.a-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.a-facts ul {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.a-facts li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
}
.a-facts li span {
  color: var(--sage);
  font-weight: 600;
}
.a-facts li p {
  margin: 0;
  color: var(--ink-2);
}
.a-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(60px, 8vw, 100px) 0 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}
.a-stats li {
  padding: clamp(20px, 2.6vw, 34px);
  background: var(--paper);
}
.a-stats b {
  font: 400 clamp(48px, 5.4vw, 80px)/0.9 var(--display);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.a-stats span {
  font: 400 clamp(36px, 4vw, 56px)/0.9 var(--display);
  color: var(--sage);
}
.a-stats small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.life-item p b {
  color: var(--ink);
  font-weight: 600;
}
.life-item p {
  color: var(--ink-2);
}
.life-kind.solo {
  background: #263c32;
  color: #f3efe4;
}
.life-kind.group {
  background: #efe3d2;
  color: #6b4f2c;
}
.life-kind.salon {
  background: #e7e3ef;
  color: #4d4766;
}
.life-kind.exhibition {
  background: #e5ece0;
  color: #44553e;
}
.a-awards,
.a-press,
.a-collected {
  margin-top: clamp(70px, 9vw, 120px);
}
.awards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.award {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf8b3;
}
.award b {
  font: 400 26px/1.1 var(--display);
  letter-spacing: -0.02em;
}
.award p {
  color: var(--ink-2);
  font-size: 14px;
}
.award-year {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.award.top {
  border-color: transparent;
  background: linear-gradient(150deg, #263c32, #1b2d25);
  color: #f3efe4;
}
.award.top b {
  color: #f3efe4;
}
.award.top p {
  color: #d6ded3;
}
.award.top .award-year {
  color: #d9c58f;
}
.award.top b::before {
  content: "★ ";
  color: #d9c58f;
}
.press {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.press li {
  display: grid;
  grid-template-columns: clamp(70px, 10vw, 130px) minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.press-year {
  font: 400 clamp(28px, 3vw, 40px)/1 var(--display);
  color: var(--sage);
}
.press b {
  font-weight: 600;
  color: var(--ink);
}
.press p {
  margin-top: 4px;
  color: var(--ink-2);
}
.press .press-en {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
}
.a-collected {
  padding: clamp(36px, 5vw, 64px);
  border-radius: 24px;
  background: var(--paper-2);
  text-align: center;
}
.a-collected h2 {
  margin-top: 12px;
  font-size: clamp(36px, 4.6vw, 68px);
}
.a-collected > p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--ink-2);
}
.countries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.countries li {
  padding: 8px 16px;
  border: 1px solid #26352826;
  border-radius: 999px;
  background: #fffdf8;
  font-size: 14px;
}
@media (max-width: 960px) {
  .a-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .a-facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .press li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

/* ---------- For galleries, curators and press ---------- */
.a-pro {
  margin-top: clamp(70px, 9vw, 120px);
  padding: clamp(32px, 5vw, 64px);
  border-radius: 26px;
  background: linear-gradient(150deg, #263c32, #1b2d25);
  color: #f3efe4;
}
.a-pro .eyebrow {
  color: #c6d1c4;
}
.a-pro-head h2 {
  margin-top: 12px;
  font-size: clamp(40px, 5.2vw, 76px);
}
.a-pro-head h2 em {
  color: #b9cba6;
}
.a-pro-head p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 12px;
  color: #dfe6dc;
}
.a-pro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: clamp(28px, 4vw, 44px);
}
.a-quote {
  margin: 0;
  padding-left: clamp(18px, 2vw, 28px);
  border-left: 2px solid #b9cba6;
}
.a-quote blockquote {
  margin: 0;
}
.a-quote p {
  font: 400 clamp(26px, 2.6vw, 38px)/1.2 var(--display);
  letter-spacing: -0.01em;
}
.a-quote figcaption {
  margin-top: 14px;
  color: #c6d1c4;
  font-size: 13px;
}
.a-kit {
  display: grid;
  gap: 10px;
}
.kit {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid #ffffff2e;
  border-radius: 14px;
  background: #ffffff10;
  color: #f3efe4;
  text-align: left;
  transition: background 200ms ease, border-color 200ms ease;
}
.kit:hover {
  border-color: #ffffff66;
  background: #ffffff1f;
}
.kit b {
  font: 400 22px/1.1 var(--display);
}
.kit small {
  color: #c6d1c4;
  font-size: 12px;
  white-space: nowrap;
}
.a-kit .btn {
  margin-top: 6px;
  background: #f6f3e8;
  color: var(--green);
}
.a-kit .btn:hover {
  background: #fff;
}
@media (max-width: 960px) {
  .a-pro-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- CV and portfolio: on screen as sheets, printed as A4 PDFs ---------- */
.doc {
  display: grid;
  justify-items: center;
  gap: 28px;
  padding: 40px 16px 80px;
  background: #e9e4da;
}
.sheet-a4 {
  width: min(210mm, 100%);
  min-height: 297mm;
  padding: 18mm 18mm 16mm;
  background: #fffdf8;
  box-shadow: 0 20px 50px -30px #1d2a2266;
  color: var(--ink);
  font-size: 10.5pt;
  line-height: 1.45;
}
.doc-head h1 {
  margin: 6px 0 6px;
  font-size: 40pt;
  line-height: 1;
}
.doc-head p:not(.eyebrow) {
  color: var(--ink-2);
}
.doc-contact {
  margin-top: 4px;
  color: var(--green) !important;
  font-weight: 600;
}
.doc-bio {
  margin: 16px 0 6px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.sheet-a4 h2 {
  margin: 16px 0 6px;
  font: 600 8.5pt/1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a5a3c;
}
.doc-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 10mm;
}
.doc-list {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.doc-list li {
  display: grid;
  grid-template-columns: 22mm minmax(0, 1fr);
  gap: 4mm;
  break-inside: avoid;
}
.doc-list span {
  color: #8a5a3c;
  font-weight: 600;
}
.doc-list p,
.sheet-a4 section > p {
  margin: 0;
}
.doc-cover {
  display: grid;
  align-content: center;
  text-align: center;
}
.doc-cover h1 {
  margin: 10px 0 18px;
  font-size: 54pt;
  line-height: 0.95;
}
.doc-cover h1 em {
  display: block;
  font-style: normal;
  color: var(--sage);
}
.doc-work {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8mm;
  height: 297mm;
}
.doc-art {
  display: grid;
  place-items: center;
  min-height: 0;
}
.doc-art img {
  max-width: 100%;
  max-height: 230mm;
  width: auto;
  height: auto;
  box-shadow: 0 14px 30px -18px #1d2a2280;
}
.doc-cap {
  display: grid;
  gap: 2px;
  text-align: center;
  color: var(--ink-2);
}
.doc-cap span {
  color: #8a5a3c;
  font-weight: 600;
  font-size: 9pt;
  letter-spacing: 0.14em;
}
.doc-cap b {
  font: 400 22pt/1.1 var(--display);
  color: var(--ink);
}
.doc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}
@page {
  size: A4;
  margin: 0;
}
@media print {
  .site-header,
  .footer,
  .doc-actions,
  .cursor,
  #layer {
    display: none !important;
  }
  body,
  .doc {
    background: #fff;
  }
  .doc {
    display: block;
    padding: 0;
  }
  .sheet-a4 {
    width: 210mm;
    box-shadow: none;
    background: #fff;
    break-after: page;
    /* every printed page of a sheet keeps the same margins */
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  .sheet-a4 h2 {
    break-after: avoid;
  }
  /* the CV flows over as many pages as it needs, no forced full-page height */
  .sheet-a4:not(.doc-cover):not(.doc-work) {
    min-height: 0;
  }
  .sheet-a4:last-of-type {
    break-after: auto;
  }
  html.motion [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Buying an original ---------- */
.buy {
  display: grid;
  gap: 10px;
  margin: 22px 0 6px;
  padding: 20px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf8;
}
.buy-title {
  font: 400 26px/1.1 var(--display);
}
.buy-note {
  color: var(--ink-2);
  font-size: 14px;
}
.buy-card {
  width: 100%;
}
.buy-paypal {
  min-height: 46px;
}
.buy-status {
  min-height: 1em;
  color: var(--ink-2);
  font-size: 13px;
}

/* Contact form: a field only bots fill in */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Studio: Victoria's editor ---------- */
.studio h1 {
  margin-bottom: 18px;
}
.studio h2 {
  font-size: clamp(30px, 4vw, 44px);
}
.st-login {
  max-width: 460px;
}
.st-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.st-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
}
.st-links .link,
.st-head .link,
.st-move .link {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.st-chips {
  margin-bottom: 4px;
}
.st-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.st-row {
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 10px 16px 10px 10px;
  border: 1px solid #26352814;
  border-radius: 16px;
  background: #ffffff8c;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}
.st-row:hover {
  background: #fffdf8;
  border-color: #26352833;
}
.st-row img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--paper-2);
}
.st-t {
  display: grid;
  gap: 2px;
}
.st-t b {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
}
.st-t small {
  font-size: 13px;
  color: var(--muted);
}
.st-p {
  font-size: 15px;
  font-weight: 600;
}
.st-s {
  min-width: 92px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #26352814;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.st-s[data-s="available"] {
  background: #d9e6d2;
  color: var(--green);
}
.st-s[data-s="sold"] {
  background: #ead7cf;
  color: #6b3524;
}
.st-s[data-s="reserved"] {
  background: #efe3c2;
  color: #5c4613;
}
.st-empty {
  margin-top: 20px;
  color: var(--muted);
}
.st-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.st-grid {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}
.st-photo {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 96px;
}
.st-main {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 16px;
  border-radius: 20px;
  background: var(--paper-2);
  color: var(--muted);
}
.st-main img {
  max-height: 420px;
  box-shadow: 0 10px 30px #15251e2e;
}
.st-file {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.st-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.st-hint {
  font-size: 13px;
  color: var(--muted);
}
.st-fields > .field:first-child {
  margin-top: 0;
}
.st-row2,
.st-row3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.st-row3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.st-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  font-size: 14px;
}
.st-checks input {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: -3px;
  accent-color: var(--green);
}
.st-more {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.st-more h3 {
  font-size: 28px;
}
.st-more p {
  font-size: 14px;
  color: var(--ink-2);
}
.st-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}
.st-photos li {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff8c;
  border: 1px solid #26352814;
}
.st-photos img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}
.st-photos input {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #26352833;
  border-radius: 10px;
  background: #fffdf8;
  font-size: 15px;
}
.st-move {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.st-move .link:disabled {
  opacity: 0.3;
  cursor: default;
}
.st-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: 28px;
}
.st-delete {
  margin-left: auto;
  border: 0;
  background: none;
  color: #8a3b22;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.st-history {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.st-history li {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 8px 8px 8px 18px;
  border-radius: 16px;
  background: #ffffff8c;
  border: 1px solid #26352814;
}
@media (max-width: 760px) {
  .st-grid {
    grid-template-columns: 1fr;
  }
  .st-photo {
    position: static;
  }
  .st-row {
    grid-template-columns: 56px 1fr;
    gap: 6px 12px;
  }
  .st-row img {
    grid-row: span 3;
    width: 56px;
    height: 56px;
  }
  .st-p,
  .st-s {
    grid-column: 2;
    justify-self: start;
  }
  .st-links {
    margin-left: 0;
  }
  .st-row3 {
    grid-template-columns: 1fr 1fr;
  }
  .st-delete {
    margin-left: 0;
  }
}

html.lite-motion .wall-track a:hover {
  box-shadow: none;
}
