/* One painted object per stake: no repeated plank texture or CSS pole. */
@font-face {
  font-family: 'Garden Sign';
  src: url('assets/fonts/AveriaSansLibre-Latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.greenhouse-study .room {
  --board-width: clamp(128px, calc(var(--frame-h) * .16), 180px);
  --board-height: calc(var(--board-width) * .226);
  --hanger-length: 0px;
  --wood-light: .93;
  position: absolute;
  isolation: isolate;
  left: var(--sign-x);
  top: var(--sign-y);
  display: block;
  width: var(--board-width);
  min-width: 0;
  height: calc(var(--board-width) * .627);
  min-height: 44px;
  padding: 0;
  transform: translateX(-50%);
}
.greenhouse-study .room-photography { --sign-x: 17%; --sign-y: 65%; }
.greenhouse-study .room-illustrations { --sign-x: 79.5%; --sign-y: 59%; --wood-light: 1; }
.greenhouse-study .room::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url('assets/greenhouse-marker-v1.webp') center top / 100% 100% no-repeat;
  filter: brightness(var(--wood-light));
  mask-image: linear-gradient(#000 0 calc(100% - 10px), transparent);
  pointer-events: none;
}
.greenhouse-study .room span {
  position: absolute;
  isolation: isolate;
  left: 0;
  top: var(--hanger-length);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--board-height);
  min-height: 0;
  padding: 0 8px 2px;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #35483c;
  font: 15px/1.15 'Garden Sign', sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: none;
  transform: none;
  transition: color 160ms ease;
}
.greenhouse-study .room span::before,
.greenhouse-study .room span::after { content: none; }
.greenhouse-study .room-dance {
  --sign-x: 57%;
  --sign-y: 22.8%;
  --board-width: 110px;
  --hanger-length: calc(var(--frame-h) * .055);
  --wood-light: 1;
  height: calc(var(--hanger-length) + var(--board-height));
}
.greenhouse-study .room-dance::after { content: none; }
.greenhouse-study .room-dance::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--hanger-length) + 3px);
  background:
    linear-gradient(#6b7065aa, #6b706577) 23% 0 / 1px 100% no-repeat,
    linear-gradient(#6b7065aa, #6b706577) 77% 0 / 1px 100% no-repeat;
  pointer-events: none;
}
.greenhouse-study .room-dance span::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url('assets/greenhouse-marker-face-v1.webp') center / 100% 100% no-repeat;
  pointer-events: none;
}
.greenhouse-study .room:hover span,
.greenhouse-study .room:focus-visible span {
  color: #172f22;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.greenhouse-study .room:focus-visible { outline: none; }
.greenhouse-study .room:focus-visible span { outline: 2px solid #48634d; outline-offset: 3px; }
@media (max-aspect-ratio: 4/3) {
  .greenhouse-study .room-photography { --sign-x: 20%; --sign-y: 67%; }
  .greenhouse-study .room-illustrations { --sign-x: 80%; --sign-y: 61%; }
  .greenhouse-study .room-dance { --sign-x: 54.6%; --sign-y: 26.2%; }
}
@media (max-aspect-ratio: 4/5) {
  .greenhouse-study .room { --board-width: clamp(116px, calc(var(--frame-h) * .15), 132px); }
  .greenhouse-study .room span { font-size: 14px; padding: 0 6px 1px; }
  .greenhouse-study .room-photography { --sign-x: 24%; --sign-y: 61%; }
  .greenhouse-study .room-illustrations { --sign-x: 76.5%; --sign-y: 63%; }
  .greenhouse-study .room-dance { --sign-x: 60%; --sign-y: 34.6%; --board-width: 100px; --hanger-length: calc(var(--frame-h) * .024); }
}
@media (min-aspect-ratio: 2/1) {
  .greenhouse-study .room-photography { --sign-x: 25%; --sign-y: 58.5%; }
  .greenhouse-study .room-illustrations { --sign-x: 80%; --sign-y: 60%; }
  .greenhouse-study .room-dance { --sign-x: 53.5%; --sign-y: 27%; }
}
