/* The Quiet Wall: page compositions. Each page has its own arrangement on the same white wall. */

/* ===================== HOME: the painting is enormous on the wall; the camera dives in and back ===================== */
.walk { position: relative; height: auto; }
.pin {
  --floor: 64px;
  position: relative; height: var(--vh); min-height: 560px; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) var(--floor);
  background: #fff;
}
/* the tagline stands in the rail column, above the email; it gives way on short screens so nothing ever collides */
.wall-top { position: absolute; z-index: 6; left: calc(34px - var(--rail)); bottom: calc(var(--floor) + 22px); width: 152px; }
.wall-h1 { font: 400 20px/1.36 var(--serif); letter-spacing: -.004em; color: var(--ink); }
.skipwalk-m { display: none; }
@media (max-height: 700px) and (min-width: 901px) {
  .wall-top { width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}

/* the room: a wall with a pool of light, a baseboard and a floor, drawn in units of the painting's height */
.stage { position: relative; min-height: 0; overflow: hidden; perspective: 1600px; background: #f6f5f1; }
.tilt { position: absolute; inset: -34px; transform-style: flat; will-change: transform; }
.room { position: absolute; left: 50%; top: 50%; width: 0; height: 0; --H: 760px; }
.room::before { /* wall */
  content: ""; position: absolute; left: calc(var(--H) * -7); top: calc(var(--H) * -6); width: calc(var(--H) * 14); height: calc(var(--H) * 12);
  background:
    radial-gradient(ellipse calc(var(--H) * 1.5) calc(var(--H) * 1.15) at 50% calc(50% - var(--H) * .12), #fff 0%, #fff 30%, rgba(255,255,255,0) 100%),
    linear-gradient(to bottom, #ebe9e3 0, #f4f2ee calc(50% - var(--H) * 1.2), #f7f6f2 calc(50% + var(--H) * .35), #f4f2ee calc(50% + var(--H) * 1.15));
}
.room::after { content: none; }
.layer { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.walk-on .layer { pointer-events: auto; }
/* one world, the size of the room's hanging area; the camera moves it. The painting sits in the middle at its own size. */
.world { position: absolute; left: 0; top: 0; transform-origin: 50% 50%; --fw: 600px; --fh: 800px; }
.walk:not(.walk-on) .world { width: min(calc(100vw - var(--rail) - 80px), calc((var(--vh) - 120px) * var(--ar))); aspect-ratio: var(--ar); transform: translate(-50%, -50%); --fw: 100%; --fh: 100%; }
@property --halo { syntax: '<color>'; inherits: true; initial-value: #f2a33a; }
.halo {
  position: absolute; left: 50%; top: 50%; width: calc(var(--fw) * 1.36); height: calc(var(--fh) * 1.44); transform: translate(-50%, -50%); pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side at 50% 54%, color-mix(in srgb, var(--halo) 30%, transparent) 0%, color-mix(in srgb, var(--halo) 11%, transparent) 55%, transparent 100%);
  transition: --halo 1.8s ease;
}
.art {
  position: absolute; left: 50%; top: 50%; width: var(--fw); height: var(--fh); transform: translate(-50%, -50%); z-index: 2; display: block; background: #2a2623;
  box-shadow: 0 1px 2px rgba(18,18,18,.25), 0 16px 28px -10px rgba(18,18,18,.38), 0 54px 80px -36px rgba(18,18,18,.4);
  transition: width 1.6s cubic-bezier(.3,.6,.2,1), height 1.6s cubic-bezier(.3,.6,.2,1);
}
.walk:not(.walk-on) .art { left: 0; top: 0; transform: none; }
.world.cut .art, .world.cut .halo { transition: none; }
.art img { width: 100%; height: 100%; display: block; background: #e8e5de; object-fit: fill; }
/* the living paint canvas covers the whole world; the plain image under it is hidden while the canvas runs */
.live { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.world:has(.live.lp-on) .art img { visibility: hidden; }
.stage::after { /* light falls off toward the edges of the room */
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(130% 120% at 50% 45%, transparent 55%, rgba(18,18,18,.07) 100%);
}

/* the floor: one quiet row. pause, a caption line, a counter, whole painting, and two arrows. Nothing sits on the painting. */
.floor {
  position: relative; z-index: 3; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto auto auto; align-items: center; column-gap: 14px;
  padding: 0 24px 0 18px; background: linear-gradient(#f1efea, #e9e6df); border-top: 1px solid #d3cfc5;
}
.progress { position: absolute; left: 0; right: 0; top: -1px; height: 2px; }
.progress i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

.cap-stack { display: grid; min-width: 0; }
.cap-item { grid-area: 1 / 1; display: block; min-width: 0; }
@keyframes capIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.cap-item.cap-in { animation: capIn .6s ease both; }
.cap-item a { display: block; text-decoration: none; color: var(--ink); padding: 6px 0; min-height: 44px; }
.cap-desc { display: block; font: italic 400 21px/1.25 var(--serif); letter-spacing: -.004em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cap-sub { display: block; font: 400 14px/1.3 var(--sans); letter-spacing: .02em; color: var(--ink-3); margin-top: 1px; }
.cap-item a:hover .cap-desc { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--accent); }
.count { font: 500 15px/1 var(--sans); letter-spacing: .06em; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

.whole-btn {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 14px;
  background: transparent; color: var(--ink); border: 1px solid #b9b4a8; border-radius: 999px; cursor: pointer;
  font: 500 15px/1 var(--sans); white-space: nowrap;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.whole-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.whole-btn[aria-pressed="true"] { border-color: var(--ink); }
.whole-btn svg { width: 18px; height: 18px; flex: none; }
.wb-s { display: none; }
.step {
  display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0;
  background: #fff; color: var(--ink); border: 1px solid var(--ink); border-radius: 50%; cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.step svg { width: 22px; height: 22px; transition: transform .35s ease; }
.step:hover { background: var(--ink); color: #fff; }
.step[data-next]:hover svg { transform: translateX(3px); }
.step[data-prev]:hover svg { transform: translateX(-3px); }
.pp { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--ink-2); cursor: pointer; border-radius: 50%; }
.pp:hover { color: var(--ink); }
.pp svg { width: 16px; height: 16px; }
.pp .i-play { display: none; }
.pp[aria-pressed="true"] .i-play { display: block; }
.pp[aria-pressed="true"] .i-pause { display: none; }
.pp[hidden], .whole-btn[hidden] { display: none; }
/* explicit places, so a hidden control leaves its track empty instead of shifting the others */
.pp { grid-column: 1; grid-row: 1; } .cap-stack { grid-column: 2; grid-row: 1; } .count { grid-column: 3; grid-row: 1; }
.whole-btn { grid-column: 4; grid-row: 1; } .step[data-prev] { grid-column: 5; grid-row: 1; } .step[data-next] { grid-column: 6; grid-row: 1; }
.skipwalk-d { grid-column: 7; grid-row: 1; }
.walk:not(.walk-on) .step, .walk:not(.walk-on) .count { display: none; }

/* look closer: the same detail stops as still windows (always available, the only version under reduced motion) */
.stops { padding: clamp(80px, 9vw, 140px) var(--gut) clamp(80px, 9vw, 130px); }
.stops h2 { font: 300 clamp(40px, 5vw, 76px)/1 var(--serif); letter-spacing: -.035em; margin: 14px 0 14px; }
.stops > p { max-width: 50ch; color: var(--ink-2); font-size: 19px; }
.cl-grid { list-style: none; padding: 0; margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 32px); }
.cl-grid a { display: block; text-decoration: none; }
.dwin { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #e8e5de; box-shadow: var(--lift); }
.dwin img {
  position: absolute; max-width: none; height: auto; width: calc(var(--z) * 100%);
  left: calc(50% - var(--cu) * var(--z) * 100%); top: calc(50% - var(--cv) * var(--z) * var(--k) * 100%);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.cl-grid a:hover .dwin img { transform: scale(1.04); }
.cl-cap { display: grid; gap: 2px; margin-top: 14px; }
.cl-cap b { font: 400 22px/1.3 var(--serif); }
.cl-cap span { font: 400 16px/1.4 var(--sans); color: var(--ink-3); }

.statement { padding: clamp(110px, 13vw, 210px) var(--gut) clamp(70px, 8vw, 130px); }
.st-big { font: 300 clamp(56px, 8.4vw, 136px)/.98 var(--serif); letter-spacing: -.04em; max-width: 9.5em; text-wrap: balance; }
.st-big .m { display: inline-block; width: .11em; height: .11em; border-radius: 50%; background: var(--accent); margin-left: .08em; }
.st-small { margin-top: 44px; font: 400 clamp(19px, 1.5vw, 22px)/1.6 var(--sans); color: var(--ink-2); max-width: 52ch; }

.continue { background: var(--paper); margin-top: 0; padding: clamp(64px, 8vw, 120px) var(--gut) clamp(56px, 7vw, 100px); }
.continue .eyebrow { display: block; margin-bottom: 30px; }
.continue ul { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
.continue li { border-bottom: 1px solid var(--rule); }
.continue a {
  display: grid; grid-template-columns: minmax(260px, 5fr) minmax(0, 6fr) 56px; align-items: baseline;
  gap: 8px 40px; padding: clamp(34px, 4vw, 56px) 0; text-decoration: none;
}
.continue .c-title { font: 300 clamp(48px, 6vw, 96px)/1 var(--serif); letter-spacing: -.035em; }
.continue .c-text { font: 400 19px/1.55 var(--sans); color: var(--ink-2); max-width: 46ch; }
.continue .c-arr { font: 300 40px/1 var(--serif); justify-self: end; transition: transform .35s ease; }
.continue a:hover .c-arr { transform: translateX(8px); }
.continue a:hover .c-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 10px; text-decoration-color: var(--accent); }

/* ===================== ART: walking a long wall, one painting a screen ===================== */
html:has(.p-art) { scroll-snap-type: y proximity; }
.a-grid { display: grid; grid-template-columns: minmax(0, 1fr) 172px; align-items: start; padding: 0 0 0 var(--gut); }
.a-intro { position: fixed; z-index: 6; left: 34px; bottom: 104px; width: 164px; }
.a-intro h1 { font: 300 76px/1 var(--serif); letter-spacing: -.04em; margin-bottom: 18px; }
.a-intro p { font: italic 400 19px/1.45 var(--serif); color: var(--ink-2); }
.a-intro p + p { margin-top: 10px; }
.a-wall { grid-column: 1; min-width: 0; }
.a-index { grid-column: 2; position: sticky; top: calc(calc(var(--vh) * 0.5) - 235px); align-self: start; justify-self: end; padding-right: 22px; }
.a-index .eyebrow { display: block; margin: 0 0 8px 6px; }
.a-index ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 46px); }
.a-index a {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px;
  font: 500 16px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: .02em;
  color: var(--ink-3); text-decoration: none; transition: color .3s ease, background .3s ease;
}
.a-index a:hover { color: var(--ink); background: var(--paper); }
.a-index a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.a-index a[aria-current="true"]::before { content: ""; position: absolute; left: 7px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent); }
.a-index-sheet { display: none; }

.bay {
  --capH: 154px;
  min-height: var(--vh); display: grid; grid-template-rows: minmax(0, 1fr) auto;
  padding: 24px 28px 0 0; scroll-snap-align: start; scroll-margin-top: 0;
}
.bay-art {
  min-height: 0; display: flex; justify-content: center; align-items: flex-end; text-decoration: none;
  max-height: calc(var(--vh) - 24px - var(--capH) - 6px);
}
.bay-art img {
  width: auto; height: auto; max-width: 100%; max-height: calc(var(--vh) - 24px - var(--capH) - 6px);
  box-shadow: 0 1px 2px rgba(18,18,18,.22), 0 16px 28px -12px rgba(18,18,18,.32), 0 50px 70px -36px rgba(18,18,18,.34);
  transform: scale(var(--bs, 1)); transform-origin: 50% 70%; will-change: transform;
}
.bay.lowres .bay-art img { max-width: min(100%, 520px); }
.bay figcaption {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: clamp(20px, 2.4vw, 40px); align-items: end;
  margin-top: 22px; padding: 16px 0 24px; border-top: 1px solid var(--rule);
}
.bay .num { font: 300 clamp(84px, 8.4vw, 124px)/.82 var(--serif); letter-spacing: -.045em; font-variant-numeric: lining-nums tabular-nums; min-width: 1.5ch; }
.bay .cap { display: block; padding-bottom: 6px; }
.bay .desc { font: 400 clamp(24px, 2.2vw, 32px)/1.25 var(--serif); letter-spacing: -.012em; display: block; max-width: 24em; }
.bay .meta { font: 400 16px/1.5 var(--sans); color: var(--ink-3); display: block; margin-top: 6px; letter-spacing: .01em; }
.bay .open {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 24px; margin-bottom: 2px;
  font: 500 17px/1 var(--sans); text-decoration: none; color: var(--ink);
  border: 1px solid var(--ink); border-radius: 999px; transition: background .3s ease, color .3s ease;
}
.bay .open:hover { background: var(--ink); color: #fff; }
.bay .open .arr { transition: transform .35s ease; }
.bay .open:hover .arr { transform: translateX(4px); }
.a-end { margin: 0 28px 0 0; padding: 70px 0 50px; font: italic 400 24px/1.5 var(--serif); color: var(--ink-2); }
.a-end a { font-style: normal; }

/* ===================== WORK: one painting, enormous, with a little depth ===================== */
.w-wall {
  position: relative; isolation: isolate; min-height: var(--vh);
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 26vw, 372px); column-gap: clamp(28px, 4vw, 64px); align-items: end;
  padding: 30px var(--gut) 46px 0;
  background: radial-gradient(110% 90% at 42% 40%, #fff 0%, #fff 48%, #f6f5f1 100%);
}
.w-wall::after { /* the floor */
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 24px;
  background: linear-gradient(#ece9e2, #e3e0d7); border-top: 1px solid #d3cfc5;
}
.w-stage { position: relative; display: flex; justify-content: center; align-items: flex-end; min-width: 0; perspective: 1500px; padding: 0 0 0 var(--gut); }
.w-tilt { position: relative; will-change: transform; display: inline-block; max-width: 100%; }
.w-ghost {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  filter: blur(26px) saturate(1.5); opacity: .5; transform: translate3d(0, 22px, 0) scale(1.04);
}
.w-art { position: relative; z-index: 1; display: block; padding: 0; margin: 0; border: 0; background: #2a2623; cursor:pointer;
  box-shadow: 0 1px 2px rgba(18,18,18,.25), 0 18px 30px -12px rgba(18,18,18,.38), 0 56px 80px -38px rgba(18,18,18,.42); }
.w-art img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(var(--vh) - 106px); }
.w-art:focus-visible { outline-offset: 6px; }
.w-wall.lowres .w-art img { max-width: min(100%, 520px); }
.w-label { padding-bottom: 6px; display: grid; gap: 0; }
.w-num { font: 300 clamp(96px, 9vw, 140px)/.8 var(--serif); letter-spacing: -.045em; font-variant-numeric: lining-nums; color: var(--ink); margin-bottom: 26px; }
.w-label .eyebrow { display: block; margin-bottom: 12px; }
.w-label h1 { font: 400 clamp(30px, 2.7vw, 40px)/1.1 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.w-title { font: italic 400 22px/1.4 var(--serif); color: var(--ink-2); margin-top: 12px; }
.w-desc { font: 400 19px/1.55 var(--sans); margin-top: 20px; max-width: 32ch; }
.w-plan { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); display: grid; gap: 8px; justify-items: start; }
.w-plan p { font: 400 17px/1.55 var(--sans); color: var(--ink-2); }
.w-full { white-space: nowrap; margin-bottom: 8px; display: inline-flex; align-items: center; gap: 12px; width: auto; height: auto; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 500 17px/1 var(--sans); }
.w-full svg { width: 20px; height: 20px; }
.w-nav { margin-top: 22px; border-top: 1px solid var(--rule); }
.w-nav a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px;
  min-height: 72px; padding: 8px 0; border-bottom: 1px solid var(--rule); text-decoration: none;
}
.w-nav .dir { display: block; font: 500 15px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.w-nav .what { display: block; font: 400 18px/1.3 var(--serif); margin-top: 4px; }
.w-nav img { height: 52px; width: auto; opacity: .88; box-shadow: 0 6px 12px -6px rgba(18,18,18,.4); }
.w-nav a:hover .what { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--accent); }
.w-nav a:hover img { opacity: 1; }
.w-all { margin-top: 6px; }
/* wide paintings take the whole wall; the label sits beneath, in three columns */
.w-wall[data-orient="landscape"] { grid-template-columns: minmax(0, 1fr); padding-right: var(--gut); padding-bottom: 0; row-gap: 0; }
.w-wall[data-orient="landscape"] .w-stage { padding: 0 0 0 var(--gut); }
.w-wall[data-orient="landscape"] .w-label {
  margin: 56px 0 70px var(--gut); padding-top: 28px; border-top: 1px solid var(--rule);
  grid-template-columns: auto minmax(0, 1fr) minmax(280px, 340px); grid-template-areas: "num id nav" "num plan nav"; column-gap: clamp(28px, 4vw, 64px); align-items: start;
}
.w-wall[data-orient="landscape"]::after { display: none; }
.w-wall[data-orient="landscape"] .w-num { grid-area: num; margin: 0; }
.w-wall[data-orient="landscape"] .w-id { grid-area: id; }
.w-wall[data-orient="landscape"] .w-plan { grid-area: plan; border-top: 0; padding-top: 0; margin-top: 24px; }
.w-wall[data-orient="landscape"] .w-nav { grid-area: nav; margin-top: 0; border-top: 1px solid var(--rule); }
.w-wall[data-orient="landscape"] .w-all { grid-area: nav; align-self: end; }

/* shared: a painting hung whole, with a caption */
.fig, .m-art, .r-p25, .r-r1, .ab-art, .ab-wide, .ct-art { margin: 0; }
.m-art img, .r-p25 img, .r-r1 img, .ab-art img, .ab-wide img, .ct-art img {
  display: block; width: auto; height: auto; max-width: 100%;
  box-shadow: 0 1px 2px rgba(18,18,18,.22), 0 16px 28px -12px rgba(18,18,18,.34), 0 50px 70px -36px rgba(18,18,18,.36);
}
.tile-cap a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--ink-3); }

/* ===================== MERCH: the painting first, then what is planned ===================== */
.m-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(36px, 5vw, 90px); align-items: end; padding: 34px var(--gut) 0; min-height: var(--vh); }
.m-hl { padding-bottom: 54px; }
.m-hl .eyebrow { display: block; margin-bottom: 18px; }
.m-hl h1 { font: 300 clamp(84px, 11vw, 176px)/.9 var(--serif); letter-spacing: -.05em; margin-bottom: 36px; }
.m-lede { font: 400 clamp(21px, 1.8vw, 26px)/1.5 var(--serif); max-width: 22em; color: var(--ink); }
.m-hl .status-line { margin-top: 28px; }
.m-art img { max-height: calc(var(--vh) - 196px); }
.m-art .tile-cap { max-width: 36ch; margin-top: 14px; font-size: 16px; }
.m-sec { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); column-gap: clamp(36px, 5vw, 90px); align-items: start; margin: clamp(90px, 10vw, 150px) var(--gut) 0; padding-top: 34px; border-top: 1px solid var(--ink); }
.m-side { position: sticky; top: 36px; }
.m-no { display: block; font: 300 28px/1 var(--serif); color: var(--ink-3); margin-bottom: 16px; font-variant-numeric: lining-nums; }
.m-side h2 { font: 300 clamp(44px, 4.4vw, 68px)/1 var(--serif); letter-spacing: -.035em; margin-bottom: 20px; }
.m-side p { max-width: 36ch; }
.m-side p + p { margin-top: 10px; }
.m-side .m-status { color: var(--ink-2); font-size: 17px; display: flex; gap: 12px; align-items: baseline; margin-top: 18px; }
.m-side .m-status::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.m-actions { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 16px; }
.m-vis { min-width: 0; }
.m-tees { display: grid; grid-template-columns: repeat(2, minmax(0, 330px)); gap: 26px; }
.m-tile { margin: 0; }
.m-tile .shot { aspect-ratio: 1000 / 1100; background: #e8e2d4; }
.m-tile .shot img { width: 100%; height: 100%; object-fit: contain; background: none; }
.pr-row { list-style: none; padding: 0; display: flex; align-items: flex-end; gap: 20px; }
.pr-row + .pr-row { margin-top: 28px; }
.pr-row li { flex: var(--ar) 1 0; min-width: 0; }
.pr-row a { display: block; text-decoration: none; }
.pr-row img { width: 100%; height: auto; box-shadow: var(--lift); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pr-row a:hover img { transform: translateY(-5px); }
.pr-row .tile-cap { margin-top: 12px; }
.m-vis > .tile-cap { margin-top: 24px; font-size: 16px; }
.empty-frame { aspect-ratio: 4 / 3; max-width: 560px; display: grid; place-items: center; background: #fcfbf9; border: 1px solid var(--rule); box-shadow: inset 0 0 0 14px #fff, inset 0 0 0 15px var(--rule), var(--lift); }
.empty-frame span { font: italic 300 clamp(26px, 2.6vw, 38px)/1.2 var(--serif); color: var(--ink-2); }
.m-more { margin: clamp(90px, 10vw, 150px) var(--gut) 0; padding-top: 34px; border-top: 1px solid var(--rule); }
.m-more h2 { font: 300 clamp(36px, 3.6vw, 52px)/1.05 var(--serif); letter-spacing: -.03em; margin: 12px 0 12px; }
.m-more > p { max-width: 54ch; color: var(--ink-2); }
.m-strip { list-style: none; padding: 0; margin-top: 34px; display: grid; grid-template-columns: repeat(4, minmax(0, 260px)); gap: 22px; }

/* ===================== ROBOT: three short loops are the art; the two paintings follow, whole ===================== */
.loop { margin: 0; }
.loop { --fr: .6667; }
.loop.idle { --fr: .8289; }
.loop.turn { --fr: .8036; }
.loop .frame { position: relative; overflow: hidden; background: #f0e9d8; box-shadow: var(--lift); height: var(--fh); width: calc(var(--fh) * var(--fr)); aspect-ratio: auto; }
.loop video { width: 100%; height: 100%; object-fit: cover; display: block; background: #f0e9d8; }
.loop.idle video { transform: scale(1.04); transform-origin: 100% 55%; }  /* hides a thin black edge in the concept loop, a decorative crop of the loop only */
.loop .tile-cap { margin-top: 12px; }
.mv-toggle { margin-top: 22px; min-height: 52px; padding: 0 26px; cursor: pointer; background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; font: 500 17px/1 var(--sans); }
.mv-toggle:hover { background: var(--ink); color: #fff; }
.r-top {
  --bh: clamp(380px, calc(var(--vh) - 150px), 720px);
  display: grid; grid-template-columns: minmax(200px, 1fr) auto auto; column-gap: clamp(26px, 3.4vw, 56px); align-items: start;
  padding: clamp(24px, 5.2vh, 52px) var(--gut) 0;
}
.r-hl { align-self: end; padding-bottom: 6px; }
.r-head .eyebrow { display: block; margin-bottom: 18px; }
.r-head h1 { font: 300 clamp(60px, 6.4vw, 104px)/.92 var(--serif); letter-spacing: -.045em; margin-bottom: 26px; }
.r-info p { max-width: 24ch; font-size: 19px; }
.r-info p + p { margin-top: 10px; }
.r-info .status-line { margin-top: 22px; }
.r-big { --fh: var(--bh); }
.r-pair { display: grid; row-gap: 18px; align-self: start; }
.r-pair .loop { --fh: calc((var(--bh) - 18px) / 2); }
.r-sec { padding: 0 var(--gut); margin-top: clamp(90px, 9vw, 140px); }
.r-sec > .eyebrow { display: block; margin-bottom: 10px; }
.r-sec > h2 { font: 300 clamp(36px, 3.8vw, 56px)/1.05 var(--serif); letter-spacing: -.032em; margin-bottom: 14px; }
.r-sec > p.lead { max-width: 54ch; color: var(--ink-2); }
.r-paint { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; column-gap: clamp(26px, 3.4vw, 56px); align-items: end; }
.r-pt { padding-bottom: 8px; }
.r-pt .eyebrow { display: block; margin-bottom: 12px; }
.r-pt h2 { font: 300 clamp(36px, 3.8vw, 56px)/1.05 var(--serif); letter-spacing: -.032em; margin-bottom: 14px; }
.r-pt p { color: var(--ink-2); max-width: 26ch; }
.r-p25, .r-r1 { margin: 0; }
.r-p25 img, .r-r1 img { display: block; width: auto; height: auto; max-width: 100%; box-shadow: 0 1px 2px rgba(18,18,18,.22), 0 16px 28px -12px rgba(18,18,18,.34), 0 50px 70px -36px rgba(18,18,18,.36); }
.r-p25 img { max-height: calc(var(--vh) - 130px); }
.r-r1 img { max-height: min(calc(var(--vh) - 130px), 640px); max-width: min(100%, 440px); }
.r-paint .tile-cap { max-width: 30ch; margin-top: 14px; font-size: 15px; }
.r-shirts { list-style: none; padding: 0; margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 250px)); gap: 22px; }
.r-shirts .shot { aspect-ratio: 1000 / 1100; background: #e8e2d4; }
.r-shirts img { width: 100%; height: 100%; object-fit: contain; background: none; }
.r-shirts + .link { margin-top: 22px; }

/* ===================== ABOUT: the painting, and a statement set large ===================== */
.ab-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(36px, 5vw, 90px); align-items: end; padding: 34px var(--gut) 0; min-height: var(--vh); }
.ab-hl { padding-bottom: 44px; }
.ab-hl .eyebrow { display: block; margin-bottom: 22px; }
.ab-hl h1 { font: 300 clamp(40px, 4vw, 64px)/1.08 var(--serif); letter-spacing: -.035em; text-wrap: balance; max-width: 11em; }
.ab-art img { max-height: calc(var(--vh) - 170px); }
.ab-art .tile-cap { margin-top: 14px; font-size: 16px; }
.ab { padding: clamp(80px, 9vw, 140px) var(--gut) 0; }
.ab-body { display: grid; grid-template-columns: 220px minmax(0, 700px); column-gap: clamp(28px, 4vw, 72px); }
.ab-body > .eyebrow { padding-top: 8px; }
.ab-body p { font: 400 clamp(21px, 1.9vw, 26px)/1.6 var(--serif); }
.ab-body p + p { margin-top: 20px; }
.ab-plan { margin-top: clamp(60px, 7vw, 100px); display: grid; grid-template-columns: 220px minmax(0, 700px); column-gap: clamp(28px, 4vw, 72px); }
.ab-plan > .eyebrow { padding-top: 24px; }
.ab-plan dl { margin: 0; border-top: 1px solid var(--ink); }
.ab-plan .row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.ab-plan dt { font: 400 25px/1.3 var(--serif); }
.ab-plan dd { margin: 0; color: var(--ink-2); font-size: 18px; }
.ab-plan .row a { color: var(--ink); text-underline-offset: 5px; text-decoration-color: var(--ink-3); text-decoration-thickness: 1px; }
.ab-band { background: var(--paper); margin-top: clamp(90px, 10vw, 150px); padding: clamp(80px, 9vw, 140px) var(--gut); }
.ab-big { font: 300 clamp(52px, 7.6vw, 124px)/.98 var(--serif); letter-spacing: -.04em; max-width: 9.5em; }
.ab-big .m { display: inline-block; width: .11em; height: .11em; border-radius: 50%; background: var(--accent); margin-left: .08em; }
.ab-wide { margin-top: clamp(50px, 6vw, 90px); max-width: 1000px; }
.ab-wide img { width: 100%; }
.ab-wide .tile-cap { margin-top: 14px; font-size: 16px; }
.ab-band > .link { margin-top: 36px; }

/* ===================== CONTACT: the address, large, beside a painting ===================== */
.ct { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(36px, 5vw, 90px); align-items: start; padding: 54px var(--gut) 0; }
.ct-l { padding-bottom: 20px; min-width: 0; }
.ct h1 { font: 300 clamp(72px, 8.4vw, 132px)/.9 var(--serif); letter-spacing: -.05em; }
.ct-mail { display: inline-block; margin-top: 40px; font: 400 clamp(28px, 3vw, 44px)/1.1 var(--serif); letter-spacing: -.02em; text-decoration: none; overflow-wrap: anywhere; padding: 6px 0; border-bottom: 2px solid var(--ink); }
.ct-mail:hover { border-bottom-color: var(--accent); }
.ct-note { margin-top: 22px; color: var(--ink-2); max-width: 46ch; }
.ct-form { margin-top: clamp(50px, 6vw, 84px); max-width: 560px; padding-top: 28px; border-top: 1px solid var(--rule); }
.ct-form > .eyebrow { display: block; margin-bottom: 22px; }
.ct-art { position: sticky; top: 24px; align-self: start; }
.ct-art img { max-height: calc(var(--vh) - 120px); }
.ct-art .tile-cap { margin-top: 14px; font-size: 16px; }
.field { display: block; margin-bottom: 24px; }
.field > span { display: block; font: 500 16px/1.3 var(--sans); color: var(--ink-2); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 14px;
  font: 400 18px/1.4 var(--sans); color: var(--ink); background: #fff;
  border: 1px solid #8c877d; border-radius: 0; appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--ink); }
.field .err { display: none; font: 500 15px/1.4 var(--sans); color: #b00008; margin-top: 6px; font-style: normal; }
.field.bad .err { display: block; }
.field.bad input, .field.bad textarea { border-color: #b00008; }
.state { display: none; margin: 0 0 28px; padding: 18px 20px; border: 1px solid var(--ink); background: var(--paper); }
.state strong { display: block; font: 400 22px/1.3 var(--serif); margin-bottom: 4px; }
.state.show { display: block; }
.state.is-error { border-color: #b00008; }
.state a { text-underline-offset: 4px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.form-foot small { font: 400 15px/1.5 var(--sans); color: var(--ink-3); }
.btn { border-radius: 999px; }

/* ===================== PHONE COMPOSITIONS ===================== */
@media (max-width: 900px) {
  /* home: the painting as large as the screen allows, one calm control row beneath it */
  .walk { height: calc(var(--vh) + calc(var(--vh) * 4)); }
  .pin { --floor: auto; top: 58px; height: calc(var(--vh) - 58px); min-height: 0; grid-template-rows: auto minmax(0, 1fr) auto; }
  .wall-top { position: static; width: auto; height: auto; clip: auto; clip-path: none; overflow: visible; white-space: normal; display: flex; align-items: center; gap: 12px; padding: 2px var(--gut) 2px; background: #fff; border-bottom: 1px solid var(--rule); }
  .wall-h1 { flex: 1; min-width: 0; font-size: 14px; line-height: 1.3; padding: 5px 0; }
  .skipwalk-m { display: inline-flex; }
  .skipwalk-d { display: none; }
  .stage::after { background: radial-gradient(150% 120% at 50% 45%, transparent 60%, rgba(18,18,18,.06) 100%); }
  .floor { grid-template-columns: auto auto minmax(0, 1fr) auto auto; grid-template-rows: auto auto; row-gap: 4px; column-gap: 8px; padding: 8px var(--gut) 10px; }
  .cap-stack { grid-column: 1 / 5; grid-row: 1; }
  .count { grid-column: 5; grid-row: 1; justify-self: end; align-self: start; padding-top: 10px; }
  .cap-item a { padding: 4px 0 0; min-height: 0; }
  .cap-desc { font-size: 18px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .cap-sub { font-size: 13px; }
  .pp { grid-column: 1; grid-row: 2; margin-left: -10px; }
  .whole-btn { grid-column: 2; grid-row: 2; justify-self: start; padding: 0 14px 0 12px; font-size: 15px; gap: 8px; }
  .step[data-prev] { grid-column: 4; grid-row: 2; }
  .step[data-next] { grid-column: 5; grid-row: 2; }
  .step { width: 46px; height: 46px; }
  .w-full { width: auto; height: auto; }
  .statement { padding-top: 72px; }
  .st-big { font-size: clamp(46px, 14vw, 72px); }
  .stops { padding-top: 64px; }
  .cl-grid { grid-template-columns: 1fr; }
  .continue { padding: 52px var(--gut) 48px; }
  .continue a { grid-template-columns: minmax(0, 1fr) 36px; padding: 26px 0; gap: 6px 12px; }
  .continue .c-title { grid-column: 1; font-size: 48px; }
  .continue .c-arr { grid-column: 2; grid-row: 1; align-self: center; }
  .continue .c-text { grid-column: 1 / -1; font-size: 17px; }

  /* art: one painting a screen, an index sheet */
  html:has(.p-art) { scroll-snap-type: y proximity; }
  .a-grid { display: block; padding: 0; }
  .a-intro { position: static; width: auto; padding: 20px var(--gut) 14px; scroll-snap-align: start; scroll-margin-top: 58px; }
  .a-intro h1 { font-size: 52px; margin-bottom: 6px; }
  .a-intro p { max-width: 34ch; font-size: 18px; }
  .a-intro p + p { display: none; }
  .a-index { display: none; }
  .bay { --capH: 124px; min-height: calc(var(--vh) - 58px); padding: 8px 0 0; scroll-margin-top: 58px; }
  .bay-art { align-items: center; max-height: calc(var(--vh) - 58px - var(--capH) - 20px); }
  .bay-art img { max-height: calc(var(--vh) - 58px - var(--capH) - 20px); }
  .bay figcaption { grid-template-columns: auto minmax(0, 1fr); row-gap: 10px; column-gap: 16px; margin: 14px var(--gut) 0; padding: 12px 0 18px; }
  .bay .num { font-size: 64px; }
  .bay .desc { font-size: 21px; }
  .bay .open { grid-column: 1 / -1; justify-self: start; min-height: 48px; }
  .a-end { margin: 0 var(--gut); padding: 40px 0 70px; }
  .a-index-sheet { display: block; position: fixed; right: 14px; bottom: 14px; z-index: 40; }
  .a-index-sheet summary {
    list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    min-height: 52px; padding: 0 22px; background: var(--ink); color: #fff; border-radius: 999px;
    font: 500 16px/1 var(--sans); letter-spacing: .04em; box-shadow: 0 6px 22px -6px rgba(0,0,0,.45);
  }
  .a-index-sheet summary::-webkit-details-marker { display: none; }
  .a-index-sheet[open] summary { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
  .a-index-sheet .sheet {
    position: absolute; right: 0; bottom: 62px; width: min(334px, calc(100vw - 28px));
    background: #fff; border: 1px solid var(--ink); padding: 14px; box-shadow: 0 14px 40px -12px rgba(0,0,0,.4);
  }
  .a-index-sheet ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
  .a-index-sheet a {
    display: grid; place-items: center; min-height: 48px; text-decoration: none;
    font: 500 17px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink);
  }
  .a-index-sheet a:active, .a-index-sheet a[aria-current="true"] { background: var(--paper); }

  /* work: the painting edge to edge, then the label, then two big steps */
  .w-wall, .w-wall[data-orient="landscape"] { display: block; min-height: 0; padding: 14px 0 0; background: #fff; }
  .w-wall::after { display: none; }
  .w-stage, .w-wall[data-orient="landscape"] .w-stage { padding: 0 12px; display: block; text-align: center; }
  .w-art img { margin: 0 auto; max-height: calc(var(--vh) * 0.76); }
  .w-label, .w-wall[data-orient="landscape"] .w-label { display: block; margin: 40px var(--gut) 0; padding-top: 0; border-top: 0; }
  .w-num { font-size: 96px; margin-bottom: 14px; }
  .w-label h1 { font-size: 34px; }
  .w-wall[data-orient="landscape"] .w-plan { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); }
  .w-nav, .w-wall[data-orient="landscape"] .w-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 0; margin-top: 34px; }
  .w-nav a { grid-template-columns: minmax(0, 1fr) auto; border: 1px solid var(--rule); padding: 14px 14px 12px; min-height: 112px; align-items: end; }
  .w-nav a img { height: 42px; }
  .w-nav .what { font-size: 16px; }

  /* merch */
  .m-hero { display: flex; flex-direction: column; min-height: 0; padding-top: 18px; }
  .m-art { order: -1; text-align: center; margin-bottom: 34px; }
  .m-art img { margin: 0 auto; max-height: calc(var(--vh) * 0.64); }
  .m-art .tile-cap { max-width: none; text-align: left; }
  .m-hl { padding-bottom: 0; }
  .m-hl h1 { font-size: 88px; margin-bottom: 22px; }
  .m-sec { display: block; margin-top: 64px; }
  .m-side { position: static; margin-bottom: 28px; }
  .m-tees { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pr-row { gap: 10px; }
  .pr-row .tile-cap { font-size: 14px; }
  .m-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

  /* robot: the big loop first, edge to edge; the two others beside each other; then the paintings */
  .r-top { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 18px 0 0; --bh: auto; }
  .r-hl { display: contents; }
  .r-head { order: 0; padding: 4px var(--gut) 20px; }
  .r-head h1 { font-size: 66px; margin-bottom: 0; }
  .r-info { order: 2; padding: 26px var(--gut) 0; }
  .r-info p { max-width: none; }
  .r-big { order: 1; }
  .r-big .frame { max-width: 420px; margin: 0 auto; }
  .r-pair { order: 3; grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: 0; padding: 26px var(--gut) 0; align-items: start; }
  .r-paint { display: flex; flex-direction: column; align-items: stretch; }
  .r-pt { order: 0; padding-bottom: 28px; }
  .r-p25 { order: 1; text-align: center; }
  .r-p25 img { margin: 0 auto; max-height: calc(var(--vh) * 0.7); }
  .r-r1 { order: 2; margin-top: 54px; }
  .r-r1 img { max-width: min(100%, 360px); max-height: none; }
  .r-paint .tile-cap { max-width: none; text-align: left; }
  .mv-toggle { padding: 0 22px; }
  .r-shirts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

  /* about / contact */
  .ab-top { display: flex; flex-direction: column; min-height: 0; padding-top: 18px; }
  .ab-art { order: -1; text-align: center; margin-bottom: 34px; }
  .ab-art img { margin: 0 auto; max-height: calc(var(--vh) * 0.64); }
  .ab-art .tile-cap { text-align: left; }
  .ab-hl { padding-bottom: 0; }
  .ab-hl h1 { font-size: 38px; }
  .ab { padding-top: 64px; }
  .ab-body, .ab-plan { grid-template-columns: 1fr; row-gap: 14px; }
  .ab-plan > .eyebrow { padding-top: 0; }
  .ab-plan .row { grid-template-columns: 1fr; gap: 4px; }
  .ab-band { padding: 64px var(--gut); }
  .ct { display: flex; flex-direction: column; padding-top: 18px; }
  .ct-art { order: -1; position: static; text-align: center; margin-bottom: 34px; }
  .ct-art img { margin: 0 auto; max-height: calc(var(--vh) * 0.52); }
  .ct-art .tile-cap { text-align: left; }
  .ct h1 { font-size: 84px; }
  .ct-mail { margin-top: 26px; }
}

@media (max-width: 420px) {
  .whole-btn .wb-l { display: none !important; }
  .whole-btn .wb-s { display: inline; }
  .floor { column-gap: 6px; }
}

@media (prefers-reduced-motion: never) {
  .walk { height: auto !important; }
  .pin { position: relative; top: 0; }
}

/* ===================== ROUND 4: BREADTH. The wall keeps going: the hang, the chips, the walk through more paintings ===================== */
.bay[hidden], .hg[hidden], .a-index li[hidden], .a-index-sheet li[hidden], .stops[hidden] { display: none !important; }
.tile-cap b { display: block; font-weight: 500; color: var(--ink); }
.tile-cap .cp { display: block; }
.tile-cap .cp[hidden] { display: none; }
.tile-cap a { display: inline-block; margin-top: 4px; }

/* the skip link on home: leave the walk for the long wall */
.skipwalk { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; font: 500 15px/1 var(--sans); color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.skipwalk-m { display: none; }
.skipwalk:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--accent); }

/* chips: group by what is visible */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips button {
  min-height: 44px; padding: 0 20px; border: 1px solid #b9b4a8; border-radius: 999px; background: transparent; cursor: pointer;
  font: 500 16px/1.2 var(--sans); color: var(--ink); transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.chips button:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* the hang: whole paintings on one wall, centred on a common eye line. Calm sizes, a soft shadow, a caption on hover or focus. */
.hang { --hh: clamp(280px, 25vw, 390px); list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 84px clamp(36px, 4vw, 64px); }
.hg { position: relative; flex: none; max-width: 100%; width: calc(var(--hh) * var(--k, 1) * var(--ar)); }
.hg[data-o="portrait"] { --k: 1; }
.hg[data-o="narrow"] { --k: 1.18; }
.hg[data-o="square"] { --k: .9; }
.hg[data-o="landscape"] { --k: .72; }
.hg a { display: block; text-decoration: none; color: var(--ink); }
.hg .pic { display: block; width: 100%; aspect-ratio: var(--ar); background: #e8e5de; box-shadow: 0 1px 2px rgba(18,18,18,.2), 0 14px 26px -12px rgba(18,18,18,.34), 0 40px 56px -34px rgba(18,18,18,.36); transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .6s ease; }
.hg .pic img { display: block; width: 100%; height: 100%; background: transparent; }
.hg a:hover .pic, .hg a:focus-visible .pic { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(18,18,18,.2), 0 20px 32px -12px rgba(18,18,18,.38), 0 48px 60px -34px rgba(18,18,18,.4); }
.hg-cap { position: absolute; top: 100%; left: 50%; width: max(100%, 230px); max-width: 320px; transform: translate(-50%, 6px); margin-top: 16px; text-align: center; opacity: 0; transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.hg-cap b { display: block; font: 400 18px/1.3 var(--serif); letter-spacing: -.005em; }
.hg-cap i { display: block; font: 400 14px/1.4 var(--sans); font-style: normal; color: var(--ink-3); margin-top: 3px; }
.hg a:hover .hg-cap, .hg a:focus-visible .hg-cap { opacity: 1; transform: translate(-50%, 0); }
.hg a:focus-visible { outline-offset: 8px; }

/* home: the long wall */
.salon { padding: clamp(90px, 10vw, 150px) var(--gut) clamp(110px, 12vw, 190px); background: linear-gradient(#fff 0, #fbfaf7 60%, #f6f4ef 100%); border-top: 1px solid var(--rule); }
.sal-head h2 { font: 300 clamp(52px, 7vw, 112px)/.96 var(--serif); letter-spacing: -.042em; margin: 14px 0 26px; max-width: 9em; }
.sal-head > p { max-width: 54ch; color: var(--ink-2); font-size: clamp(19px, 1.5vw, 22px); }
.chip-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin: clamp(36px, 4vw, 56px) 0 clamp(60px, 7vw, 100px); padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.sal-count { font: 500 15px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sal-ns { margin-top: 20px; }
.salon .hang { --hh: clamp(300px, 27vw, 420px); row-gap: 96px; }

/* art: the chip bar, a quiet strip above the wall; each painting leaves room for it */
.a-bar { position: fixed; z-index: 9; top: 0; left: var(--rail); right: 0; min-height: 62px; display: flex; align-items: center; padding: 9px var(--gut) 9px var(--gut); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--rule); }
.a-bar .chips { gap: 8px; }
.a-bar .chips button { min-height: 44px; padding: 0 18px; font-size: 16px; }
.a-count { font: italic 400 19px/1.45 var(--serif); color: var(--ink-2); }
.bay { padding-top: 76px; }
.bay-art, .bay-art img { max-height: calc(var(--vh) - 76px - var(--capH) - 6px); }
.bay .facts { display: block; font: 400 15px/1.5 var(--sans); color: var(--ink-3); margin-top: 3px; letter-spacing: .01em; }
.a-intro { bottom: 112px; }
.w-facts { font: 400 16px/1.5 var(--sans); color: var(--ink-3); margin-top: 8px; letter-spacing: .01em; }

/* merch: the print wall */
.m-wide { grid-template-columns: minmax(0, 1fr); }
.m-wide .m-side { position: static; margin-bottom: clamp(60px, 7vw, 100px); max-width: 620px; }
.hang-m { --hh: clamp(250px, 21vw, 330px); justify-content: center; row-gap: 88px; column-gap: clamp(28px, 3vw, 48px); }
.m-tees4 { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 250px)); gap: 22px; }

/* about: two small hangs between the paragraphs */
.ab > .hang { --hh: clamp(240px, 21vw, 330px); margin: clamp(70px, 8vw, 120px) 0; row-gap: 90px; }
.ab > .hang + .ab-body { margin-top: clamp(90px, 9vw, 140px); }

/* robot: the wider family, quiet, below the robot's own paintings */
.r-fam .hang { --hh: clamp(240px, 20vw, 320px); justify-content: center; margin-top: 56px; row-gap: 88px; }
.r-fam > .link { margin-top: 56px; }

@media (max-width: 900px) {
  .m-hero, .ab-top, .ct { align-items: stretch; }
  .skipwalk-m { display: inline-flex; }
  .skipwalk-d { display: none; }
  .a-bar { position: static; left: 0; padding: 4px var(--gut) 12px; background: #fff; border-bottom: 0; min-height: 0; }
  .a-bar .chips { gap: 8px; }
  .a-bar .chips button { padding: 0 16px; font-size: 15px; }
  .bay { padding-top: 8px; }
  .bay-art, .bay-art img { max-height: calc(var(--vh) - 58px - var(--capH) - 20px); }
  .a-intro { bottom: auto; padding-bottom: 6px; }
  .a-count { font-size: 17px; }
  .salon { padding: 64px var(--gut) 90px; }
  .sal-head h2 { font-size: clamp(46px, 14vw, 72px); }
  .chip-bar { margin: 30px 0 46px; }
  .chips button { padding: 0 16px; font-size: 15px; }
  .hang, .salon .hang, .hang-m, .ab > .hang, .r-fam .hang { gap: 38px 18px; justify-content: center; }
  .hg, .hg[data-o] { width: calc(50% - 9px); }
  .hg[data-o="landscape"] { width: 100%; }
  .hg[data-o="narrow"] { width: 34%; }
  .hg-cap { position: static; opacity: 1; transform: none; width: auto; max-width: none; margin-top: 10px; text-align: left; pointer-events: auto; }
  .hg a:hover .hg-cap, .hg a:focus-visible .hg-cap { transform: none; }
  .hg-cap b { font-size: 16px; }
  .hg-cap i { font-size: 13px; }
  .hg a:hover .pic { transform: none; }
  .ab > .hang { margin: 44px 0; }
  .ab > .hang + .ab-body { margin-top: 56px; }
  .m-wide .m-side { margin-bottom: 40px; }
  .m-tees4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .r-fam .hang { margin-top: 36px; }
}
@media (max-height: 760px) and (min-width: 901px) {
  .a-bar .chips button { font-size: 15px; padding: 0 14px; }
}

/* reduced motion: living.js shows a still frame and an "Animate painting" button; it sits in the floor row with the other controls */
.floor .lp-btn { position: static; grid-column: 3; grid-row: 1; min-height: 44px; padding: 0 16px; border: 1px solid #b9b4a8; background: transparent; color: var(--ink); font: 500 15px/1 var(--sans); border-radius: 999px; cursor: pointer; white-space: nowrap; }
.floor .lp-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.is-still .count { display: none; }
@media (max-width: 900px) { .floor .lp-btn { grid-column: 3; grid-row: 2; justify-self: start; font-size: 14px; padding: 0 12px; } }

/* Brian's note on the painting, in his words (shown only when he has written one) */
.w-story{margin:14px 0 0;max-width:34em;font:400 16px/1.55 var(--sans);color:var(--ink-2)}
@media (max-width:860px){.w-story{font-size:15px;max-width:none}}

/* launch fixes: the robot loops fit three across on a 1024 desktop; the home control row fits a 320 phone */
@media (min-width: 901px) and (max-width: 1140px) {
  .r-top { --bh: clamp(300px, calc(var(--vh) - 170px), 440px); column-gap: 18px; }
}
@media (max-width: 360px) {
  .floor { column-gap: 6px; }
  .whole-btn { padding: 0 10px 0 8px; font-size: 14px; gap: 6px; }
  .step { width: 42px; height: 42px; }
  .count { font-size: 13px; }
}

/* Robot 10-10: the story, read like a short tale */
.r-story-body { max-width: 62ch; }
.r-story-body h3 { font: 500 24px/1.25 var(--serif); margin: 34px 0 10px; }
.r-story-body p { font: 400 19px/1.6 var(--serif); margin: 0 0 16px; }
.r-story-note { font: 400 15px/1.5 var(--sans) !important; color: var(--ink-3); margin-top: 26px !important; }
@media (max-width: 900px) { .r-story-body p { font-size: 18px; } .r-story-body h3 { font-size: 22px; } }
