/* Boska and Switzer by the Indian Type Foundry (Fontshare), free for commercial use. */
@font-face { font-family: 'Boska'; src: url('../fonts/boska-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Boska'; src: url('../fonts/boska-300i.woff2') format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Boska'; src: url('../fonts/boska-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('../fonts/switzer-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('../fonts/switzer-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('../fonts/switzer-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --wall: #F1EEE8;
  --ink: #1A1816;
  --muted: #7A756D;
  --line: rgba(26, 24, 22, .12);
  --night: #0E0D0C;
  --night-ink: #F3EFE8;
  --night-muted: #8E8981;
  --night-line: rgba(243, 239, 232, .16);
  --serif: 'Boska', 'Didot', Georgia, serif;
  --sans: 'Switzer', 'Helvetica Neue', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .7, .12, 1);
  --bar: 64px;
  --foot: 56px;
  --gut: 20px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--wall);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
em { font-style: italic; }
[hidden] { display: none !important; }

/* ---------- Bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: calc(var(--bar) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gut) 0;
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar::before, .foot::before {
  content: ''; position: absolute; left: 0; right: 0; z-index: -1;
  opacity: 0; transition: opacity .5s var(--ease);
  pointer-events: none;
}
/* Once you step close, the wall fades out under the bars so the type stays clean. */
.bar::before { top: 0; height: calc(100% + 26px); background: linear-gradient(var(--wall) 55%, rgba(241, 238, 232, 0)); }
.foot::before { bottom: 0; height: calc(100% + 26px); background: linear-gradient(rgba(241, 238, 232, 0), var(--wall) 45%); }
.is-near .bar::before, .is-near .foot::before { opacity: 1; }

.mark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: -.005em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.mark em { font-weight: 300; }

/* ---------- The wall ---------- */
.room {
  position: fixed; inset: 0;
  overflow: hidden;
  touch-action: none;
  user-select: none; -webkit-user-select: none;
  perspective-origin: 50% 50%;
  background:
    radial-gradient(110% 80% at 50% 45%, rgba(255, 253, 249, .95), rgba(255, 253, 249, 0) 62%),
    var(--wall);
}
.wall {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
}
.work {
  position: absolute; left: 0; top: 0; margin: 0;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  opacity: 0;
  transition: opacity 1.3s var(--ease) var(--d, 0s);
}
.is-ready .work { opacity: 1; }
/* Taken down while the wall is sorted. */
.is-ready .work.is-off { opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.work.is-lifted { visibility: hidden !important; }
.canvas {
  position: absolute; inset: 0;
  background: var(--tone, #d9d4cc);
  box-shadow:
    0 1px 2px rgba(30, 22, 14, .22),
    0 16px 30px -10px rgba(40, 30, 20, .34),
    0 50px 90px -34px rgba(40, 30, 20, .36);
  transition: transform .6s var(--ease);
}
/* A child's drawing is a sheet of paper: it lies flat against the wall. */
.paper .canvas {
  box-shadow:
    0 1px 1px rgba(30, 22, 14, .2),
    0 10px 22px -12px rgba(40, 30, 20, .3);
}
.canvas img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.near .work:hover .canvas { transform: translateY(-5px); }

.label {
  position: absolute; left: 0; top: 100%;
  margin-top: calc(var(--lab) * 1.5);
  font-size: var(--lab);
  line-height: 1.38;
  color: var(--ink);
  white-space: nowrap;
  display: flex; flex-direction: column;
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.near .label { opacity: 1; }
.l-title { font-family: var(--serif); font-weight: 300; font-size: 1.22em; letter-spacing: -.005em; }
.l-meta, .l-price { color: var(--muted); }
.l-price { margin-top: .3em; display: flex; align-items: center; gap: .45em; font-variant-numeric: tabular-nums; }

.placard { display: flex; align-items: center; }
.pl-title {
  margin: 0;
  font-family: var(--serif); font-weight: 300;
  font-size: 96px; line-height: .98; letter-spacing: -.015em;
}
.pl-sub { margin: 30px 0 0; font-size: 30px; color: var(--muted); letter-spacing: .02em; }

/* ---------- Foot ---------- */
.foot {
  position: fixed; inset: auto 0 0 0; z-index: 20;
  height: calc(var(--foot) + var(--safe-b));
  padding: 0 var(--gut) var(--safe-b);
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
}
.hang { display: none; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 17px; color: var(--muted); }
.step-back {
  width: 44px; height: 44px; margin-right: -12px;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}

/* The dial: names you swipe through like the camera's modes; the one in the middle hangs. */
.dial {
  position: absolute; left: 0; right: 0; top: 0; height: var(--foot);
  pointer-events: auto;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
}
.dial::-webkit-scrollbar { display: none; }
.d-track { display: flex; align-items: center; width: max-content; height: 100%; padding: 0 50vw; }
.d-track button {
  flex: none; scroll-snap-align: center;
  min-height: 44px; padding: 0 13px;
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: 21px; letter-spacing: -.005em; white-space: nowrap;
  color: var(--ink);
  opacity: var(--o, .4);
  transform: scale(var(--k, .88));
}
.d-track sup {
  margin-left: 3px;
  font-family: var(--sans); font-style: normal; font-size: 10px; letter-spacing: .02em;
  color: var(--muted);
  vertical-align: .95em; line-height: 0;
}
.d-bar { display: none; }
.foot::after {
  content: ''; position: absolute; left: 50%; bottom: calc(var(--safe-b) + 7px);
  width: 16px; height: 1px; margin-left: -8px;
  background: var(--ink);
}
.step-back svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.2; }
.is-near .step-back { opacity: 1; transform: none; }
.v-count em { margin-right: 12px; font-family: var(--serif); font-weight: 300; font-size: 16px; letter-spacing: 0; color: var(--night-ink); }
body:not(.is-near) .step-back { pointer-events: none; }

/* ---------- Cursor (mouse only) ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 30;
  width: 0; height: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.cursor span {
  position: absolute; left: 0; top: 0;
  width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: rgba(26, 24, 22, .86);
  color: var(--night-ink);
  display: grid; place-items: center;
  font-size: 12px; letter-spacing: .04em;
  transform: scale(.18);
  transition: transform .45s var(--ease);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.cursor.has-label span { transform: scale(1); }
.cursor.is-down span { transform: scale(.7); }
.cursor-on .cursor { opacity: 1; }
.cursor-on .room { cursor: none; }

/* ---------- Viewer ---------- */
.viewer {
  position: fixed; inset: 0; z-index: 40;
  color: var(--night-ink);
  display: grid;
  grid-template-rows: calc(56px + env(safe-area-inset-top, 0px)) minmax(0, 1fr) auto calc(72px + var(--safe-b));
  height: 100dvh;
  outline: none;
  --ui: 1;
}
.v-bg {
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(70% 46% at 50% 34%, rgba(255, 240, 222, .075), rgba(255, 240, 222, 0) 70%), var(--night);
}
.v-top, .v-info, .v-strip { position: relative; z-index: 2; }
.v-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: env(safe-area-inset-top, 0px) var(--gut) 0;
}
.v-count { font-size: 13px; color: var(--night-muted); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.v-count b { font-weight: 400; color: var(--night-ink); }
.v-close { width: 44px; height: 44px; margin-right: -12px; display: grid; place-items: center; }
.v-close svg, .s-close svg, .b-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.3; fill: none; }

.v-stage {
  position: relative; z-index: 1;
  overflow: hidden;
  touch-action: none;
  user-select: none; -webkit-user-select: none;
  cursor: grab;
}
.v-stage.is-dragging { cursor: grabbing; }
.v-stage.is-inspecting { cursor: zoom-out; }
.slide {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  transition: right .6s var(--ease), bottom .6s var(--ease);
}
.piece {
  position: relative;
  transform-origin: 50% 50%;
  transition: width .6s var(--ease), height .6s var(--ease), transform .55s var(--ease);
}
.piece img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; object-fit: cover;
  background: var(--tone, #222);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .4);
  pointer-events: none;
}
/* A print's frame: a moulding drawn with its own light and grain (art/frames), mitred to the size chosen.
   The frame's lip throws a little shade on the mat, and a white bevel is cut round the picture. */
.mount {
  position: absolute;
  inset: calc(-1 * (var(--m, 0px) + var(--f, 0px)));
  border: var(--f, 0px) solid transparent;
  border-image: var(--moulding, none) 128 / var(--f, 0px) stretch;
  background: #F5F2EB padding-box;
  opacity: 0;
  transition: inset .6s var(--ease), border-width .6s var(--ease), opacity .4s var(--ease);
  box-shadow:
    inset calc(var(--f, 0px) * .08) calc(var(--f, 0px) * .13) calc(var(--f, 0px) * .2) rgba(46, 32, 18, .28),
    0 34px 70px -24px rgba(0, 0, 0, .75), 0 3px 8px rgba(0, 0, 0, .45);
}
.framed .mount { opacity: 1; }
.piece.framed img {
  --bev: calc(var(--f, 0px) * .1);
  box-shadow: 0 0 0 var(--bev) #FCFBF7, calc(var(--bev) * -.55) calc(var(--bev) * -.55) 0 var(--bev) #E2DCD0;
}
/* Glass: a faint pane of window light across the mat and print. */
.piece.framed::before {
  content: ''; position: absolute; z-index: 1; pointer-events: none;
  inset: calc(-1 * var(--m, 0px));
  background: linear-gradient(118deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02) 34%, rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, .03) 100%);
}
.f-black { --moulding: url(../art/frames/black.webp); }
.f-oak { --moulding: url(../art/frames/oak.webp); }
.f-walnut { --moulding: url(../art/frames/walnut.webp); }
.f-gilt { --moulding: url(../art/frames/gilt.webp); border-image-repeat: round; }

.v-info {
  display: flex; flex-direction: column; gap: 14px;
  padding: 14px var(--gut) 4px;
}
.v-text { min-width: 0; }
.v-title {
  margin: 0;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 27px; line-height: 1.08; letter-spacing: -.01em;
}
.v-meta { margin: 7px 0 0; color: var(--night-muted); font-size: 13px; line-height: 1.5; }
.v-meta b { font-weight: 400; color: var(--night-ink); }
.v-buy { display: flex; flex-direction: column; gap: 14px; }
.v-switch {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--night-line);
}
.v-tabs { position: relative; display: flex; gap: 26px; }
.v-tabs button {
  min-height: 44px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; letter-spacing: .01em;
  color: var(--night-muted);
  transition: color .3s var(--ease);
}
.v-tabs button[aria-selected="true"] { color: var(--night-ink); }
.v-tabs-bar {
  position: absolute; left: 0; bottom: -1px; width: 0; height: 1px;
  background: var(--night-ink);
  transition: transform .5s var(--ease), width .5s var(--ease);
}
.v-scale {
  min-height: 44px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--night-muted);
  transition: color .3s var(--ease);
}
.v-scale svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.1; }
.v-scale[aria-pressed="true"] { color: var(--night-ink); }
.v-deal {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  transition: opacity .15s var(--ease);
}
.v-deal.is-swapping { opacity: 0; }
.v-price-block { min-width: 0; }
.v-price {
  margin: 0;
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--serif); font-weight: 300;
  font-size: 31px; line-height: 1; letter-spacing: -.01em;
  font-variant-numeric: lining-nums;
}
.v-price .v-from { font-family: var(--sans); font-size: 12.5px; color: var(--night-muted); letter-spacing: .02em; }
.v-note { margin: 8px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--night-muted); }
.v-cta {
  flex: none;
  min-height: 52px; padding: 0 28px;
  background: var(--night-ink); color: var(--night);
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  transition: transform .2s var(--ease), background .3s var(--ease);
}
.v-cta:active { transform: scale(.97); }

