/* Galleries, room features and the full-screen photo viewer (website redesign, Nov 2026).
   Sizes checked for phones (360-430 px), foldable cover screens (about 280-360 px), unfolded foldables (about 700-900 px),
   tablets and desktops. */
.g-main{position:relative;display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in;border-radius:var(--radius);overflow:hidden}
.g-main img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .4s}
.g-main:hover img{transform:scale(1.02)}
.g-count{position:absolute;right:10px;bottom:10px;background:#044240d9;color:#fff;font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px}
.g-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;margin-top:8px}
.g-thumbs.mini{grid-template-columns:repeat(4,1fr);gap:4px;padding:6px 6px 0}
.g-thumb{padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:none;cursor:pointer;line-height:0}
.g-thumb img{width:100%;aspect-ratio:3/2;object-fit:cover}
.g-thumb[aria-current]{border-color:var(--copper)}
.g-thumb:focus-visible,.g-main:focus-visible{outline:3px solid var(--copper);outline-offset:2px}
.room .g-main{border-radius:0}.room .g-main img{aspect-ratio:4/3}
/* Rooms page: one feature per category, gallery beside the text, alternating */
.section-intro{padding:60px 0 10px;max-width:820px}.section-intro p{color:var(--muted);font-size:17px}
.room-jump{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.room-jump a{border:1px solid var(--line);border-radius:999px;padding:8px 14px;text-decoration:none;font-weight:700;color:var(--teal);background:#fff;font-size:14px}
.room-feature{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:36px;align-items:center;padding:36px 0;border-bottom:1px solid var(--line);scroll-margin-top:110px}
.room-feature.reverse .gallery{order:2}
.room-copy-2026 h2{margin-bottom:8px}.room-copy-2026>p{color:var(--muted)}
.room-facts-2026{list-style:none;padding:0;margin:14px 0 20px;display:flex;flex-wrap:wrap;gap:8px}
.room-facts-2026 li{background:var(--teal-tint);color:var(--teal);border-radius:999px;padding:6px 12px;font-weight:600;font-size:14px}
.compare-2026,.amenities-2026,.gallery-block{padding:60px 0 20px}
.compare-2026 table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.compare-2026 th,.compare-2026 td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
.compare-2026 thead th{background:var(--teal);color:#fff;font-size:13px}
.compare-2026 tbody th{display:flex;align-items:center;gap:12px;font-family:var(--head);font-size:20px;color:var(--teal);font-weight:500}
.compare-2026 tbody th img{width:96px;height:64px;object-fit:cover;border-radius:8px;flex:none}
.table-scroll{overflow-x:auto}
.info-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:18px}
.info-cards article{background:#fff;border:1px solid var(--line);border-top:3px solid var(--copper);border-radius:var(--radius);padding:20px}
.info-cards h3{font-size:23px;margin-bottom:6px}.info-cards p,.info-cards li{color:var(--muted);margin:0}.info-cards ul{padding-left:18px;margin:0}
.split-2026{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;padding:56px 0}
.split-2026.reverse .split-media{order:2}
.split-media img{width:100%;aspect-ratio:5/4;object-fit:cover;border-radius:var(--radius)}
.split-copy p{color:var(--muted)}
.note-band{background:var(--copper-tint);border:1px solid #efd9c6;border-radius:var(--radius);padding:24px 28px;margin:10px auto}.note-band p{margin:0;color:#5d2d0c}
.photo-wall{columns:3 280px;column-gap:12px}.photo-wall .g-thumb{display:block;width:100%;margin:0 0 12px;break-inside:avoid;border-radius:12px}
.photo-wall .g-thumb img{aspect-ratio:auto;height:auto}
.page-hero picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.residency .g-main img{aspect-ratio:16/10}.residency .g-main{border-radius:var(--radius)}
.split-img .g-main img{aspect-ratio:5/4}
.gallery-strip .g-thumb{border-radius:12px}.gallery-strip .g-thumb img{height:220px;aspect-ratio:auto}
/* Full-screen viewer */
.lightbox{border:0;padding:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;background:#021c1bf2;color:#fff}
.lightbox::backdrop{background:#000c}
.lightbox[open]{display:flex;align-items:center;justify-content:center}
.lightbox figure{margin:0;max-width:min(1400px,94vw);text-align:center}
.lightbox img{max-width:100%;max-height:calc(100dvh - 110px);object-fit:contain;border-radius:8px}
.lightbox figcaption{margin-top:10px;font-size:14px;color:#cfe1de}
.lightbox button{position:absolute;border:0;background:#ffffff1f;color:#fff;width:48px;height:48px;border-radius:50%;font-size:30px;line-height:1;cursor:pointer}
.lb-close{top:max(14px,env(safe-area-inset-top));right:14px}.lb-prev{left:12px;top:50%;transform:translateY(-50%)}.lb-next{right:12px;top:50%;transform:translateY(-50%)}
.lb-open{overflow:hidden}
/* Unfolded foldables and small tablets (about 700-900 px, nearly square screens) */
@media(max-width:900px){.room-feature,.split-2026{grid-template-columns:1fr;gap:18px}.room-feature.reverse .gallery,.split-2026.reverse .split-media{order:0}.gallery-strip .g-thumb img{height:150px}}
/* Phones */
@media(max-width:600px){.g-thumbs{grid-template-columns:repeat(4,1fr);gap:6px}.compare-2026 tbody th img{width:64px;height:44px}.compare-2026 tbody th{font-size:17px}.lightbox button{width:42px;height:42px;font-size:26px}.lb-prev,.lb-next{top:auto;bottom:max(16px,env(safe-area-inset-bottom));transform:none}}
/* Foldable cover screens and very narrow phones (about 280-360 px) */
@media(max-width:360px){.wrap{width:calc(100% - 24px)}.g-thumbs,.g-thumbs.mini{grid-template-columns:repeat(3,1fr)}.room-jump a{padding:7px 10px;font-size:13px}.search-grid{grid-template-columns:1fr}h1{font-size:38px}.brand{font-size:22px}.brand-symbol img{width:38px;height:38px}.utility-bar nav{gap:10px;font-size:12px}}
/* Photos keep their shape: the width/height attributes are only size hints, never a fixed height. */
.g-main img,.g-thumb img,.split-media img,.split-img img,.room img,.residency img,.members>img,.offer-card img,.compare-2026 img{height:auto}
.room .g-thumb img{aspect-ratio:3/2}
/* Homepage room card: photo, a row of 4 thumbnails, then the text. */
.room>.g-main{flex:none}.room>.g-thumbs{flex:none;display:grid;flex-direction:initial;padding:6px 6px 0;gap:4px}
/* Alternating rows: the gallery keeps the wider column on both sides. */
.room-feature.reverse{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
@media(max-width:900px){.room-feature.reverse{grid-template-columns:1fr}}
