:root { scroll-padding-top: 24px; }
.calendar-day { border: 0; font: inherit; font-size: 13px; width: 100%; padding: 0; cursor: pointer; }
.calendar-day:disabled { cursor: default; opacity: 1; }
.calendar-day:not(:disabled):hover { outline: 1px solid var(--green); }
.calendar-day:focus-visible, .photo-card:focus-visible, .gallery-preview a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.calendar-day.checkout { background: linear-gradient(135deg, #f4f7f2 50%, #e8d8d4 50%); text-decoration: none; color: var(--ink); }
.calendar-day.selected { background: var(--green); color: #fff; text-decoration: none; }
.calendar-message { display: block; margin-top: 12px; }
.calendar-message:empty { display: none; }
.calendar-email { display: block; margin-top: 12px; font-size: 12px; color: var(--green); text-underline-offset: 3px; }
.calendar-grid { font-size: 13px; }
.lightbox img { touch-action: pan-y pinch-zoom; }
.lightbox-caption { text-align: center; }
.home-page .hero { grid-template-columns: .9fr 1.1fr; gap: 5vw; padding-top: 46px; padding-bottom: 56px; min-height: 590px; }
.home-page .hero h1 { font-size: clamp(46px, 5.5vw, 72px); margin: 16px 0 22px; line-height: 1.02; }
.hero-media { min-width: 0; width: 100%; margin: 0; position: relative; border-radius: 100px 100px 6px 6px; overflow: hidden; aspect-ratio: 1.07; background: #e1e5da; }
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 38% 58%; }
.hero-media figcaption { position: absolute; bottom: 0; left: 0; right: 0; color: #fff; padding: 38px 22px 18px; font-size: 12px; background: linear-gradient(transparent, rgba(16,30,23,.7)); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 7px 14px; padding: 0; margin: 0 0 24px; list-style: none; color: var(--deep); font-size: 13px; }
.hero-facts li { white-space: nowrap; }
.hero-facts li + li::before { content: '·'; margin-right: 14px; color: var(--green); }
.apartment-summary { margin-top: 18px; color: var(--ink); font-size: 14px; }
.home-page .since { margin-top: 26px; }
.home-page .gallery-preview { grid-template-columns: 1.15fr 1fr 1fr; }
.home-page .gallery-preview a { min-width: 0; }
.home-page .gallery-preview img { height: 100%; }
.form-status { min-height: 20px; }
@media (min-width: 761px) and (max-width: 1000px) {
  .topbar { height: auto; min-height: 78px; }
  .topbar .nav { flex-wrap: wrap; padding-top: 10px; }
  .header-actions { margin-left: auto; }
  .topbar .nav-links { flex: 0 0 100%; order: 3; padding: 3px 0 12px; }
}
@media (max-width: 760px) {
  .home-page .hero { display: flex; flex-direction: column; gap: 0; padding-top: 24px; padding-bottom: 36px; }
  .home-page .hero-copy { display: contents; }
  .home-page .hero-copy .eyebrow { order: 0; align-self: flex-start; font-size: 10px; }
  .home-page .hero h1 { order: 1; align-self: flex-start; font-size: clamp(38px, 10.5vw, 49px); line-height: 1.03; margin: 12px 0 18px; }
  .hero-media { order: 2; aspect-ratio: 4 / 3; border-radius: 45px 45px 4px 4px; }
  .hero-media img { object-position: center; }
  .hero-media figcaption { font-size: 10px; padding: 26px 14px 10px; }
  .hero-facts { order: 3; width: 100%; margin: 18px 0 16px; gap: 6px 11px; font-size: 12px; }
  .hero-facts li + li::before { margin-right: 11px; }
  .home-page .hero .actions { order: 4; width: 100%; display: grid; grid-template-columns: 1fr; gap: 9px; }
  .home-page .hero-copy p { order: 5; align-self: flex-start; font-size: 14px; margin: 18px 0 0; }
  .home-page .since { order: 6; align-self: flex-start; margin: 19px 0 0; }
  .home-page .hero .actions .button { width: 100%; min-height: 44px; }
  .topbar .nav { gap: 8px 12px; }
  .topbar .brand-name { font-size: 15px; }
  .topbar .brand-name small { font-size: 9px; }
  .topbar .brand-mark { width: 39px; height: 39px; flex-basis: 39px; }
  .topbar .brand { gap: 9px; min-height: 46px; }
  .topbar .nav-links { padding-top: 4px; gap: 18px; }
  .home-page .gallery-preview { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 150px 150px; }
  .home-page .gallery-preview a:first-child { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 390px) {
  .header-actions { gap: 7px; }
  .header-actions .nav-cta { padding: 8px 9px; }
  .language-switch { font-size: 10px; gap: 6px; }
  .topbar .brand-name { font-size: 14px; }
  .topbar .brand { gap: 7px; }
  .topbar .brand-mark { width: 35px; height: 35px; flex-basis: 35px; }
  .home-page .gallery-preview { grid-template-rows: 210px 140px 140px; }
}