.v-strip {
  position: relative; overflow: hidden;
  touch-action: none;
  cursor: grab;
  padding-bottom: var(--safe-b);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.v-rail { position: absolute; left: 0; top: calc(50% - var(--safe-b) / 2); height: var(--th, 40px); margin-top: calc(var(--th, 40px) / -2); }
.thumb {
  position: absolute; top: 0; left: 0; height: 100%;
  overflow: hidden;
  background: var(--tone, #333);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

/* On a wall, to scale. */
.v-room {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 0;
  overflow: hidden;
  background: linear-gradient(90deg, var(--edge-l) 50%, var(--edge-r) 50%);
  opacity: 0; transition: opacity .6s var(--ease), right .6s var(--ease), bottom .6s var(--ease);
  pointer-events: none;
}
.in-room .v-room { opacity: 1; }
.r-photo, .r-fill { position: absolute; display: block; max-width: none; }
.r-photo { transition: top .6s var(--ease), left .6s var(--ease), width .6s var(--ease), height .6s var(--ease); }
.r-fill { transition: top .6s var(--ease), left .6s var(--ease), width .6s var(--ease), height .6s var(--ease); }
.v-room.is-banded .r-photo {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.slide { z-index: 1; }
/* Daylight comes from the window on the left: shadows fall right and down, sized in real inches. */
.in-room .piece img {
  box-shadow:
    calc(var(--ppi) * .55) calc(var(--ppi) * 1.1) calc(var(--ppi) * 2.6) rgba(52, 38, 24, .30),
    calc(var(--ppi) * .12) calc(var(--ppi) * .22) calc(var(--ppi) * .35) rgba(40, 28, 18, .32);
}
.in-room .mount {
  box-shadow:
    inset calc(var(--f, 0px) * .08) calc(var(--f, 0px) * .13) calc(var(--f, 0px) * .2) rgba(46, 32, 18, .28),
    calc(var(--ppi) * .55) calc(var(--ppi) * 1.1) calc(var(--ppi) * 2.6) rgba(52, 38, 24, .30),
    calc(var(--ppi) * .12) calc(var(--ppi) * .22) calc(var(--ppi) * .35) rgba(40, 28, 18, .32);
}
.in-room .piece.framed img {
  box-shadow: 0 0 0 var(--bev) #FCFBF7, calc(var(--bev) * -.55) calc(var(--bev) * -.55) 0 var(--bev) #E2DCD0;
}
.piece::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 248, 236, .16), rgba(255, 248, 236, 0) 45%, rgba(40, 26, 12, .10));
  opacity: 0; transition: opacity .6s var(--ease);
}
.in-room .piece::after { opacity: 1; }

/* Viewer entrance; --ui dims the chrome while a painting is pulled down to close. */
.viewer .v-top, .viewer .v-info, .viewer .v-strip { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.viewer.is-open .v-top, .viewer.is-open .v-info, .viewer.is-open .v-strip { opacity: var(--ui); transform: none; }
.viewer.is-open .v-info { transition-delay: .12s; }
.viewer.is-open .v-strip { transition-delay: .2s; }
.viewer.is-pulling .v-top, .viewer.is-pulling .v-info, .viewer.is-pulling .v-strip { transition: none; }

.flyer {
  position: fixed; z-index: 45; left: 0; top: 0;
  transform-origin: 0 0;
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55);
}

/* ---------- Sheet (a bottom sheet on phones, a side panel on wide screens) ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; }
.s-scrim, .b-scrim { position: absolute; inset: 0; background: rgba(8, 7, 6, 0); transition: background .5s var(--ease); }
.s-panel, .b-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--wall); color: var(--ink);
  display: flex; flex-direction: column;
  transition: transform .6s var(--ease);
}
.s-panel {
  max-height: 64dvh;
  transform: translateY(100%);
  box-shadow: 0 -30px 80px -40px rgba(0, 0, 0, .5);
}
.s-panel::before {
  content: ''; position: absolute; top: 7px; left: 50%; width: 36px; height: 4px; margin-left: -18px;
  border-radius: 2px; background: rgba(26, 24, 22, .18);
}
.sheet.is-open .s-panel, .bag.is-open .b-panel { transform: none; }
.s-head, .b-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 10px 0 var(--gut); min-height: 56px;
}
.s-work { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.4; }
.s-work em { font-family: var(--serif); font-weight: 300; font-size: 17px; color: var(--ink); }
.s-close, .b-close { width: 44px; height: 44px; display: grid; place-items: center; flex: none; }
.s-tabs { display: flex; gap: 26px; padding: 6px var(--gut) 0; border-bottom: 1px solid var(--line); }
.s-tabs button { padding: 10px 0 12px; font-size: 14px; color: var(--muted); position: relative; min-height: 44px; }
.s-tabs button[aria-selected="true"] { color: var(--ink); }
.s-tabs button[aria-selected="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); }
.s-body { flex: 1; overflow: auto; padding: 16px var(--gut); -webkit-overflow-scrolling: touch; }
.s-price { font-family: var(--serif); font-weight: 300; font-size: 32px; margin: 0 0 12px; display: flex; align-items: center; gap: 12px; letter-spacing: -.01em; }
.s-sold { color: var(--muted); }
.s-line { margin: 0 0 6px; color: var(--muted); line-height: 1.55; }
.s-line.ink { color: var(--ink); }
.s-link { display: inline-block; margin-top: 16px; color: var(--ink); text-underline-offset: 4px; }
.s-group { margin: 0 0 18px; }
.s-group h3 { margin: 0 0 8px; font-size: 12px; font-weight: 400; letter-spacing: .03em; color: var(--muted); }
/* Sizes: the print at each size, drawn to scale and hung on one line, so the choice is seen. */
.s-sizes { display: flex; justify-content: center; align-items: flex-start; gap: 18px; padding: 6px 0 2px; }
.s-size { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--muted); transition: color .3s var(--ease); }
.s-hang { height: var(--box); display: flex; align-items: center; }
.s-mini {
  position: relative; display: block; box-sizing: border-box;
  border: var(--f) solid transparent;
  border-image: var(--moulding, none) 128 / var(--f) stretch;
  padding: var(--m);
  background: #F5F2EB padding-box;
  box-shadow: 0 10px 18px -10px rgba(40, 28, 16, .45), 0 1px 2px rgba(40, 28, 16, .2);
  opacity: .42;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.s-mini.f-gilt { border-image-repeat: round; }
.s-mini img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s-dim { position: relative; font-family: var(--serif); font-weight: 300; font-size: 17px; white-space: nowrap; padding-bottom: 6px; }
.s-dim small { font-family: var(--sans); font-size: 11px; color: var(--muted); }
.s-dim::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .45s var(--ease); }
.s-size[aria-checked="true"] { color: var(--ink); }
.s-size[aria-checked="true"] .s-mini { opacity: 1; }
.s-size[aria-checked="true"] .s-dim::after { transform: none; }

