#catalog {
  position: relative;
  color: #382c30;
  background: #fbf5ee;
  scroll-margin-top: 78px;
}
[data-catalog-content] {
  max-width: 1680px;
  margin: auto;
  padding: clamp(48px,7vw,105px) clamp(20px,3.82vw,66px) clamp(62px,8vw,122px);
  scroll-margin-top: 76px;
}
[data-catalog-content] h2, .experience-interior h2 {
  margin: 0;
  font: 500 clamp(38px,4.9vw,76px)/1.05 Manrope, sans-serif;
  letter-spacing: -.06em;
}
[data-catalog-content] h2 em {
  font: italic 400 1.07em/1.05 'PT Serif', Georgia, serif;
  color: #633e52;
}
.catalog-choices { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(18px,3vw,46px); margin-top: clamp(26px,3vw,48px); }
.catalog-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #b6a5a9;
  padding: 0 0 24px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.choice-image {
  display: block;
  height: clamp(190px,22vw,365px);
  margin-bottom: 19px;
  background: #ded9d2 url('./assets/render.webp') 83% 57% / 170% auto no-repeat;
}
.catalog-choice[data-rent-type="office"] .choice-image { background-position: 25% 67%; background-size: 245% auto; }
.choice-title { margin-right: 48px; font: 500 clamp(23px,2.3vw,37px)/1.24 Manrope, sans-serif; letter-spacing:-.045em; }
.choice-description { margin: 7px 38px 0 0; color:#5e5355; font: 400 clamp(14px,1.15vw,18px)/1.45 Onest,sans-serif; }
.choice-arrow { position:absolute; right:0; bottom:28px; width:40px; height:40px; display:grid; place-items:center; border:1px solid #ac969f; border-radius:50%; color:#633e52; font:400 20px/1 Manrope,sans-serif; }
.catalog-choice:is(:hover,:focus-visible) .choice-arrow { background:#633e52; border-color:#633e52; color:#fff8f2; }
.focus-dialog {
  position:fixed; inset:0; margin:0; padding:0; border:0; width:100%; height:100%;
  max-width:none; max-height:none; overflow:hidden; background:transparent; color:#382c30;
  overscroll-behavior:contain; font:400 17px/1.5 Onest,Manrope,sans-serif;
}
.focus-dialog[open] { display:flex; justify-content:flex-end; }
.focus-dialog::backdrop { background:rgba(242,232,227,.49); backdrop-filter:blur(3px); }
.experience-shade { flex:1; touch-action:none; }
.experience-sheet {
  width:min(100%,555px); height:100%; overflow:auto; overscroll-behavior:contain;
  background:#fff9f2; color:#382c30; border-left:1px solid #cbbabf; box-shadow:-15px 0 70px #41293617;
}
.experience-bar { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:18px clamp(20px,3.5vw,48px); min-height:78px; border-bottom:1px solid #ded0ce; }
.experience-bar img { width:81px; height:auto; }
.experience-close, .experience-text, .experience-action { cursor:pointer; font-family:inherit; }
.experience-close { display:inline-flex; align-items:center; gap:10px; min-height:44px; border:0; background:none; color:#543646; padding:0; font-size:15px; }
.experience-close span { font-size:26px; line-height:1; }
.experience-interior { padding:clamp(24px,4vw,52px) clamp(20px,3.5vw,48px) 40px; }
.experience-interior h2 { font-size:clamp(36px,4vw,53px); }
.experience-interior h2:focus { outline:0; }
.experience-content { margin-top:25px; }
.experience-content p { margin:0 0 22px; }
.focus-rental { display:grid; gap:17px; }
.focus-rental label { display:grid; gap:6px; font-size:15px; font-weight:550; }
.focus-rental :is(input,select,textarea) {
  width:100%; min-height:46px; padding:11px 13px; border:1px solid #b7a5ab; border-radius:4px;
  color:#382c30; background:#fffdf9; font:400 16px/1.4 Manrope,sans-serif;
}
.focus-rental textarea { resize:vertical; }
.experience-action {
  display:inline-flex; justify-content:space-between; align-items:center; gap:20px; min-height:49px;
  padding:12px 21px; border:0; border-radius:30px; background:#633e52; color:#fff9f3; text-decoration:none;
  font-size:16px; line-height:1.3; font-weight:650;
}
.experience-action:hover { background:#4d2c3f; }
.experience-text { width:fit-content; min-height:42px; padding:5px 0; border:0; color:#633e52; background:none; text-decoration:underline; text-underline-offset:4px; font-size:15px; }
.focus-letter { display:grid; gap:14px; }
.focus-letter .letter-recipient { margin:0; }
.focus-letter pre { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; padding:16px; background:#f5ece6; border-left:2px solid #8b6578; font:400 15px/1.55 Onest,sans-serif; }
.focus-direct { margin-top:24px; padding-top:16px; border-top:1px solid #d8c9c9; }
.focus-direct summary { cursor:pointer; min-height:36px; }
.focus-contacts, .focus-resources { display:grid; gap:12px; font-style:normal; }
.focus-contacts a, .focus-resources a, .letter-recipient a { color:#633e52; text-decoration:underline; text-underline-offset:4px; }
.focus-chronicle { margin:0; }
.focus-chronicle > div { display:grid; grid-template-columns:60px 1fr; gap:18px; border-top:1px solid #d4c6c6; padding:15px 0; }
.focus-chronicle dt { font:italic 400 22px/1.2 'PT Serif',serif; color:#633e52; }
.focus-chronicle dd { margin:0; }
.location-photo { width:100%; aspect-ratio:1.9; margin-bottom:17px; background:#ddd8cc url('./assets/render.webp') center / cover; }
.focus-rental[hidden], .focus-letter[hidden] { display:none; }
@media(max-width:650px) {
  .catalog-choices { grid-template-columns:1fr; gap:26px; }
  .choice-image { height:auto; aspect-ratio:1.9; }
  .choice-arrow { bottom:22px; }
}
@media(prefers-reduced-motion:no-preference) {
  .focus-dialog[open] .experience-sheet { animation:focus-paper-open .27s ease-out; }
  @keyframes focus-paper-open { from { clip-path:inset(0 0 0 100%); } to { clip-path:inset(0); } }
}

@supports (animation-timeline: view()) {
  @media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
    .catalog-choices {
      animation: catalog-arrival linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
    @keyframes catalog-arrival {
      from { opacity: .45; translate: 0 16px; }
      to { opacity: 1; translate: 0 0; }
    }
  }
}
