/* Home rental block and studio photos. */
.cowork-home .rental-pricing-content {
  width: 100%;
  max-width: none;
}
.cowork-home .rental-included {
  margin-top: 24px;
}
.cowork-home .rental-included-footer {
  justify-content: center;
}
.cowork-home .rental-supplies-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  max-width: 100%;
  padding: 16px 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--mint);
  font: 600 14px/1.5 Inter, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.cowork-home .rental-supplies-link:hover {
  background: #174738;
}
.cowork-home .rental-supplies-link:focus-visible,
.studio-photo:focus-visible,
.studio-viewer-close:focus-visible {
  outline: 3px solid #22a981;
  outline-offset: 4px;
}
.studio-gallery h2 {
  margin: 0 0 28px;
}
.studio-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.studio-photo {
  display: block;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dce8e1;
}
.studio-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
dialog.studio-viewer {
  box-sizing: border-box;
  width: min(1400px, calc(100% - 32px));
  max-width: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  padding: 56px 12px 12px;
  border: 1px solid #a5beb53b;
  border-radius: 16px;
  background: #071a17;
  color: #fff;
  overflow: auto;
}
.studio-viewer::backdrop {
  background: rgba(2, 13, 11, .94);
}
.studio-viewer-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 112px);
  object-fit: contain;
}
.studio-viewer-close {
  position: absolute;
  top: 6px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #a5beb580;
  border-radius: 50%;
  background: #173c31;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.studio-viewer-error { padding: 16px; }
.studio-viewer-error a { color: var(--mint); }
html.studio-viewer-open { overflow: hidden; }
@media (max-width: 760px) {
  .cowork-home .rental-rate-grid { grid-template-columns: minmax(0, 1fr); }
  .cowork-home .rental-supplies-link { width: 100%; padding-inline: 18px; }
  .cowork-home .rental-included-footer { align-items: stretch; }
  .studio-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .studio-gallery h2 { margin-bottom: 22px; }
}

.rental-extras { padding-top: 0; padding-bottom: 40px; }
.rental-extras-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px;
  border: 1px solid #bfd5c9;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffffb8, #e5faf1b3);
}
.rental-extras-copy { min-width: 0; max-width: 760px; }
.rental-extras h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.rental-extras p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.rental-extras-link {
  flex: 0 0 290px;
  justify-content: center;
  min-height: 56px;
  max-width: 100%;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 1000px) {
  .rental-extras-panel { flex-direction: column; align-items: flex-start; gap: 20px; }
  .rental-extras-link { flex-basis: auto; }
}
@media (max-width: 760px) {
  .rental-extras-panel { padding: 24px 20px; }
  .rental-extras-link { width: 100%; }
}

/* Compact tour invitation with a full-width photo behind the copy. */
.cowork-home .tour-layout {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 0;
}
.cowork-home .tour-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}
.cowork-home .tour-layout::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #071a17fa 0%, #071a17ed 30%, #071a17ad 56%, #071a171a 100%);
}
.cowork-home .tour-copy {
  box-sizing: border-box;
  width: min(100%, 680px);
  padding: 24px 32px;
}
.cowork-home .tour h2 {
  max-width: 520px;
  margin: 0 0 12px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}
.cowork-home .tour-invite {
  max-width: 540px;
  margin: 0;
  color: #e3eee8;
}
.cowork-home .tour .button { margin-top: 16px; }
.cowork-home .tour-contact { margin-top: 12px; color: #d3e4db; }
@media (max-width: 760px) {
  .cowork-home .tour-copy { padding: 22px 20px; }
  .cowork-home .tour h2 { font-size: 30px; }
  .cowork-home .tour-layout::before {
    background: linear-gradient(90deg, #071a17f5 0%, #071a17d9 65%, #071a17a6 100%);
  }
  .cowork-home .tour .button { min-height: 48px; }
}