/* Frames: a corner of each moulding, the way a framer lays samples on the counter. */
.s-frames { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.s-frame { display: flex; flex-direction: column; align-items: stretch; gap: 9px; font-size: 11.5px; color: var(--muted); text-align: center; transition: color .3s var(--ease); }
.s-corner {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden;
  container-type: inline-size;
  --cf: 27cqw; --cm: 11cqw;
  background: #F5F2EB;
  box-shadow: 0 10px 18px -12px rgba(40, 28, 16, .5);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.s-corner img {
  position: absolute; left: calc(var(--cf) + var(--cm)); top: calc(var(--cf) + var(--cm));
  width: 150cqw; height: 150cqw; object-fit: cover; object-position: 0 0;
  box-shadow: 0 0 0 1.5cqw #FCFBF7, -1cqw -1cqw 0 1.5cqw #E2DCD0;
}
.s-corner::before {
  content: ''; position: absolute; z-index: 1; left: 0; top: 0; width: 300cqw; height: 300cqw;
  box-sizing: border-box;
  border: var(--cf) solid transparent;
  border-image: var(--moulding) 128 / var(--cf) stretch;
  box-shadow: inset 2.5cqw 4cqw 5cqw rgba(46, 32, 18, .3);
}
.s-corner.f-gilt::before { border-image-repeat: round; }
.s-corner.f-none { background: #FBFAF6; --cf: 0cqw; --cm: 16cqw; }
.s-corner.f-none::before { display: none; }
.s-corner.f-none img { box-shadow: 0 0 0 .5px rgba(0, 0, 0, .06); }
.s-frame[aria-checked="true"] { color: var(--ink); }
.s-frame[aria-checked="true"] .s-corner { transform: translateY(-3px); box-shadow: 0 16px 22px -12px rgba(40, 28, 16, .55); }
.s-fname { position: relative; justify-self: center; align-self: center; padding-bottom: 5px; white-space: nowrap; }
.s-fname::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .45s var(--ease); }
.s-frame[aria-checked="true"] .s-fname::after { transform: none; }
.s-foot, .b-foot { padding: 14px var(--gut) calc(14px + var(--safe-b)); border-top: 1px solid var(--line); }
.s-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.s-total { font-family: var(--serif); font-weight: 300; font-size: 23px; }
.s-add, .b-checkout {
  min-height: 50px;
  background: var(--ink); color: var(--wall);
  padding: 0 26px; font-size: 14px; letter-spacing: .02em;
  transition: opacity .3s;
}
.s-add:disabled { opacity: .35; cursor: default; }

.s-more { margin-top: 22px; border-top: 1px solid var(--line); }
.s-fold { border-bottom: 1px solid var(--line); }
.s-fold summary {
  list-style: none; cursor: pointer;
  min-height: 48px; display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; color: var(--ink);
}
.s-fold summary::-webkit-details-marker { display: none; }
.s-fold summary::after { content: '+'; font-weight: 300; font-size: 18px; color: var(--muted); transition: transform .3s var(--ease); }
.s-fold[open] summary::after { transform: rotate(45deg); }
.s-fold > div { padding: 0 0 16px; color: var(--muted); line-height: 1.6; }
.s-fold em { font-family: var(--serif); font-weight: 300; font-size: 1.08em; color: var(--ink); }

/* ---------- Bag ---------- */
.bag { position: fixed; inset: 0; z-index: 60; }
.bag.is-open .b-scrim { background: rgba(8, 7, 6, .35); }
.b-panel { top: 0; transform: translateX(100%); }
.b-head h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 26px; }
.b-list { list-style: none; margin: 0; padding: 8px var(--gut); overflow: auto; flex: 1; }
.b-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.b-item img { width: 64px; height: 64px; object-fit: cover; display: block; }
.b-item h3 { margin: 0 0 4px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 18px; }
.b-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.b-item .b-price { font-family: var(--serif); font-weight: 300; font-size: 17px; text-align: right; }
.b-remove { margin-top: 6px; min-height: 32px; font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.b-empty { margin: 0; padding: 20px var(--gut); color: var(--muted); flex: 1; }
.b-sum { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 14px; }
.b-total { font-family: var(--serif); font-weight: 300; font-size: 22px; }
.b-checkout { width: 100%; }
.b-checkout:disabled { opacity: .35; cursor: default; }
.b-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }

/* ---------- The opening page ---------- */
.intro {
  position: fixed; inset: 0; z-index: 35;
  overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--night); color: var(--night-ink);
  --top: env(safe-area-inset-top, 0px);
}
.skip-intro .intro { display: none; }
.intro em { font-style: italic; }

