#views, .cameraRoom, .photoTrack { height: 100%; }
#tourPath { overflow-anchor: none; }
#tourPath.hasPictures { height: calc(100svh + var(--picture-steps) * clamp(340px, 72svh, 780px)); }
#tour { touch-action: pan-y pinch-zoom; }
.cameraRoom { visibility: hidden; background: #20312e; }
.cameraRoom.current { visibility: visible; }
.photoTrack { overflow: visible; will-change: transform; }
.picture { position: relative; flex: 0 0 100%; width: 100%; height: 100%; min-height: 0; overflow: hidden; }
.picture > .galleryImage { display: block; width: 100%; height: 100%; object-fit: cover; }
.picture.project-photo { background: #102432; }
.picture.project-photo > .galleryImage { object-fit: contain; object-position: right center; }
@media (max-aspect-ratio: 1/1) {
  .picture.project-photo > .galleryImage { object-position: center 12%; }
}
.picture.identity-picture {
  background: linear-gradient(114deg, #162d25, #273f31 41%, #63705a 66%, #c3b99e 100%);
}
.picture.identity-picture::before { content: ""; display: block; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 50%, #17271d38 50.1%, transparent 51%); }
.picture.identity-picture > .galleryImage {
  position: absolute; right: 14%; top: 12%; width: auto; height: 58%; max-width: 35%; object-fit: contain;
  padding: clamp(14px, 2.5vw, 36px); background: white; box-shadow: 0 1.1rem 3rem #10251e45;
}
.office-sign {
  position: absolute; right: 12%; top: 15%; margin: 0; height: clamp(104px, 19vh, 187px);
  padding: 10px 14px; background: #fff; border-radius: 2px; border: 1px solid #c9c8c0; box-shadow: 2px 5px 12px #1d241b40;
}
.office-sign img, .directory-sign img, .map-sign img { height: 100%; width: auto; display: block; object-fit: contain; }
.thumbnail { position: relative; display: block; }
.directory-sign { position: absolute; right: 12px; bottom: 12px; height: 48%; min-height: 35px; max-height: 82px; padding: 5px 8px; background: white; border: 1px solid #e1dfd6; border-radius: 2px; box-shadow: 0 2px 8px #21301d35; }
.office:hover .directory-sign img { transform: none; }
.office .registered-name { display: block; margin: 5px 15px 0; font-size: .88rem; line-height: 1.35; color: #415665; }
.floorGrid button { position: relative; }
.floorGrid .has-mark { padding-right: 47px; }
.map-sign { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); height: 39px; padding: 3px 5px; background: white; border-radius: 2px; }
#partition { z-index: 2; }
#outdoors.campusVisible { visibility: visible; }
#outdoors.campusVisible #garden { animation: courtyard-arrival .8s ease-out both; }
@keyframes courtyard-arrival { from { transform: scale(1.06); } to { transform: scale(1); } }
@media(max-width:650px) {
  .office-sign { top: 10%; right: 9%; height: clamp(76px, 13svh, 112px); padding: 6px 9px; }
  .picture.identity-picture > .galleryImage { top: 10%; right: 9%; height: 27%; }
  .office .registered-name { margin-inline: 10px; font-size: .81rem; }
  .directory-sign { right: 6px; bottom: 6px; padding: 3px 5px; }
}
@media(max-height:510px) {
  #tour { height: 100svh; min-height: 0; }
  .caption.inroom h1 { margin: 4px 0; font-size: clamp(27px,5vw,43px); }
  .caption p { font-size: .93rem; line-height: 1.3; }
  .tourTop { top: 10px; } .caption { bottom: 72px; }
  #galleryControls button { width: 33px; height: 33px; }
  .pilot { min-height: 46px; } .actions button { min-height: 34px; padding-block: 6px; }
  .office-sign { top: 12%; height: 21%; }
}
@media(prefers-reduced-motion:reduce) {
  #outdoors.campusVisible #garden { animation: none; }
}

#plan { width: min(64rem, 94vw); padding: clamp(1.1rem, 3vw, 2rem); }
#plan .planHead { margin-bottom: 1.25rem; }
#plan h2 span, #directory h2 span { color: #2477a5; }
.planBody { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.15rem; align-items: stretch; }
.campusOverview { position: relative; isolation: isolate; overflow: hidden; min-height: 21.5rem; border-radius: .48rem; background: #263c37; }
.aerialView { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; z-index: -2; }
.campusOverview::before { content: ""; z-index: -1; position: absolute; inset: 0; background: linear-gradient(0deg,#152a29b8,transparent 35%); }
.campusOverview .campusLink { position: absolute; bottom: .85rem; left: .85rem; margin: 0; color: #163448; background: #fbfbf8; box-shadow: 0 .15rem .65rem #162a2c40; }
#mapPins { position: absolute; inset: 6% 3% 19%; }
.mapPin { position: absolute; left: 29%; top: 79%; transform: translate(-50%,-50%); min-width: 2.5rem; min-height: 2.5rem; display: flex; align-items: center; justify-content: center; gap: .25rem; border: 1px solid #ffffffa8; border-radius: 99px; padding: .15rem .45rem; color: #fff; background: #102b3fe8; font: 600 .82rem/1 ui-monospace, monospace; box-shadow: 0 2px 8px #0c172e60; }
.mapPin:nth-child(2) { left: 70%; top: 79%; }
.mapPin:nth-child(3) { left: 32%; top: 59%; }
.mapPin:nth-child(4) { left: 67%; top: 59%; }
.mapPin:nth-child(5) { left: 35%; top: 39%; }
.mapPin:nth-child(6) { left: 64%; top: 39%; }
.mapPin:nth-child(7) { left: 38%; top: 19%; }
.mapPin:nth-child(8) { left: 61%; top: 19%; }
.mapPin:hover, .mapPin:focus-visible, .mapPin[aria-current="true"] { background: #fff; color: #193950; border-color: #18384c; }
.brandedPin { border-radius: .65rem; padding: .2rem .44rem .2rem .22rem; }
.pinMark { display: grid; place-items: center; height: 1.65rem; width: 1.25rem; padding: 1px; background: white; border-radius: 2px; }
.pinMark img { max-width: 100%; height: 100%; object-fit: contain; }
.planBody .floorGrid { margin-top: 0; gap: .36rem; grid-template-columns: 1fr 1fr; }
.planBody .floorGrid button { padding: .55rem .65rem; min-height: 3.25rem; color: #163449; font-size: .9rem; }
.planBody .floorGrid button:first-child { grid-column: 1/-1; }
.planBody .floorGrid .has-mark { padding-right: 2.6rem; }
.planBody .floorGrid button:hover { border-color: #387398; }
.planBody .floorGrid small { font-size: .75rem; }
@media(max-width:740px) {
  .planBody { grid-template-columns: 1fr; gap: .75rem; }
  .campusOverview { min-height: 16.5rem; }
  #mapPins { inset: 3% 9% 14%; }
  .mapPin { min-height: 2.25rem; min-width: 2.25rem; }
  .campusOverview .campusLink { min-height: 2.3rem; bottom: .5rem; left: .5rem; font-size: .85rem; }
  #plan .planHead { margin-bottom: .75rem; }
}
