/* MUKISA gallery site
   paper / ink / auction-red, accents sampled from the paintings */

:root {
  --paper: #F6F4EF;
  --panel: #ECE8DF;
  --ink: #141311;
  --grey: #837D72;
  --line: #DDD8CD;
  --red: #A8271E;
  --display: "Syne", sans-serif;
  --serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  /* procedural canvas + pine stretcher (no image assets) */
  --wood: #c59a62; --wood-lo: #a67c45; --wood-hi: #e6c58e; --wood-line: rgba(74, 46, 18, 0.14);
  --linen: #ece4d2; --linen-lo: #ddd3bd;
  --weave:
    repeating-linear-gradient(0deg, rgba(120, 108, 86, 0.07) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(120, 108, 86, 0.06) 0 1px, transparent 1px 3px);
}

/* Y-axis turntable: negative angle brings the right edge toward the viewer
   first and lets the left edge recede, then reveals the side, then the back. */
@keyframes spinY { to { transform: rotateY(-360deg); } }

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ?noanim testing hook: freeze all motion at final state */
html.noanim *, html.noanim *::before, html.noanim *::after {
  animation: none !important;
  transition: none !important;
}
html.noanim #curtain { display: none; }
html.noanim .reveal { opacity: 1 !important; transform: none !important; }
html.noanim .hero-content > * { opacity: 1 !important; transform: none !important; }
html.noanim .hero-art img { transform: none !important; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ink); color: var(--paper); }

img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.container { max-width: 1280px; margin: 0 auto; padding-inline: clamp(1.25rem, 4vw, 3.5rem); }

/* ---------- utility type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
}
.display {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

/* ---------- entrance ---------- */
#curtain {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.9s ease 0.55s, visibility 0s linear 1.5s;
}
#curtain .mark {
  font-family: var(--display);
  color: var(--paper);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  opacity: 0;
  animation: markIn 0.8s ease 0.1s forwards;
}
@keyframes markIn { to { opacity: 1; } }
body.entered #curtain { opacity: 0; visibility: hidden; }
/* curtain plays once per visit: hidden instantly on pages already seen this session */
html.seen #curtain { display: none; }
@media (prefers-reduced-motion: reduce) {
  #curtain { display: none; }
}

/* reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.3, 1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-slow { transition-duration: 1.4s; }
}

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.site-header.solid {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1.1rem;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-decoration: none;
}
.site-header nav { display: flex; gap: clamp(0.9rem, 2.4vw, 2rem); align-items: center; }
.site-header nav a {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header nav a:hover, .site-header nav a[aria-current="page"] { border-color: var(--ink); }
.site-header nav a.cta {
  border: 1px solid var(--ink);
  padding: 0.55rem 1.1rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.site-header nav a.cta:hover { background: var(--ink); color: var(--paper); }

/* header over dark hero */
.site-header.on-hero:not(.solid) { color: var(--paper); }
.site-header.on-hero:not(.solid) nav a:hover,
.site-header.on-hero:not(.solid) nav a[aria-current="page"] { border-color: var(--paper); }
.site-header.on-hero:not(.solid) nav a.cta { border-color: var(--paper); }
.site-header.on-hero:not(.solid) nav a.cta:hover { background: var(--paper); color: var(--ink); }

