/* CT-EDIT: mobile-first additions using the current palette, typography and focus states. */
#location{display:block;max-width:1180px;margin:80px auto;padding:28px 28px 0;box-sizing:border-box}.ct-location-lead{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}.ct-image-slot{aspect-ratio:4/5;background:var(--paper);border:1px solid var(--ink);border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;box-sizing:border-box;gap:12px;color:var(--ink)}.ct-image-slot span,.ct-image-slot small{font-size:12px}.ct-image-slot strong{font:26px Monik,Georgia,serif}.ct-day-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.ct-day-cards article{min-width:0}.ct-day-cards h3{font-size:28px}.ct-day-cards p{font-size:14px}.ct-reach{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 32px}.ct-reach li{border-bottom:1px solid var(--ink);padding:15px 0;font-size:13px}.ct-reach a{display:flex;justify-content:space-between;gap:15px;text-decoration:none}.ct-reach span{white-space:nowrap;font-size:12px}.ct-address{margin-top:32px}.ct-caption{display:block;padding:14px;font:12px Poppins,sans-serif;color:var(--ink);text-align:left}#gallery-counter{font-size:12px;margin-right:12px}.interior-gallery button{align-self:start}.floorplate-section>p:not(.eyebrow){color:var(--ink)}.mortgage-invite{margin-top:65px}#stage:before{content:'';position:absolute;inset:0;background:var(--paper);z-index:1;opacity:1;transition:opacity .3s;pointer-events:none}#stage[data-ready=true]:before{opacity:0}#stage .status{z-index:2}.orbit-sticky{max-width:min(100%,calc(100svh - 215px),850px)}#registration-dialog{box-sizing:border-box;width:min(700px,94vw)}#registration-dialog>p,#registration-dialog label,#registration-dialog legend{font-size:13px}.ct-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}#registration-form label{display:block}#registration-form input:not([type=checkbox]),#registration-form select,#registration-form textarea{display:block;box-sizing:border-box;width:100%;padding:12px;margin:6px 0 12px;border:1px solid var(--ink);border-radius:8px;background:var(--paper);color:var(--ink);font:14px Poppins,sans-serif}#registration-form fieldset{border:1px solid var(--ink);border-radius:8px;margin:12px 0;padding:14px;display:flex;flex-wrap:wrap;gap:12px}#registration-form input[type=checkbox]{accent-color:var(--ink)}.ct-consent{margin:16px 0}#registration-status{font-size:12px}#registration-form input:focus-visible,#registration-form textarea:focus-visible,#registration-form select:focus-visible{outline:2px solid var(--ink);outline-offset:3px}.sales-nav>div{gap:18px}@media(min-height:1400px){.orbit-scroll{height:calc(850px + 1800px)}}@media(max-width:700px){#location{padding:20px 20px 0;margin:65px auto}.ct-location-lead{grid-template-columns:1fr;gap:28px}#location h2{font-size:36px}.ct-day-cards{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px}.ct-day-cards article{flex:0 0 86%;scroll-snap-align:start}.ct-reach{grid-template-columns:1fr}.ct-reach li{font-size:12px}.ct-reach span{font-size:12px}.ct-form-grid{grid-template-columns:1fr}.sales-nav>div{gap:9px}.sales-nav>div>a:not(.cta){display:none}#registration-dialog{padding:20px}#registration-dialog h2{font-size:30px}.orbit-sticky{max-width:min(100%,calc(100svh - 220px))}}@media(prefers-reduced-motion:reduce){#stage:before{transition:none}.ct-day-cards{scroll-behavior:auto}}

/* CT-EDIT: responsive selected neighbourhood photography, preserving the terrace and shopfront. */
.ct-location-photo{margin:0;min-width:0}.ct-location-photo img{display:block;width:100%;height:auto;border-radius:20px}.ct-location-photo figcaption{padding:12px 0;font-size:12px;line-height:1.6}.ct-location-photo figcaption small{display:block;font-size:12px}.ct-location-lead .ct-location-photo img{aspect-ratio:4/5;object-fit:cover}.ct-day-cards .ct-location-photo img{aspect-ratio:4/3;object-fit:cover}.ct-day-cards .ct-pret-photo img{object-fit:contain;aspect-ratio:4/3}.ct-photo-pair{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:36px 0}.ct-photo-pair img{aspect-ratio:3/2;object-fit:cover}.ct-school-pair img{aspect-ratio:4/3}.ct-school-pair figure:last-child img{object-position:center 65%}@media(max-width:700px){.ct-photo-pair{grid-template-columns:1fr;gap:22px}.ct-location-lead .ct-location-photo img{aspect-ratio:3/2}.ct-day-cards .ct-pret-photo img{aspect-ratio:4/3;object-fit:contain}.ct-location-photo figcaption{font-size:12px}}