.i-hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; }
/* One light in a dark room, and the painting under it. */
.i-light {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 30% at 50% 31%, rgba(255, 236, 212, .16), rgba(255, 236, 212, 0) 72%),
    radial-gradient(90% 60% at 50% 30%, rgba(255, 236, 212, .05), rgba(255, 236, 212, 0) 70%);
}
.i-film { position: absolute; left: 0; right: 0; top: calc(var(--top) + 7svh); height: 45svh; --bw: 68vw; --bh: 45svh; }
.i-piece {
  position: absolute; left: 50%; top: 50%;
  width: min(var(--bw), calc(var(--bh) * var(--ar)));
  aspect-ratio: var(--ar);
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: var(--tone, #222);
  box-shadow: 0 46px 80px -34px rgba(0, 0, 0, .85), 0 2px 8px rgba(0, 0, 0, .5);
  opacity: 0;
  transition: opacity 1.8s var(--ease);
}
.i-piece.is-on { opacity: 1; }
.i-piece img { display: block; width: 100%; height: 100%; object-fit: cover; }
.i-piece.is-on img { animation: breathe 7.5s var(--ease) both; }
@keyframes breathe { from { transform: scale(1.06); } }
.i-caption {
  position: absolute; left: var(--gut); right: var(--gut); top: calc(var(--top) + 52svh + 16px);
  margin: 0; text-align: center;
  font-size: 12.5px; color: var(--night-muted);
}
.i-caption em { font-family: var(--serif); font-weight: 300; font-size: 1.22em; color: var(--night-ink); }

.i-mast { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(108px + var(--safe-b)); }
.i-place { margin: 0; font-family: var(--serif); font-weight: 400; font-size: min(40px, 10.4vw); line-height: 1; letter-spacing: -.01em; }
.i-name { margin: 0 0 0 -.04em; font-family: var(--serif); font-weight: 300; font-size: min(116px, 30vw); line-height: .9; letter-spacing: -.035em; }
.i-lede { margin: 14px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--night-muted); }
.i-place, .i-name, .i-lede, .i-caption { animation: rise 1.5s var(--ease) both; }
.i-name { animation-delay: .12s; }
.i-lede { animation-delay: .3s; }
.i-caption { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.i-film { animation: lightUp 2.2s ease-out both; }
@keyframes lightUp { from { opacity: 0; } }

.i-statement { padding: 20svh var(--gut) 16svh; }
.i-words {
  margin: 0 auto; max-width: 15em;
  font-family: var(--serif); font-weight: 300;
  font-size: 33px; line-height: 1.17; letter-spacing: -.012em;
}
.i-words span { opacity: .16; transition: opacity .25s linear; }

.i-offers { display: flex; flex-direction: column; gap: 16svh; }
.i-offer { display: flex; flex-direction: column; gap: 28px; }
.i-fig { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 5; container-type: inline-size; }
.i-copy { padding: 0 var(--gut); }
.i-copy h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 46px; line-height: 1; letter-spacing: -.02em; }
.i-copy p { margin: 14px 0 0; max-width: 23em; font-size: 15px; line-height: 1.55; color: var(--night-muted); }
.i-offer, .i-coda, .i-rooms-title, .i-list li { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.i-offer.is-seen, .i-coda.is-seen, .i-rooms-title.is-seen, .i-list li.is-seen { opacity: 1; transform: none; }
.i-list li:nth-child(2) { transition-delay: .06s; }
.i-list li:nth-child(3) { transition-delay: .12s; }
.i-list li:nth-child(4) { transition-delay: .18s; }
.i-list li:nth-child(5) { transition-delay: .24s; }
.i-list li:nth-child(6) { transition-delay: .3s; }
.i-list li:nth-child(7) { transition-delay: .36s; }

/* A detail: close enough to see the brush. */
.i-detail img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.32); transform-origin: 50% 42%; transition: transform 3.2s var(--ease); }
.i-offer.is-seen .i-detail img { transform: scale(1.16); }