/* phones: keep every nav link reachable, wrapped under the brand */
@media (max-width: 700px) {
  .site-header .container { flex-wrap: wrap; row-gap: 0.55rem; padding-block: 0.85rem; }
  .site-header nav { width: 100%; flex-wrap: wrap; gap: 0.7rem 1.1rem; align-items: center; }
  .site-header nav a { font-size: 0.64rem; letter-spacing: 0.12em; }
  .site-header nav a.cta { padding: 0.42rem 0.8rem; margin-left: auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn.solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.solid:hover { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- status chip ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink);
}
.chip.available::before { background: #2E7D48; }
.chip.sold::before { background: var(--red); }
.chip.open-bid::before { background: #B8860B; }
.chip.nfs::before { background: var(--grey); }

/* ---------- hero: full-screen static opening ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
  background: var(--ink);
}
.hero-art {
  position: absolute; inset: 0;
}
.hero-art img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 22%;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-art img { transform: scale(1.06); transition: transform 7s cubic-bezier(0.2, 0.6, 0.3, 1); }
  body.entered .hero-art img { transform: scale(1); }
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 9, 0.92) 0%, rgba(10, 8, 9, 0.78) 38%, rgba(10, 8, 9, 0.52) 66%, rgba(10, 8, 9, 0.28) 85%, rgba(10, 8, 9, 0.14) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding-bottom: clamp(2.5rem, 7vh, 5rem);
  text-shadow: 0 1px 3px rgba(10, 8, 9, 0.45), 0 2px 22px rgba(10, 8, 9, 0.35);
}
.hero-content .eyebrow { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.hero-content h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6.4vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-width: 15ch;
  margin: 1rem 0 1.8rem;
  text-wrap: balance;
}
.hero-content .hero-name {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.0; letter-spacing: -0.015em;
  max-width: none; margin: 0.6rem 0 1.2rem;
}
.hero-content .hero-name span {
  display: block; margin-top: 0.55rem;
  font-weight: 500; font-size: 0.32em; letter-spacing: 0.2em; text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 80%, transparent);
}
.hero-bio {
  max-width: 60ch; margin-bottom: 1.8rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.62;
  color: color-mix(in srgb, var(--paper) 93%, transparent);
}
.hero-content .btn-row { margin-top: 0.4rem; }
.hero .credit {
  position: absolute; right: clamp(1.25rem, 4vw, 3.5rem); bottom: 1.4rem; z-index: 2;
  max-width: 62%; text-align: right;
  font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 62%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { opacity: 0; transform: translateY(20px); }
  body.entered .hero-content > * { animation: heroUp 1.1s cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
  body.entered .hero-content > *:nth-child(2) { animation-delay: 0.15s; }
  body.entered .hero-content > *:nth-child(3) { animation-delay: 0.3s; }
}
@keyframes heroUp { to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
section { padding-block: clamp(4rem, 10vh, 7.5rem); }
.section-head { margin-bottom: clamp(2.2rem, 5vh, 3.6rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-top: 0.8rem; max-width: 22ch; text-wrap: balance; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head .more {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--ink); padding-bottom: 3px; white-space: nowrap;
}
.section-head .more:hover { color: var(--red); border-color: var(--red); }

/* ---------- work grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(3rem, 7vh, 5rem) clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
}
.work-card { text-decoration: none; display: block; }
.work-card .art {
  position: relative;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  perspective: 1600px;
  perspective-origin: 50% 44%;
}
/* soft contact shadow so the turning canvas reads as a physical object */
.work-card .art::after {
  content: "";
  position: absolute; left: 50%; bottom: 12%;
  width: 46%; height: 5%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(20, 19, 17, 0.28), transparent 70%);
  filter: blur(3px);
  z-index: 0;
}
/* the painting is a real canvas panel with thickness, turning on the Y-axis */
.canvas3d {
  position: relative;
  width: var(--bw, 62%);
  height: var(--bh, 62%);
  transform-style: preserve-3d;
  z-index: 1;
}
.canvas3d .cv-face,
.canvas3d .cv-edge {
  position: absolute; inset: 0; margin: auto;
  backface-visibility: visible;
}
/* front + back are the full panel size */
.canvas3d .cv-face { width: var(--bw); height: var(--bh); }
.canvas3d .cv-front { transform: translateZ(calc(var(--depth) / 2)); }
.canvas3d .cv-front img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  box-shadow: 0 2px 10px rgba(20, 19, 17, 0.22);
}
/* back of the canvas: pine stretcher frame with grain, a recessed stretched
   canvas panel, and a cross-brace. Lit from the top-left to read as CGI wood. */
.canvas3d .cv-back {
  transform: rotateY(180deg) translateZ(calc(var(--depth) / 2));
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, var(--wood-line) 0 1.5px, transparent 1.5px 5px, rgba(74, 46, 18, 0.07) 5px 6px, transparent 6px 12px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0 46px, rgba(255, 255, 255, 0.05) 46px 92px),
    linear-gradient(158deg, var(--wood-hi), var(--wood) 55%, var(--wood-lo));
  box-shadow: inset 0 0 0 1px rgba(70, 45, 20, 0.55), inset 0 5px 13px rgba(0, 0, 0, 0.26);
}
.canvas3d .cv-back::before { /* recessed back of the stretched canvas */
  content: ""; position: absolute; inset: 15%;
  background: var(--weave), linear-gradient(158deg, var(--linen), var(--linen-lo));
  background-size: 3px 3px, 3px 3px, 100% 100%;
  box-shadow: inset 0 0 12px rgba(60, 42, 22, 0.3), 0 0 0 1px rgba(80, 55, 25, 0.45);
}
.canvas3d .cv-back::after { /* wooden cross-brace */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 7px), rgba(60, 40, 18, 0.22) calc(50% - 7px), var(--wood) calc(50% - 5px), var(--wood-hi) 50%, var(--wood) calc(50% + 5px), rgba(60, 40, 18, 0.22) calc(50% + 7px), transparent calc(50% + 7px)),
    linear-gradient(0deg, transparent calc(50% - 7px), rgba(60, 40, 18, 0.22) calc(50% - 7px), var(--wood) calc(50% - 5px), var(--wood-hi) 50%, var(--wood) calc(50% + 5px), rgba(60, 40, 18, 0.22) calc(50% + 7px), transparent calc(50% + 7px));
}
/* sides: primed canvas wrapping the bar. Rounded shading (bright centre rolling
   into shadowed folds) + warm wood tone at the fold, over a fine woven texture. */