.ct-connections{margin:80px 0;padding:40px;border-top:1px solid #c9cbbf}.ct-connections>h3{font-size:32px;margin:24px 0}.ct-connections .small-note{color:#536459}.ct-connections .ct-photo-pair{margin:24px 0}.ct-connections .ct-reach a{color:inherit}@media(max-width:700px){.ct-connections{padding:24px 8px;margin:50px 0}.ct-connections>h3{font-size:28px}}

/* Keep subsequent content below the viewport until the full orbit has completed. */
.orbit-scroll:not(.no-scroll-motion) .orbit-sticky{top:var(--orbit-top,78px);min-height:calc(100dvh - var(--orbit-top,78px));box-sizing:border-box;display:flow-root}

/* The full introduction stays pinned with the model throughout scroll rotation. */
.sales-experience .orbit-sticky{max-width:100%;width:100%}
.sales-experience .orbit-sticky .intro{padding:20px 12px 16px;margin:0}
.sales-experience .orbit-sticky .intro .eyebrow{margin:0 0 10px}
.sales-experience .orbit-sticky .intro h2{font-size:clamp(30px,4vw,52px);margin:8px 0 12px}
.sales-experience .orbit-sticky .intro>p:last-child{font-size:14px;line-height:1.45;margin:0}
.orbit-model{width:min(100%,var(--orbit-model-size,500px));margin:0 auto;display:flow-root}
@media(max-width:700px){.sales-experience .orbit-sticky .intro{padding:12px 0}.sales-experience .orbit-sticky .intro h2{font-size:30px;margin:6px 0 8px}.sales-experience .orbit-sticky .intro>p:last-child{font-size:12px}.sales-experience .orbit-sticky .intro .eyebrow{font-size:12px;margin-bottom:6px}}

.sales-experience .availability-sync-status{font-size:12px;line-height:1.4;text-align:center;margin:8px 0 0;color:#496355}.availability-sync-status[data-state=stale]{color:#805d28}

/* Readable details and usable controls, within the existing Bentry palette. */
#stage[data-started=true]:before{background-image:image-set(url('assets/responsive/elevation-800.webp') 1x,url('assets/responsive/elevation-1200.webp') 2x);background-position:center;background-size:contain;background-repeat:no-repeat}
.sales-experience .signature-location .small-note,
.sales-experience .signature-location .test-note,
.sales-experience .signature-location figcaption{color:#D5CAA9}
.sales-experience button,
.sales-experience select,
.sales-experience input:not([type=hidden]),
.sales-experience textarea{min-width:24px;min-height:24px}
.sales-experience .cta:disabled{opacity:1}
.sales-experience .sales-nav a,
.sales-experience .sales-nav button,
.sales-experience .ct-reach a,
.sales-experience .film-link,
.sales-experience .text-link,
.sales-experience .ct-address>a,
.sales-experience .plan-bottom>a,
.sales-experience .sales-footer a{display:inline-flex;align-items:center;min-height:24px}
.sales-experience .ct-reach a{display:flex}
.sales-experience .gallery-heading{flex-wrap:wrap;gap:12px}
.sales-experience .gallery-heading>div{display:flex;align-items:center;flex-shrink:0}
.sales-experience .gallery-heading h3{margin-bottom:0}
.sales-experience .feature-heading h2,
.sales-experience .plan-top>div,
.sales-experience .ct-form-grid>label{min-width:0}
.sales-experience .feature-heading h2{overflow-wrap:break-word}
.sales-experience .home-filters .bed-options{flex-wrap:wrap}
.sales-experience .feature-actions>a,
.sales-experience .feature-actions>button{white-space:normal}
#registration-form fieldset{min-width:0}
#registration-form fieldset label,
#registration-form .ct-consent{display:flex;align-items:center;gap:8px;min-height:44px}
#registration-form input[type=checkbox]{width:24px;height:24px;flex-shrink:0;margin:0}
#registration-form .ct-honeypot{display:none}
#registration-status:focus{outline:2px solid var(--ink);outline-offset:6px;border-radius:4px}
.sales-experience :is(button,a,input,select,textarea):focus-visible{outline:2px solid #004f38;outline-offset:4px}
.sales-experience :is(.sales-nav,.signature-location,.sales-footer,.film-dialog) :is(button,a,input,select,textarea):focus-visible{outline-color:#D5CAA9}

@media(max-width:700px){
  .sales-experience body{font-size:15px}
  .sales-experience .ct-day-cards p:not(.eyebrow):not(.small-note),
  .sales-experience .orbit-sticky .intro>p:last-child,
  .sales-experience .mortgage-invite p:not(.eyebrow),
  .sales-experience #planFacts,
  .sales-experience .ct-reach li,
  .sales-experience .sales-footer p,
  .sales-experience .sales-footer a,
  #registration-dialog>p,
  #registration-dialog label,
  #registration-dialog legend,
  #registration-status{font-size:15px}
  .sales-experience button,
  .sales-experience select,
  .sales-experience input:not([type=checkbox]):not([type=hidden]),
  .sales-experience .cta,
  .sales-experience .outline-cta,
  .sales-experience .sales-nav a,
  .sales-experience .film-link,
  .sales-experience .text-link,
  .sales-experience .ct-address>a,
  .sales-experience .ct-reach a,
  .sales-experience .plan-bottom>a,
  .sales-experience .sales-footer a{min-height:44px}
  .sales-experience button,
  .sales-experience select,
  .sales-experience .cta,
  .sales-experience .outline-cta{min-width:44px}
  .sales-experience #plotList .save-home,
  .sales-experience #saved-grid .save-home{min-width:44px;min-height:44px}
  .sales-experience .sales-nav{gap:10px}
  .sales-experience .sales-nav>div{gap:8px;flex-shrink:0}
  .sales-experience .sales-nav .wordmark{flex-shrink:0}
  .sales-experience .sales-nav .cta{padding:8px 12px}
  .sales-experience .toolbar{flex-wrap:wrap}
  .sales-experience .plot-controls{flex:1 1 100%;gap:8px}
  .sales-experience .plot-controls label{display:flex;align-items:center;gap:6px}
  .sales-experience .toolbar select{max-width:none}
  .sales-experience .toolbar #reset{margin-left:auto}
  .sales-experience .plan-actions>*{min-height:44px}
  .sales-experience .ct-reach a{flex-wrap:wrap;align-items:center;column-gap:12px;row-gap:4px}
  .sales-experience .ct-reach span{margin-left:auto}
  #registration-form input:not([type=checkbox]),
  #registration-form select,
  #registration-form textarea,
  .sales-experience .home-filters select,
  .sales-experience .toolbar select{font-size:16px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* Keep the existing compact phone navigation and responsive image proportions. */
.interior-gallery img,#furnished-floor{height:auto}
#large-photo{width:auto;height:auto}
@media(max-width:700px){
  .sales-experience .sales-nav [data-residences-open],
  .sales-experience .sales-nav>div>a:not(.cta){display:none}
}

/* UX fixes (Casa e Progetti review): AVIF picture wrappers, logo proportions, enquiry clarity and minimum mobile text sizes. */
.sales-experience picture{display:contents}
.sales-experience .sales-footer img{height:auto}
.ct-visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
#registration-form .ct-required{color:var(--ink);font-weight:600}
#registration-dialog #registration-required-note{margin:4px 0 12px}
@media(min-width:701px){#registration-dialog #registration-status{font-size:14px}}
#registration-dialog #registration-status[data-state=error]{font-weight:600;border-left:3px solid currentColor;padding-left:10px}
#registration-form .ct-email-alt{font-size:14px;margin:12px 0 0}
#registration-form .ct-email-alt .text-link{font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
#registration-dialog #registration-status[data-state=error]~.ct-email-alt .text-link{text-decoration-thickness:2px}
@media(max-width:700px){
  html.sales-experience .sales-nav a,
  html.sales-experience .sales-nav button,
  html.sales-experience .cta,
  html.sales-experience .outline-cta,
  html.sales-experience .text-link,
  html.sales-experience .skip-orbit,
  html.sales-experience .hero-links .cta,
  html.sales-experience .film-link,
  html.sales-experience #film-toggle,
  html.sales-experience .small-note,
  html.sales-experience .test-note,
  html.sales-experience .hint,
  html.sales-experience .orbit-sticky .hint,
  html.sales-experience .availability-sync-status,
  html.sales-experience .ct-caption,
  html.sales-experience .ct-location-photo figcaption,
  html.sales-experience .ct-reach span,
  html.sales-experience .apartment-heading p,
  html.sales-experience #home-count,
  html.sales-experience .feature-dialog #saved-status,
  html.sales-experience .feature-heading button,
  html.sales-experience .film-dialog>button,
  html.sales-experience #planFacts,
  html.sales-experience .plan-top button,
  html.sales-experience .plan-top p:not(.eyebrow),
  html.sales-experience .plan-bottom,
  html.sales-experience .plan-bottom span,
  html.sales-experience .plan-actions>*,
  html.sales-experience .residence-tip-facts,
  html.sales-experience #residence-tooltip small,
  html.sales-experience #residences-dialog .home-card-main>span:not(.card-floor),
  html.sales-experience #residences-dialog .home-card-main small,
  html.sales-experience #residences-dialog .test-note,
  html.sales-experience #residences-dialog #home-count,
  html.sales-experience #residences-dialog .home-filters button,
  html.sales-experience #residences-dialog .feature-heading button,
  html.sales-experience .floorplate-section button,
  html.sales-experience .gallery-heading button,
  html.sales-experience #close-mortgage{font-size:14px}
  html.sales-experience .signature-hero .hero-links{gap:10px}
  html.sales-experience .signature-hero .hero-links .cta{padding:12px 14px}
  html.sales-experience .signature-hero .film-link{padding-inline:0}
  html.sales-experience .toolbar button{font-size:14px!important}
  html.sales-experience .toolbar select,
  html.sales-experience .plot-controls select,
  html.sales-experience #residences-dialog .home-filters select{font-size:16px!important}
}

/* CT-EDIT (charlotte2): phones in landscape, and iPad-size tablets in landscape. Give the rotating building most of the
   screen height: tuck the section heading beside the model and stack the controls in a side column.
   Desktop (1200px and wider) and portrait screens are unaffected by this block. */
@media (orientation:landscape) and (max-height:500px){
  html.sales-experience .sales-nav{min-height:0;padding-top:4px;padding-bottom:4px}
  html.sales-experience .sales-nav .wordmark img{height:30px;width:auto}
  html.sales-experience .sales-nav .cta{min-height:30px;padding-top:5px;padding-bottom:5px}
}
@media (orientation:landscape) and (max-height:500px), (orientation:landscape) and (min-width:900px) and (max-height:1100px){
  html.sales-experience .orbit-sticky{max-width:100%;width:100%}
  html.sales-experience .orbit-sticky .intro{position:absolute;top:8px;left:calc(var(--orbit-model-size,300px) + 24px);right:0;height:0;padding:0;margin:0;overflow:visible;z-index:1;text-align:left}
  html.sales-experience .orbit-sticky .intro .eyebrow,
  html.sales-experience .orbit-sticky .intro>p:not(.eyebrow){display:none}
  html.sales-experience .orbit-sticky .intro h2{font-size:22px;line-height:1.15;margin:0}
  html.sales-experience .orbit-model{width:100%;height:var(--orbit-model-size,300px);overflow:visible;display:grid;grid-template-columns:var(--orbit-model-size,300px) minmax(0,1fr);grid-template-rows:56px auto auto auto auto auto minmax(0,1fr);column-gap:24px;row-gap:6px;align-content:start;align-items:start}
  html.sales-experience .orbit-model>#stage{grid-column:1;grid-row:1 / 8;width:var(--orbit-model-size,300px);max-width:100%}
  html.sales-experience .orbit-model>.toolbar{grid-column:2;grid-row:2;flex-wrap:wrap;justify-content:flex-start;gap:8px;padding:0}
  html.sales-experience .orbit-model>.toolbar .plot-controls{flex:0 1 auto;justify-content:flex-start}
  html.sales-experience .orbit-model>#progress{grid-column:2;grid-row:3;width:100%;margin:0}
  html.sales-experience .orbit-model>.hint{grid-column:2;grid-row:4;margin:0;text-align:left}
  html.sales-experience .orbit-model>.skip-orbit{grid-column:2;grid-row:5;margin:0;justify-self:start;padding-top:8px;padding-bottom:8px}
  html.sales-experience .orbit-model>.availability-sync-status{grid-column:2;grid-row:6;margin:0;text-align:left}
}
@media (orientation:landscape) and (min-width:900px) and (max-height:1100px) and (min-height:501px){
  html.sales-experience .orbit-sticky .intro{top:12px}
  html.sales-experience .orbit-sticky .intro h2{font-size:26px}
  html.sales-experience .orbit-model{grid-template-rows:112px auto auto auto auto auto minmax(0,1fr)}
}

/* CT-EDIT (charlotte2): laptops/desktops. Same side-by-side layout, but cap the building so the controls column keeps at
   least 360px inside the page container on very wide screens. */
@media (orientation:landscape) and (min-width:1200px) and (max-height:1100px) and (min-height:501px){
  html.sales-experience .orbit-sticky{container-type:inline-size}
  html.sales-experience .orbit-sticky .intro,
  html.sales-experience .orbit-model{--ct-model:min(var(--orbit-model-size,300px),calc(100cqw - 384px))}
  html.sales-experience .orbit-sticky .intro{left:calc(var(--ct-model) + 24px)}
  html.sales-experience .orbit-model{height:var(--ct-model);grid-template-columns:var(--ct-model) minmax(0,1fr)}
  html.sales-experience .orbit-model>#stage{width:var(--ct-model)}
}

/* CT-EDIT (charlotte2): portrait phones. Size the rotating building from the screen width (near full width) instead of
   the height left over under the heading. The eyebrow and heading stay above the model; the two short intro lines move
   just below it, and the controls sit in a compact row. */
@media (orientation:portrait) and (max-width:600px){
  html.sales-experience .orbit-sticky{display:flex;flex-direction:column}
  html.sales-experience .orbit-sticky .intro{display:contents}
  html.sales-experience .orbit-sticky .intro .eyebrow{order:1;margin:12px 0 4px}
  html.sales-experience .orbit-sticky .intro h2{order:2;font-size:26px;line-height:1.15;margin:0 0 10px}
  html.sales-experience .orbit-sticky .orbit-model{order:3;width:100%}
  html.sales-experience .orbit-sticky .intro>p:not(.eyebrow){order:4;margin:10px 0 0}
  html.sales-experience .orbit-model>.toolbar{flex-wrap:wrap;justify-content:flex-start;gap:6px 8px;padding:0 0 8px}
  html.sales-experience .orbit-model>.toolbar .plot-controls{flex:0 1 auto;flex-wrap:nowrap;gap:6px}
  html.sales-experience .orbit-model>.toolbar button,
  html.sales-experience .orbit-model>.toolbar select{min-height:40px;padding-top:6px;padding-bottom:6px}
  html.sales-experience .orbit-model>#stage{width:min(100%,calc(100svh - var(--orbit-top,69px) - 200px));margin-left:auto;margin-right:auto}
}

/* CT-EDIT (charlotte2): tablet widths. Keep the header inside the screen (no horizontal overflow). */
@media (min-width:701px) and (max-width:900px) and (min-height:600px){
  html.sales-experience .sales-nav{padding-left:16px;padding-right:16px;gap:12px}
  html.sales-experience .sales-nav>div{gap:8px}
  html.sales-experience .sales-nav .wordmark{gap:8px}
  html.sales-experience .sales-nav .wordmark img{width:110px;height:auto}
  html.sales-experience .sales-nav .wordmark span{width:min-content;line-height:1.25}
}

/* CT-EDIT (charlotte2): small viewers (building under 340px wide). Open up the vertical gap between stacked floor labels:
   first-floor labels move down and third-floor labels move up by a quarter of the label height (about 3px on screen),
   so each pair of neighbouring floors gains about 3px. */
#stage{container-type:inline-size}
@container (max-width:339px){
  #plotOverlay .floor-1 text{transform:translateY(.25em)}
  #plotOverlay .floor-3 text{transform:translateY(-.25em)}
}