/* A print, framed and matted, on a pale wall. */
.i-print { display: grid; place-items: center; background: radial-gradient(80% 64% at 50% 42%, #EEE9E1, #CFC7BA); }
.i-frame {
  width: 58%;
  border: 4.4cqw solid transparent;
  border-image: url(../art/frames/gilt.webp) 128 / 4.4cqw round;
  box-shadow: 1.4cqw 3cqw 6cqw rgba(52, 38, 24, .38), .3cqw .6cqw 1.2cqw rgba(40, 28, 18, .3);
}
.i-mat { padding: 6.5cqw; background: #F5F2EB; box-shadow: inset .35cqw .55cqw .9cqw rgba(46, 32, 18, .28); }
.i-mat img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 0 0 .45cqw #FCFBF7, -.25cqw -.25cqw 0 .45cqw #E2DCD0; }

/* The living room, cropped close around the sofa. */
.i-scene { background: #b8b1a9; --rs: 1.9; }
.i-room { position: absolute; top: 0; width: calc(var(--rs) * 100%); left: calc(50% - var(--rs) * var(--cx) * 100%); }
.i-room-photo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.i-hang {
  position: absolute;
  opacity: 0; transition: opacity 1.2s var(--ease);
  box-shadow: .7cqw 1.4cqw 3.2cqw rgba(52, 38, 24, .32), .15cqw .3cqw .45cqw rgba(40, 28, 18, .34);
}
.i-hang.is-on { opacity: 1; }
.i-hang img { display: block; width: 100%; height: 100%; object-fit: cover; }
.i-hang::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255, 248, 236, .16), rgba(255, 248, 236, 0) 45%, rgba(40, 26, 12, .1)); }
/* Its size, set on the plaster above. */
.i-size {
  position: absolute; left: var(--gut); top: 18px;
  font-size: 12.5px; color: rgba(26, 24, 22, .62);
}
.i-size em { font-family: var(--serif); font-weight: 300; font-size: 1.22em; color: var(--ink); }

.i-coda {
  max-width: 13em; margin: 0 auto; padding: 18svh var(--gut);
  text-align: center;
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: 31px; line-height: 1.2; letter-spacing: -.01em;
}

/* Small hands: three children's drawings at their true sizes against each other, each under its own light. */
.i-kids { position: relative; padding: 4svh var(--gut) 20svh; text-align: center; }
.k-sheets { --u: min(2.6vw, 25px); display: flex; justify-content: center; align-items: center; gap: calc(var(--u) * 2.2); margin: 0 auto; }
.k-sheets img {
  display: block; width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); object-fit: cover;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .4), 0 calc(var(--u) * 1.2) calc(var(--u) * 2.4) calc(var(--u) * -.6) rgba(0, 0, 0, .7);
  filter: brightness(.25); opacity: 0; transform: translateY(calc(var(--u) * 2));
  transition: filter 2.4s var(--ease), opacity 1.2s var(--ease), transform 1.5s var(--ease);
}
.k-sheets img:nth-child(1) { margin-top: calc(var(--u) * -2); }
.k-sheets img:nth-child(2) { transition-delay: .18s; }
.k-sheets img:nth-child(3) { margin-top: calc(var(--u) * 1.6); transition-delay: .36s; }
.i-kids.is-seen .k-sheets img { filter: none; opacity: 1; transform: none; }
.i-kids::before {
  content: ''; position: absolute; inset: -6svh 0 30%; pointer-events: none;
  background: radial-gradient(56% 50% at 50% 46%, rgba(255, 236, 206, .1), rgba(255, 236, 206, 0) 70%);
  opacity: 0; transition: opacity 2.4s var(--ease);
}
.i-kids.is-seen::before { opacity: 1; }
.k-copy { position: relative; margin: 46px auto 0; max-width: 24em; opacity: 0; transform: translateY(24px); transition: opacity 1.3s var(--ease) .7s, transform 1.5s var(--ease) .7s; }
.i-kids.is-seen .k-copy { opacity: 1; transform: none; }
.k-copy h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 54px; line-height: .95; letter-spacing: -.025em; white-space: nowrap; }
.k-copy p { margin: 16px auto 0; max-width: 21em; font-size: 15px; line-height: 1.55; color: var(--night-muted); text-wrap: balance; }
.k-go { margin-top: 26px; padding: 6px 0 5px; font-size: 14px; color: var(--night-ink); border-bottom: 1px solid rgba(243, 239, 232, .5); transition: border-color .3s var(--ease); }
.k-go:active, .k-go:focus-visible { border-color: var(--night-ink); }