.canvas3d .cv-edge { background-color: var(--linen); }
.canvas3d .cv-right, .canvas3d .cv-left {
  width: var(--depth); height: var(--bh);
  background-image:
    linear-gradient(90deg, rgba(70, 46, 20, 0.4), rgba(255, 255, 255, 0.12) 20%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0.1) 80%, rgba(70, 46, 20, 0.34)),
    var(--weave);
  background-size: 100% 100%, 3px 3px, 3px 3px;
}
.canvas3d .cv-right { transform: rotateY(90deg) translateZ(calc(var(--bw) / 2)); }
.canvas3d .cv-left  { transform: rotateY(-90deg) translateZ(calc(var(--bw) / 2)); }
.canvas3d .cv-top, .canvas3d .cv-bottom {
  width: var(--bw); height: var(--depth);
  background-image:
    linear-gradient(0deg, rgba(70, 46, 20, 0.4), rgba(255, 255, 255, 0.12) 20%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0.1) 80%, rgba(70, 46, 20, 0.34)),
    var(--weave);
  background-size: 100% 100%, 3px 3px, 3px 3px;
}
.canvas3d .cv-top    { transform: rotateX(90deg) translateZ(calc(var(--bh) / 2)); }
.canvas3d .cv-bottom { transform: rotateX(-90deg) translateZ(calc(var(--bh) / 2)); }
@media (prefers-reduced-motion: no-preference) {
  .canvas3d { animation: spinY var(--spin, 21s) linear infinite; }
  .work-card:hover .canvas3d { animation-play-state: paused; }
  .work-card:nth-child(3n) .canvas3d { animation-duration: 17s; }
  .work-card:nth-child(3n+2) .canvas3d { animation-duration: 26s; }
}
/* reduced motion: hold the canvas facing the viewer, no rotation */
@media (prefers-reduced-motion: reduce) {
  .canvas3d { transform: none; }
}
/* static teaser cards (hand-authored, no 3D box): plain framed image */
.work-card .art > img {
  position: relative; z-index: 1;
  max-width: 74%; max-height: 74%; width: auto; height: auto;
  box-shadow: 0 14px 28px -8px rgba(20, 19, 17, 0.34);
}
.work-card .plate { margin-top: 1.1rem; display: grid; gap: 0.3rem; }
.work-card .plate .title { font-family: var(--display); font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.work-card .plate .spec {
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--grey); text-transform: uppercase;
}
.work-card .plate .row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.work-card .plate .price { font-family: var(--sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; }
.work-card.is-sold .art img { filter: saturate(0.92); }

/* editorial column spans (repeating rhythm of 3) */
.work-grid .work-card:nth-child(6n+1) { grid-column: 1 / span 7; }
.work-grid .work-card:nth-child(6n+2) { grid-column: 9 / span 4; margin-top: clamp(2rem, 8vh, 6rem); }
.work-grid .work-card:nth-child(6n+3) { grid-column: 2 / span 4; }
.work-grid .work-card:nth-child(6n+4) { grid-column: 7 / span 6; margin-top: clamp(-3rem, -4vh, -1rem); }
.work-grid .work-card:nth-child(6n+5) { grid-column: 1 / span 5; }
.work-grid .work-card:nth-child(6n+6) { grid-column: 7 / span 5; margin-top: clamp(2rem, 6vh, 4rem); }
@media (max-width: 820px) {
  .work-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.25rem; }
  .work-grid .work-card:nth-child(n) { grid-column: auto; margin-top: 0; }
  .work-grid .work-card:nth-child(4n+1) { grid-column: 1 / -1; }
}

