@import url("inspection/projection.css?v=brush-print");
@media screen {
  body.on-calendar-wall > :not(.mounted-calendar) { display:none }
  html.opening-inspection {background:#887c6e}
  .opening-inspection body {visibility:hidden}
}
.mounted-calendar[hidden] { display:none }
.mounted-calendar {
  height:100vh;height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr);
  color:#fffaf1;background:#332c24;font:16px/1.4 Arial,sans-serif;
}
.mounted-calendar a {color:inherit;text-decoration:none}
.mounted-calendar a:focus-visible {outline:2px solid #fffaf1;outline-offset:-3px}
.mount-bar,.mount-caption {display:flex;align-items:center;justify-content:space-between;gap:16px}
.mount-bar {min-height:50px;background:#141513;padding:0 4vw;font-size:14px}
.mount-bar a {display:inline-flex;align-items:center;min-height:44px}
.mount-brand {font-size:20px;font-weight:bold;letter-spacing:-.6px}
main.mount-scene {
  position:relative;isolation:isolate;overflow:hidden;container-type:size;
  width:100%;height:100%;margin:0;padding:0;border:0;box-shadow:none;
  background:#887c6e;
}
.mount-frame {
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  height:min(100cqh,calc((100cqw - 104px) * 2.54));aspect-ratio:2.8;
}
/* Continue the photographed plaster where a tall window extends past the camera frame. */
.mount-frame::before,.mount-frame::after {
  content:"";position:absolute;left:0;width:100%;height:100cqh;pointer-events:none;
  background-image:url("front-wall/plaster-edges.png");background-size:100% 200%;
  image-rendering:pixelated;
}
.mount-frame::before {bottom:100%;background-position:top}
.mount-frame::after {top:100%;background-position:bottom}
.mount-room,.mount-leaf {display:block;position:absolute}
.mount-room {inset:0;width:100%;height:100%}
.mount-leaf {left:42.142857%;top:48%;width:15.714286%;height:43.2%}
.mount-photo,.mount-dates {position:absolute;left:43.1%;width:13.8%;cursor:zoom-in}
.mount-photo {top:12.1%;height:37.9%}
.mount-dates {top:50%;height:38.3%}
.mount-caption {
  position:absolute;inset:auto 0 0;justify-content:center;padding:30px 4vw max(8px,env(safe-area-inset-bottom));
  background:linear-gradient(transparent,#211c16df);pointer-events:none
}
.mount-controls {display:flex;justify-content:space-between;align-items:center;pointer-events:none}
.mount-frame .mount-controls {
  position:absolute;left:50%;top:50%;width:calc(13.8% + 100px);transform:translate(-50%,-50%);
}
.mount-controls a,.mount-controls .unavailable {
  display:grid;place-items:center;width:44px;height:44px;font:normal 26px/1 Georgia,serif;
}
.mount-controls a {pointer-events:auto;text-decoration:none;color:#352b21;text-shadow:0 1px 1px #fff8}
.mount-controls a:focus-visible {outline:2px solid #352b21;outline-offset:-4px}
.mount-controls .unavailable {visibility:hidden}
.mount-caption:has(.paper-hint) {flex-direction:column;gap:0}
.paper-hint {font-size:13px;line-height:1.5;color:#fffaf1}
.paper-hint .touch-verb {display:none}
@media (pointer:coarse) {
  .paper-hint .mouse-verb {display:none}
  .paper-hint .touch-verb {display:inline}
}
@media (max-height:450px) { .mount-caption .paper-hint {font-size:11px} }
.mount-caption h1,.inspect-tools h1 {margin:0;font:normal 24px/1.2 Georgia,serif;letter-spacing:-.035em}
.mount-bar a:hover {text-decoration:underline}
#photo-board {scroll-margin-top:44px}
@media(max-width:700px) {
  .mount-bar {padding-inline:5vw}
  .mount-caption {flex-direction:column;gap:0;padding:16px 4vw max(4px,env(safe-area-inset-bottom))}
  .mount-caption h1 {font-size:21px}
  #photo-board {scroll-margin-top:80px}
  .site-bar:has(a[href="#wall"]) {flex-wrap:wrap;gap:6px 12px}
}
@media(max-height:450px) {
  .mount-caption {flex-direction:row;padding-block:2px;gap:10px}
  .mount-caption h1 {font-size:18px}
}
.inspect-tools {display:none}
@media screen {
  body.inspecting {margin:0;overflow:hidden;background:#887c6e}
  body.inspecting > :not(.paper-inspection) {display:none}
  .inspecting .paper-inspection {height:100vh;height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr)}
  .inspect-tools {
    display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:46px;padding:0 4vw;
    background:#141513;color:#fffaf1;font:14px/1.2 Arial,sans-serif;
  }
  .inspect-tools a {color:inherit;text-decoration:none;display:inline-grid;place-items:center;min-height:44px}
  .inspect-tools a:focus-visible {outline:2px solid #fffaf1;outline-offset:-3px}
  .inspect-tools h1 {font-size:19px}
  .inspect-scroll {min-height:0;overflow:auto;overflow-anchor:none;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;cursor:grab}
  .inspect-scroll:active {cursor:grabbing}
  .inspect-scroll:focus-visible {outline:2px solid #fffaf1;outline-offset:-2px}
  .inspect-world {position:relative;overflow:clip;isolation:isolate;min-width:calc(var(--reading-width) + 170px)}
  .inspect-world .mount-controls {
    position:sticky;top:calc(50% - 22px);z-index:1;
  }
  .inspecting .paper-window {
    position:absolute;left:50%;margin:0;width:2800px;max-width:none;height:1000px;max-height:none;overflow:visible;
    transform:translateX(-50%) scale(var(--camera-scale));transform-origin:top center;
    background:#887c6e url("inspection/wall.webp") center / 100% 100% no-repeat;
  }
  .inspecting .paper-window::before {
    content:"";position:absolute;left:1180px;top:480px;width:440px;height:432px;
    background:var(--lit-leaf) center / 100% 100% no-repeat;
  }
  .inspecting .calendar-art,.inspecting #month-sheet {
    position:absolute;left:0;top:0;margin:0;transform-origin:0 0;
    transform:var(--face);mix-blend-mode:multiply;
  }
  .inspecting #month-sheet {transform:var(--face) scaleY(var(--leaf-aspect,1))}
  .inspecting .calendar-art::before,.inspecting #month-sheet::after {display:none}
  .inspecting .paper-window a {cursor:pointer}
}
@media(max-width:450px) {
  .inspect-tools {padding-inline:12px}
  .inspect-tools h1 {font-size:16px}
}
@media print {
  .mounted-calendar,.inspect-tools,.inspect-world .mount-controls {display:none}
  .inspect-world {min-width:0!important;height:auto!important}
}