/* The founder: her name lit up by a painting, as if the lights came up on it. */
@property --sheen { syntax: '<percentage>'; inherits: false; initial-value: 140%; }
.i-team { position: relative; padding: 8svh var(--gut) 22svh; }
.t-light {
  position: absolute; inset: -10svh 0 0; pointer-events: none;
  background: radial-gradient(70% 34% at 34% 34%, rgba(255, 228, 190, .13), rgba(255, 228, 190, 0) 72%);
  opacity: 0; transition: opacity 2.6s var(--ease);
}
.i-team:has(.t-name.is-seen) .t-light { opacity: 1; }
.t-name {
  position: relative; margin: 0;
  font-family: var(--serif); font-weight: 300;
  font-size: min(25vw, 300px); line-height: .9; letter-spacing: -.04em;
  --paint: url(../art/01-m.webp);
  --y0: -1.55em;
}
.t-line { display: block; overflow: hidden; padding: 0 0 .1em; margin-bottom: -.1em; }
.t-rise {
  display: block;
  transform: translateY(108%);
  filter: brightness(.2);
  transition: transform 1.7s var(--ease), filter 3s var(--ease);
}
.t-two .t-rise { transition-delay: .16s, .3s; }
.t-ink {
  display: block;
  /* Gardenia inside the letters, lifted off the dark, with a glint that crosses once. */
  background-image:
    linear-gradient(104deg, rgba(255, 246, 226, 0) 42%, rgba(255, 246, 226, .6) 50%, rgba(255, 246, 226, 0) 58%),
    var(--paint),
    linear-gradient(#4d3b2c, #4d3b2c);
  background-blend-mode: screen, screen, normal;
  background-size: 260% 100%, 100% auto, 100% 100%;
  background-position: var(--sheen) 0, 50% calc(var(--y0) + var(--drift, 0px)), 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  transition: --sheen 2.4s cubic-bezier(.5, 0, .3, 1) 1.5s;
}
.t-two .t-ink { padding-left: .62em; background-position: var(--sheen) 0, 50% calc(var(--y0) - .9em + var(--drift, 0px)), 0 0; }
.t-name.is-seen .t-rise { transform: none; filter: none; }
.t-name.is-seen .t-ink { --sheen: -40%; }
.t-copy { position: relative; margin: 34px 0 0; max-width: 300px; opacity: 0; transform: translateY(24px); transition: opacity 1.4s var(--ease) .9s, transform 1.6s var(--ease) .9s; }
.t-name.is-seen + .t-copy { opacity: 1; transform: none; }
.t-role { margin: 0; font-size: 12.5px; letter-spacing: .02em; color: var(--night-muted); }
.t-role em { font-family: var(--serif); font-size: 1.5em; letter-spacing: 0; color: #E9D9B8; margin-left: .1em; }
.t-words { margin: 10px 0 0; font-family: var(--serif); font-weight: 300; font-size: 29px; line-height: 1.17; letter-spacing: -.01em; text-wrap: balance; }

.i-rooms { padding: 2svh var(--gut) 0; }
.i-rooms-title { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 54px; line-height: .95; letter-spacing: -.025em; }
.i-rooms-sub { margin: 14px 0 34px; font-size: 14px; color: var(--night-muted); }
.i-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--night-line); }
.i-list li { border-bottom: 1px solid var(--night-line); }
.i-list button { width: 100%; min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; }
.i-cat { font-family: var(--serif); font-weight: 300; font-size: 34px; letter-spacing: -.012em; white-space: nowrap; }
.i-cat sup { margin-left: 5px; font-family: var(--sans); font-size: 11px; letter-spacing: .02em; color: var(--night-muted); vertical-align: 1.7em; line-height: 0; }
.i-thumbs { position: relative; flex: none; width: 96px; height: 58px; }
.i-thumbs img {
  position: absolute; top: 5px; width: 38px; height: 48px; object-fit: cover;
  box-shadow: 0 8px 16px -6px rgba(0, 0, 0, .75);
  transition: transform .7s var(--ease);
}
.i-thumbs img:nth-child(1) { left: 0; transform: rotate(-7deg); }
.i-thumbs img:nth-child(2) { left: 29px; z-index: 1; transform: translateY(-3px); }
.i-thumbs img:nth-child(3) { left: 58px; transform: rotate(7deg); }
.i-list button:active .i-thumbs img:nth-child(1), .i-list button:focus-visible .i-thumbs img:nth-child(1) { transform: translateX(-10px) rotate(-12deg); }
.i-list button:active .i-thumbs img:nth-child(3), .i-list button:focus-visible .i-thumbs img:nth-child(3) { transform: translateX(10px) rotate(12deg); }