/* ---------- catalogue list (cursor-follow preview) ---------- */
.cat-list { border-top: 1px solid var(--line); }
.cat-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2fr) auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.35rem 0.25rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.cat-row:hover { background: color-mix(in srgb, var(--panel) 55%, transparent); padding-left: 0.9rem; }
.cat-row .title { font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.7rem); line-height: 1.15; }
.cat-row .spec { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.cat-row .price { font-family: var(--sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-align: right; }
@media (max-width: 700px) {
  .cat-row { grid-template-columns: 1fr auto; }
  .cat-row .spec { display: none; }
}

#cursor-preview {
  position: fixed; z-index: 40;
  width: clamp(180px, 20vw, 280px);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 30px 60px -20px rgba(20, 19, 17, 0.45);
}
#cursor-preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
#cursor-preview img { width: 100%; height: auto; display: block; }
@media (hover: none), (prefers-reduced-motion: reduce) { #cursor-preview { display: none; } }

/* ---------- band (dark strip) ---------- */
.band { background: var(--ink); color: var(--paper); }
.band .eyebrow { color: color-mix(in srgb, var(--paper) 60%, transparent); }
.band .btn.solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.band .btn.solid:hover { background: transparent; color: var(--paper); }

/* ---------- page intro (inner pages) ---------- */
.page-intro { padding-top: clamp(8rem, 18vh, 11rem); padding-bottom: clamp(2.5rem, 6vh, 4rem); }
.page-intro h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-top: 1rem; max-width: 18ch; text-wrap: balance; }
.page-intro .lede { max-width: 52ch; margin-top: 1.4rem; font-size: 1.12rem; color: color-mix(in srgb, var(--ink) 80%, var(--grey)); }

/* ---------- work detail ---------- */
.work-hero {
  padding-top: clamp(7rem, 14vh, 9rem);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.work-hero .art { background: var(--panel); }
.work-hero .art img { width: 100%; height: auto; }
.work-plate { position: sticky; top: 6.5rem; display: grid; gap: 1.3rem; }
.work-plate h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; }
.work-plate .translation { font-style: italic; color: var(--grey); margin-top: 0.35rem; }
.work-plate dl { display: grid; grid-template-columns: auto 1fr; gap: 0.45rem 1.5rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.work-plate dt { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); padding-top: 0.2rem; }
.work-plate dd { font-size: 0.95rem; }
.work-plate .price-line { font-family: var(--display); font-weight: 700; font-size: 1.45rem; }
.work-plate .note { font-size: 0.85rem; color: var(--grey); line-height: 1.6; }
@media (max-width: 880px) {
  .work-hero { grid-template-columns: 1fr; }
  .work-plate { position: static; }
}

/* zoom-on-hover for the main artwork */
.zoomable { position: relative; overflow: hidden; cursor: crosshair; }
.zoomable img { transition: transform 0.2s ease-out; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.zoomable:hover img { transform: scale(1.9); }
.zoomable .hint {
  position: absolute; right: 0.9rem; bottom: 0.8rem;
  font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: color-mix(in srgb, var(--ink) 70%, transparent); color: var(--paper);
  padding: 0.4rem 0.7rem; pointer-events: none;
  transition: opacity 0.3s ease;
}
.zoomable:hover .hint { opacity: 0; }
@media (hover: none) { .zoomable { cursor: default; } .zoomable:hover img { transform: none; } .zoomable .hint { display: none; } }

/* detail crops */
.crops { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 2vw, 1.5rem); }
.crops .crop { aspect-ratio: 1; background-size: 340%; background-color: var(--panel); }
.crops .crop:nth-child(1) { background-position: 18% 12%; }
.crops .crop:nth-child(2) { background-position: 55% 48%; background-size: 420%; }
.crops .crop:nth-child(3) { background-position: 82% 78%; }
.crop-note { margin-top: 1rem; font-size: 0.85rem; color: var(--grey); max-width: 52ch; }
.detail-notes {
  margin-top: clamp(1.6rem, 4vw, 2.6rem);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem);
}
.detail-notes .detail-label {
  font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--grey); margin-bottom: 0.6rem;
}
.detail-notes p { font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.62; max-width: 42ch; }
@media (max-width: 700px) { .detail-notes { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .crops { grid-template-columns: repeat(3, 1fr); } }

/* in-room "shown to scale": person + painting at true relative size,
   positioned by site.js so nothing is ever cropped */
.room {
  position: relative;
  background:
    linear-gradient(to bottom, #ECE7DD 0%, #E4DFD3 90%, #C7BEAC 90%, #B3AA98 100%);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 460px;
}
.room .scale-floor {
  position: absolute; left: 0; right: 0; top: 90%; bottom: 0;
  background: linear-gradient(to bottom, #C7BEAC, #ADA391);
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.08);
}
.room .scale-person { position: absolute; opacity: 0.92; }
.room .scale-person svg { width: 100%; height: 100%; display: block; }
.room .scale-art {
  position: absolute; margin: 0; background: #fff;
  border: 4px solid #2A2622;
  box-shadow: 0 2px 5px rgba(20, 19, 17, 0.2), 0 22px 42px -18px rgba(20, 19, 17, 0.5);
}
.room .scale-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room .scale-tag,
.room .scale-vmeasure span {
  font-family: var(--sans); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: #6E675B; white-space: nowrap;
}
.room .scale-tag { position: absolute; left: 50%; top: -1.35rem; transform: translateX(-50%); }
/* vertical dimension bracket beside the painting */
.room .scale-vmeasure { position: absolute; width: 0; border-left: 1px solid #6E675B; }
.room .scale-vmeasure::before,
.room .scale-vmeasure::after {
  content: ""; position: absolute; left: -4px; width: 9px; border-top: 1px solid #6E675B;
}
.room .scale-vmeasure::before { top: 0; }
.room .scale-vmeasure::after { bottom: 0; }
.room .scale-vmeasure span { position: absolute; left: 0.5rem; top: 50%; transform: translateY(-50%); }
.room .room-note {
  position: absolute; left: 1.2rem; bottom: 1rem;
  font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: #6E675B;
}

/* story */
.story-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
.story-grid .story p { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.6; font-family: var(--serif); }
.story-grid .story p + p { margin-top: 1.2rem; }
@media (max-width: 820px) { .story-grid { grid-template-columns: 1fr; } }

/* confidence strip */
.confidence { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.confidence .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-block: 2.2rem; }
.confidence h3 { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.5rem; }
.confidence p { font-size: 0.88rem; color: var(--grey); line-height: 1.6; }
@media (max-width: 760px) { .confidence .container { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.about-copy p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.7; }
.about-copy p + p { margin-top: 1.3rem; }
.about-copy .lead { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.3; }
.about-side { position: sticky; top: 6.5rem; }
.facts { border-top: 1px solid var(--line); margin-top: 0; }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); padding-top: 0.15rem; }
.facts dd { font-size: 0.95rem; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-side { position: static; } }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
@media (max-width: 820px) { .form-grid { grid-template-columns: 1fr; } }
form .field { display: grid; gap: 0.45rem; margin-bottom: 1.5rem; }
form label { font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
form input, form textarea, form select {
  font-family: var(--serif); font-size: 1rem;
  background: transparent; color: var(--ink);
  border: none; border-bottom: 1px solid var(--ink);
  border-radius: 0; padding: 0.6rem 0.1rem;
  transition: border-color 0.2s ease;
}
form select { appearance: none; }
form input::placeholder, form textarea::placeholder { color: color-mix(in srgb, var(--grey) 75%, transparent); font-style: italic; }
form textarea { min-height: 7.5rem; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--grey); margin-top: 1rem; max-width: 44ch; }

/* ---------- footer ---------- */
footer.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(3.5rem, 8vh, 5.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 2.5rem; }
.footer-grid .big {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05; max-width: 14ch; text-wrap: balance;
}
.footer-grid h4 { font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 55%, transparent); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-grid a { text-decoration: none; font-size: 0.95rem; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: 1.4rem;
  border-top: 1px solid color-mix(in srgb, var(--paper) 18%, transparent);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 50%, transparent);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
