/* The main garage photograph keeps its complete 2042 x 770 frame. */
.cinematic-home .cinematic-panels .cinematic-gallery > img {object-fit:contain;object-position:center;}
.cinematic-home .cinematic-gallery {background:#111718;}
.cinematic-home > header {background:linear-gradient(180deg,#000b,#0004 70%,transparent);}
.cinematic-home .desktop-nav {background:#101112ce;border:1px solid #ffffff35;padding:0 14px;gap:32px;}
.cinematic-home .desktop-nav a {color:#fff;text-shadow:0 1px 3px #000;font-weight:500;}
.cinematic-home #menu {background:#101112ce;border:1px solid #ffffff35;}
.cinematic-home .home .cinematic-film {width:230px;height:44px;min-height:44px;border-color:#82bbcd;padding:0 18px;gap:16px;}
.cinematic-home .cinematic-film > span {font-size:15px;font-weight:600;letter-spacing:1px;line-height:20px;}
.cinematic-home .cinematic-film svg {width:11px;height:14px;fill:#82bbcd;}
.cinematic-home > footer {height:20px;padding:2px 4px 0;font-size:12px;line-height:16px;}
@media (min-width:601px) {
  body.cinematic-home {height:100dvh;min-height:0;grid-template-rows:minmax(0,1fr) 20px;}
  .cinematic-home .cinematic-panels {height:100%;grid-template-columns:1.55fr 1fr;grid-template-rows:minmax(0,1fr) minmax(0,1fr) 72px;}
  .cinematic-home .cinematic-gallery {grid-column:1;grid-row:1/3;}
  .cinematic-home .cinematic-gallery > img {height:100%;width:100%;}
  .cinematic-home .cinematic-controls {grid-row:3;grid-column:1/-1;}
  .cinematic-home .home-photo.cinematic-court {grid-column:2;grid-row:1;height:100%;border-left:2px solid #111718;border-bottom:2px solid #111718;}
  .cinematic-home .cinematic-suite {grid-column:2;grid-row:2;border-left:2px solid #111718;}
  .cinematic-home .home-photo.cinematic-court :is(.vault-closed,.vault-open) {object-fit:cover;object-position:50% 23%;}
  .cinematic-home .cinematic-suite > img {object-fit:cover;object-position:50% 51%;}
  .cinematic-home .home .cinematic-statement {top:66px;max-width:none;font-size:clamp(25px,3vw,45px);}
  .cinematic-home .cinematic-identity {top:18px;}
  #content > .photos {height:auto;min-height:0;align-items:start;}
  .photos .gallery {display:block;}
  .photos .spaces .small-label {margin-top:0;margin-bottom:8px;}
  .photos .spaces .room-list button {font-size:16px;line-height:1.25;padding:4px 12px;}
  .photos .photo-stage #enlarge-photo {height:auto;}
  .photos .photo-stage img {height:auto;width:100%;object-fit:contain;}
  .photos .spaces .gallery-caption {margin:10px 0 8px;display:flex;flex-direction:column;gap:6px;}
  .photos .spaces .gallery-caption h2 {font-size:20px;line-height:1.15;}
  .photos .spaces .gallery-caption p {font-size:13px;}
  .photos .spaces .photo-count {align-items:center;justify-content:flex-start;}
  .photos .spaces .photo-count span {padding:0;margin-right:auto;}
  .photos .spaces .photo-count button {min-width:36px;min-height:36px;font-size:27px;}
  .photos .spaces .thumbnails {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;padding:0;}
  .photos .spaces .thumbnails button {width:100%;height:60px;min-width:0;}
  .photos .spaces .thumbnails img {object-fit:contain;}
  #content > .details {height:auto;min-height:0;grid-template-rows:auto auto auto;gap:12px;}
  .details .details-hero {grid-template-columns:33% minmax(0,1fr);gap:35px;}
  .details .details-hero > img {height:44dvh;min-height:240px;max-height:540px;object-fit:cover;}
  .details .detail-groups button {padding-top:7px;padding-bottom:10px;}
}
@media (min-width:601px) and (orientation:portrait) {
  .cinematic-home .cinematic-panels {grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,235fr) minmax(0,179fr) minmax(0,171fr) 72px;}
  .cinematic-home .cinematic-gallery {grid-column:1;grid-row:1;}
  .cinematic-home .home-photo.cinematic-court {grid-column:1;grid-row:2;border-left:0;border-top:2px solid #111718;}
  .cinematic-home .cinematic-suite {grid-column:1;grid-row:3;border-left:0;}
  .cinematic-home .cinematic-controls {grid-column:1;grid-row:4;}
}
@media (max-width:600px) and (orientation:portrait) {
  body.cinematic-home {grid-template-rows:minmax(0,1fr) 43px calc(20px + env(safe-area-inset-bottom));}
  .cinematic-home .cinematic-panels {grid-template-rows:minmax(0,235fr) minmax(0,179fr) minmax(0,171fr) 64px;}
  .cinematic-home .cinematic-gallery {grid-column:1;grid-row:1;}
  .cinematic-home .cinematic-gallery > img {height:100%;width:100%;}
  .cinematic-home .home .cinematic-film {width:210px;height:40px;min-height:40px;padding:0 12px;gap:12px;}
  .cinematic-home .cinematic-film > span {font-size:14px;}
  .cinematic-home > header {background:transparent;}
  .cinematic-home #menu {border-color:#ffffff45;border-radius:2px;}
  .cinematic-home > footer {height:auto;font-size:9px;line-height:14px;padding:2px 4px env(safe-area-inset-bottom);}
}

/* Approved desktop Home reference, isolated from other page layouts. */
.cinematic-sidebar{display:contents}
@media(min-width:601px) and (orientation:landscape){
body.cinematic-home{height:100dvh;display:grid;grid-template-rows:54px minmax(0,1fr);background:#000;color:#f3f3f3}
body.cinematic-home>header{position:relative;inset:auto;grid-row:1;height:54px;padding:0 40px;background:#000;border:0;justify-content:space-between;gap:0;pointer-events:auto}
body.cinematic-home>header:before{content:'SR-1217';color:#82bbcd;font-family:Roboto,Arial,sans-serif;font-size:20px;font-weight:500;letter-spacing:2.3px}
body.cinematic-home>header .desktop-nav{display:flex;gap:40px;padding:0;background:transparent;border:0}
body.cinematic-home>header .desktop-nav a{font-size:14px;font-weight:400;color:#c1c7cb;text-shadow:none;padding:0;border:0}
body.cinematic-home>header .desktop-nav a[aria-current]{color:#82bbcd}
body.cinematic-home>header #menu{display:block;background:transparent;border:0;margin-left:32px;padding:0;color:#fff} body.cinematic-home>header .desktop-nav{margin-left:auto}
body.cinematic-home>#content{grid-row:2;height:100%;min-height:0;padding:0}
body.cinematic-home .cinematic-panels{height:100%;position:relative;display:grid;grid-template-columns:32.5% 33.75% 33.75%;grid-template-rows:58.5% 41.5%;gap:0;padding:0}
body.cinematic-home .cinematic-sidebar{display:block;position:relative;grid-column:1;grid-row:1/3;min-width:0;background:#000;padding:36px 40px}
body.cinematic-home .home .cinematic-statement{position:static;max-width:none;margin:0;font-family:'Roboto Condensed',Roboto,Arial,sans-serif;font-size:clamp(27px,3.125vw,60px);line-height:1.13;font-weight:400;letter-spacing:-.35px;color:#f3f3f3;text-shadow:none;font-synthesis:weight}
body.cinematic-home .cinematic-statement :is(span,strong){display:block;white-space:nowrap}
body.cinematic-home .cinematic-statement strong{font-weight:800}
body.cinematic-home .cinematic-controls{display:block;padding:0;background:#000;margin-top:31px}
body.cinematic-home .home .cinematic-film{display:flex;position:relative;width:185px;height:44px;min-height:44px;min-width:0;margin:0;padding:0 24px;gap:18px;border:1px solid #82bbcd;background:transparent;color:#f3f3f3}
body.cinematic-home .home .cinematic-film>span{font-family:'Roboto Condensed',Roboto,Arial,sans-serif;font-weight:600;font-size:15px;line-height:20px;letter-spacing:1px;color:#f3f3f3}
body.cinematic-home .cinematic-film svg{width:10px;height:13px;fill:#82bbcd}
body.cinematic-home .home .cinematic-price{position:absolute;left:40px;bottom:79px;margin:0;font-size:17px;font-weight:400;line-height:28px;letter-spacing:.15px;color:#b8c0c5}
body.cinematic-home .cinematic-price span{font-family:Roboto,Arial,sans-serif;font-weight:500;font-size:23px;color:#f3f3f3;margin-left:4px}
body.cinematic-home .cinematic-gallery{grid-column:2/4;grid-row:1;background:#000;border:0}
body.cinematic-home .cinematic-panels .cinematic-gallery>img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;filter:none}
body.cinematic-home .cinematic-gallery:after{display:none}
body.cinematic-home .cinematic-identity{display:none}
body.cinematic-home .home-photo.cinematic-court{grid-column:2;grid-row:2;height:100%;min-height:0;max-height:none;border:0}
body.cinematic-home .home-photo.cinematic-court :is(.vault-closed,.vault-open){width:100%;height:auto;min-height:100%;object-fit:initial;object-position:50% 0%;inset:0 auto auto 0;filter:none}
body.cinematic-home .cinematic-suite{grid-column:3;grid-row:2;border:0;background:#000}
body.cinematic-home .cinematic-suite>img{object-fit:cover;object-position:50% 22%;filter:none}
body.cinematic-home>nav.bottom-nav{display:none}
body.cinematic-home>footer{position:fixed;left:40px;right:auto;bottom:20px;width:calc(32.5% - 56px);height:auto;padding:0;border:0;background:#000;text-align:left;font-size:10px;line-height:14px;font-weight:400;white-space:nowrap;color:#a5afb5;z-index:2}
body.cinematic-home>footer a{color:#fff}body.cinematic-home>footer span{padding:0 4px;color:#6d787d}
}
@media(max-width:600px) and (orientation:portrait){
body.cinematic-home .cinematic-panels{position:relative}
body.cinematic-home .cinematic-sidebar{display:contents}
body.cinematic-home .cinematic-panels .cinematic-controls{grid-column:1;grid-row:4}
body.cinematic-home .home .cinematic-statement{font-size:clamp(18px,5.2vw,23px);line-height:1.06;z-index:3;pointer-events:none}
body.cinematic-home .cinematic-statement span,body.cinematic-home .cinematic-statement strong{display:block}
body.cinematic-home .cinematic-statement span{font-weight:400}body.cinematic-home .cinematic-statement strong{font-weight:800}
body.cinematic-home .home-photo.cinematic-court :is(.vault-closed,.vault-open){width:100%;height:auto;min-height:100%;object-fit:initial;object-position:50% 0%;inset:0 auto auto 0}
}

/* Approved Photos height reduction: unchanged column width and vertical crop only. */
@media(min-width:601px){
 .photos .photo-stage #enlarge-photo {height:calc(100dvh - 135px);min-height:320px;max-height:700px;width:100%;}
 .photos .photo-stage img {height:100%;width:100%;object-fit:cover;object-position:50% 50%;}
}
/* Preserve the exact approved sidebar footer after shared footer styling. */
@media(min-width:601px) and (orientation:landscape){
 body.cinematic-home.cinematic-home>footer{left:40px;right:auto;bottom:20px;width:calc(32.5% - 56px);height:auto;padding:0;border:0;text-align:left;font-size:10px;line-height:14px;font-weight:400;color:#a5afb5;}
 body.cinematic-home.cinematic-home>footer span{padding:0 4px;}
}