.i-foot { margin: 0; padding: 12svh var(--gut) calc(118px + var(--safe-b)); font-size: 12px; color: var(--night-muted); }
.i-enter-wrap {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px var(--gut) calc(16px + var(--safe-b));
  background: linear-gradient(rgba(14, 13, 12, 0), rgba(14, 13, 12, .92) 55%);
  pointer-events: none;
}
.i-enter {
  width: 100%; min-height: 54px;
  background: var(--night-ink); color: var(--night);
  font-size: 14.5px; font-weight: 500; letter-spacing: .02em;
  pointer-events: auto;
  transition: transform .2s var(--ease), background .3s var(--ease);
  animation: rise 1.5s var(--ease) .45s both;
}
.i-enter:active { transform: scale(.98); }

/* ---------- Wider screens ---------- */
@media (min-width: 720px) {
  :root { --bar: 76px; --foot: 64px; --gut: 32px; }
  .mark { font-size: 24px; }
  .viewer { grid-template-rows: 68px minmax(0, 1fr) auto calc(86px + var(--safe-b)); }
  .v-info { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 18px var(--gut) 6px; }
  .v-title { font-size: 34px; }
  .v-meta { font-size: 13.5px; }
  .v-buy { flex: none; width: 400px; gap: 12px; }
  .v-price { font-size: 34px; }
  .v-tabs button:hover, .v-scale:hover { color: var(--night-ink); }
  .v-cta:hover { background: #fff; }
  .s-panel, .b-panel { top: 0; left: auto; width: 420px; max-height: none; transform: translateX(100%); box-shadow: -30px 0 80px -40px rgba(0, 0, 0, .5); }
  .s-panel::before { display: none; }
  .s-head, .b-head { padding: 18px 20px 0 32px; min-height: 64px; }
  .s-body { padding: 24px var(--gut); }
  .s-price { font-size: 38px; }
  .s-group { margin-bottom: 26px; }
  .s-size:hover .s-mini { opacity: .75; }
  .s-size[aria-checked="true"]:hover .s-mini { opacity: 1; }
  .s-frame:hover { color: var(--ink); }
  .s-foot, .b-foot { padding: 20px var(--gut) calc(24px + var(--safe-b)); }
}
@media (min-width: 1000px) {
  .dial { left: 50%; right: auto; transform: translateX(-50%); overflow: visible; scroll-snap-type: none; -webkit-mask-image: none; mask-image: none; }
  .d-track { gap: 30px; padding: 0; }
  .d-track button { padding: 0; font-size: 19px; opacity: 1; transform: none; color: var(--muted); transition: color .3s var(--ease); }
  .d-track button[aria-pressed="true"], .d-track button:hover { color: var(--ink); }
  .d-bar {
    display: block; position: absolute; left: 0; bottom: 13px; width: 0; height: 1px;
    background: var(--ink);
    transition: transform .55s var(--ease), width .55s var(--ease);
  }
  .foot::after { display: none; }
}
@media (min-width: 1280px) {
  .hang { display: block; }
}

@media (min-width: 900px) {
  .i-light { background: radial-gradient(34% 40% at 68% 44%, rgba(255, 236, 212, .15), rgba(255, 236, 212, 0) 72%), radial-gradient(70% 70% at 68% 44%, rgba(255, 236, 212, .05), rgba(255, 236, 212, 0) 70%); }
  .i-film { left: 42vw; right: 6vw; top: 11vh; height: 66vh; --bw: 44vw; --bh: 66vh; }
  .i-caption { left: 42vw; right: 6vw; top: calc(11vh + 66vh + 18px); }
  .i-mast { left: 5vw; right: auto; bottom: 9vh; }
  .i-place { font-size: 58px; }
  .i-name { font-size: min(210px, 15vw); }
  .i-lede { margin-top: 22px; font-size: 16px; }
  .i-statement { padding: 26vh 5vw 20vh; }
  .i-words { font-size: 58px; max-width: 16em; }
  .i-offers { gap: 22vh; max-width: 1240px; margin: 0 auto; padding: 0 5vw; }
  .i-offer { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 7vw; }
  .i-offer:nth-child(even) .i-fig { order: 2; }
  .i-fig { aspect-ratio: 5 / 4; }
  .i-scene { --rs: 1.22; }
  .i-copy { padding: 0; }
  .i-copy h2 { font-size: 72px; }
  .i-copy p { font-size: 16.5px; }
  .i-coda { font-size: 50px; padding: 24vh 5vw; }
  .i-team { max-width: 1240px; margin: 0 auto; padding: 6vh 5vw 26vh; display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: end; gap: 3vw; box-sizing: content-box; }
  .t-light { inset: -20vh -20vw 0; background: radial-gradient(50% 40% at 40% 45%, rgba(255, 228, 190, .12), rgba(255, 228, 190, 0) 72%); }
  .t-name { font-size: min(196px, 13.4vw); --paint: url(../art/01-l.webp); }
  .t-copy { margin: 0 0 .6em; max-width: none; }
  .t-words { font-size: 38px; }
  .i-kids { padding: 4vh 5vw 26vh; }
  .k-sheets { --u: min(1.9vw, 27px); }
  .k-copy { margin-top: 64px; }
  .k-copy h2 { font-size: 88px; }
  .k-copy p { font-size: 16.5px; }
  .k-go:hover { border-color: var(--night-ink); }
  .i-rooms { max-width: 1240px; margin: 0 auto; padding: 0 5vw; }
  .i-rooms-title { font-size: 88px; }
  .i-rooms-sub { font-size: 15px; margin-bottom: 48px; }
  .i-list button { min-height: 116px; }
  .i-cat { font-size: 54px; transition: transform .6s var(--ease); }
  .i-list button:hover .i-cat { transform: translateX(14px); }
  .i-thumbs { width: 150px; height: 86px; }
  .i-thumbs img { width: 56px; height: 72px; top: 7px; }
  .i-thumbs img:nth-child(2) { left: 46px; }
  .i-thumbs img:nth-child(3) { left: 92px; }
  .i-list button:hover .i-thumbs img:nth-child(1) { transform: translateX(-26px) rotate(-12deg); }
  .i-list button:hover .i-thumbs img:nth-child(2) { transform: translateY(-8px); }
  .i-list button:hover .i-thumbs img:nth-child(3) { transform: translateX(26px) rotate(12deg); }
  .i-foot { padding: 14vh 5vw 120px; max-width: 1240px; margin: 0 auto; box-sizing: content-box; }
  .i-enter-wrap { left: auto; padding: 0 32px 28px; background: none; }
  .i-enter { width: auto; padding: 0 34px; }
  .i-enter:hover { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  .work { transition: opacity .4s; }
  .piece, .mount, .s-panel, .b-panel { transition-duration: .01s; }
  .i-place, .i-name, .i-lede, .i-caption, .i-film, .i-enter, .i-piece.is-on img { animation: none; }
  .i-offer, .i-coda, .i-rooms-title, .i-list li { opacity: 1; transform: none; }
  .t-rise, .t-copy { transform: none; filter: none; opacity: 1; transition: none; }
  .t-ink { transition: none; }
  .k-sheets img, .k-copy { filter: none; opacity: 1; transform: none; transition: none; }
  .i-kids::before { opacity: 1; transition: none; }
}
