/* Modern gallery page — isolated from the rest of the site. */
.modern-gallery{padding-block:18px 88px}
.gallery-category-nav{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 42px;padding:0;list-style:none}
.gallery-category-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 18px;border:1px solid var(--line);border-radius:999px;background:#fffaf6;color:var(--ink);font:600 .86rem/1.2 var(--sans);transition:border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease}
.gallery-category-nav a:hover,.gallery-category-nav a[aria-current="true"]{border-color:#b88a78;background:#f2e5da;color:var(--wine);text-decoration:none}
.gallery-section{scroll-margin-top:170px;padding-block:42px;border-top:1px solid var(--line)}
.gallery-section:first-of-type{border-top:0;padding-top:0}
.gallery-section-head{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:36px;align-items:end;margin-bottom:28px}
.gallery-section-head h2{margin:0;font:500 clamp(2rem,4vw,3.45rem)/1.04 var(--serif);letter-spacing:-.035em;color:var(--ink)}
.gallery-section-head h2 em{color:var(--wine);font-weight:400}
.gallery-section-head>div:last-child{justify-self:end;max-width:530px}
.gallery-section-head p{margin:0;color:var(--muted);font-size:1rem;line-height:1.75}
.gallery-section-head .text-link{margin-top:12px}
.gallery-photo{position:relative;display:block;width:100%;padding:0;border:0;background:#e9ded3;overflow:hidden;cursor:zoom-in;text-align:left}
.gallery-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.65,.3,1),filter .25s ease}
.gallery-photo:hover img{transform:scale(1.025)}
.gallery-photo:focus-visible{outline:3px solid #b36a6f;outline-offset:4px}
.gallery-photo-label{position:absolute;left:18px;bottom:18px;display:flex;align-items:center;gap:10px;max-width:calc(100% - 36px);padding:9px 12px;background:#fffaf6eb;border:1px solid #e1d2c4;backdrop-filter:blur(10px);color:var(--ink);font:600 .78rem/1.2 var(--sans)}
.gallery-photo-label i{font-style:normal;color:var(--wine);font-size:1rem}
.gallery-exterior-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,.5fr);gap:22px;align-items:stretch}
.gallery-exterior-layout .gallery-photo{min-height:520px;aspect-ratio:1.7}
.gallery-exterior-note{display:flex;flex-direction:column;justify-content:flex-end;padding:34px;background:var(--cream);border:1px solid var(--line)}
.gallery-exterior-note .eyebrow{margin-bottom:14px}
.gallery-exterior-note h3{margin:0;font:500 1.9rem/1.18 var(--serif);letter-spacing:-.025em}
.gallery-exterior-note p{margin:16px 0 0;color:var(--muted);font-size:.94rem;line-height:1.75}
.gallery-exterior-note .text-link{margin-top:22px}
.gallery-wellness-grid{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:185px;gap:14px}
.gallery-wellness-grid .gallery-photo:nth-child(1){grid-column:span 7;grid-row:span 2}
.gallery-wellness-grid .gallery-photo:nth-child(2){grid-column:span 5;grid-row:span 1}
.gallery-wellness-grid .gallery-photo:nth-child(3){grid-column:span 5;grid-row:span 1}
.gallery-wellness-grid .gallery-photo:nth-child(4){grid-column:span 5;grid-row:span 2}
.gallery-wellness-grid .gallery-photo:nth-child(5){grid-column:span 7;grid-row:span 1}
.gallery-wellness-grid .gallery-photo:nth-child(6){grid-column:span 7;grid-row:span 1}
.gallery-fitness-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:22px;align-items:stretch}
.gallery-fitness-layout .gallery-photo{min-height:480px;aspect-ratio:1.55}
.gallery-fitness-copy{display:flex;flex-direction:column;justify-content:center;padding:38px;background:#efe4d8;border:1px solid #dbc9b9}
.gallery-fitness-copy h3{margin:0;font:500 2rem/1.15 var(--serif);letter-spacing:-.025em}
.gallery-fitness-copy p{margin:16px 0 0;color:var(--muted);font-size:.96rem;line-height:1.75}
.gallery-fitness-copy .text-link{margin-top:22px}
.room-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.room-preview-card{display:flex;flex-direction:column;min-width:0;background:#fffaf6;border:1px solid var(--line);overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.room-preview-card:hover{transform:translateY(-3px);border-color:#c9ad99;box-shadow:0 16px 34px #2b1b1510}
.room-preview-media{display:block;overflow:hidden;background:#e8ddd2;aspect-ratio:1.32}
.room-preview-media img{width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.65,.3,1)}
.room-preview-card:hover .room-preview-media img{transform:scale(1.035)}
.room-preview-body{display:flex;flex-direction:column;flex:1;padding:21px 21px 20px}
.room-preview-body .eyebrow{margin-bottom:8px;font-size:.68rem}
.room-preview-body h3{margin:0;font:500 1.55rem/1.18 var(--serif);letter-spacing:-.02em}
.room-preview-body p{margin:10px 0 18px;color:var(--muted);font-size:.88rem;line-height:1.65}
.room-preview-body .text-link{margin-top:auto;align-self:flex-start}
.gallery-rooms-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:26px;padding:26px 28px;border:1px solid var(--line);background:var(--cream)}
.gallery-rooms-footer p{margin:0;color:var(--muted);font-size:.92rem;line-height:1.65}
.gallery-rooms-footer .button{flex:none}

.gallery-lightbox{width:min(1180px,calc(100vw - 36px));max-width:none;height:min(90vh,900px);max-height:none;margin:auto;padding:0;border:0;background:#171414;color:#fff;box-shadow:0 30px 90px #0008;overflow:hidden}
.gallery-lightbox::backdrop{background:#140f0ed9;backdrop-filter:blur(5px)}
.gallery-lightbox-shell{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;height:100%;min-height:0}
.gallery-lightbox-media{display:grid;place-items:center;min-height:0;padding:58px 74px 20px}
.gallery-lightbox img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.gallery-lightbox-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 22px 20px;border-top:1px solid #ffffff1e;background:#1d1818}
.gallery-lightbox-caption{font:500 .9rem/1.4 var(--sans);color:#f6eee8}
.gallery-lightbox-count{font:500 .78rem/1 var(--sans);color:#cdbdb4;white-space:nowrap}
.gallery-lightbox-close,.gallery-lightbox-step{position:absolute;z-index:2;display:grid;place-items:center;width:46px;height:46px;border:1px solid #ffffff38;border-radius:50%;background:#171414b8;color:white;font:400 1.4rem/1 var(--sans);backdrop-filter:blur(8px);cursor:pointer}
.gallery-lightbox-close{top:14px;right:14px;font-size:1.55rem}
.gallery-lightbox-step{top:50%;transform:translateY(-50%)}
.gallery-lightbox-step[data-gallery-step="-1"]{left:14px}
.gallery-lightbox-step[data-gallery-step="1"]{right:14px}
.gallery-lightbox-close:hover,.gallery-lightbox-step:hover{background:#702a30;border-color:#a45f64}
.gallery-lightbox-close:focus-visible,.gallery-lightbox-step:focus-visible{outline:3px solid #e4b9aa;outline-offset:3px}

@media(max-width:1000px){
  .modern-gallery{padding-bottom:74px}
  .gallery-section-head{grid-template-columns:1fr;gap:14px;align-items:start}.gallery-section-head>div:last-child{justify-self:start;max-width:680px}
  .gallery-exterior-layout,.gallery-fitness-layout{grid-template-columns:1fr}
  .gallery-exterior-layout .gallery-photo,.gallery-fitness-layout .gallery-photo{min-height:0;aspect-ratio:1.55}
  .gallery-exterior-note,.gallery-fitness-copy{padding:28px}
  .gallery-wellness-grid{grid-auto-rows:165px}
  .room-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .modern-gallery{padding-block:10px 58px}
  .gallery-category-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:28px}.gallery-category-nav a{min-height:44px;padding:9px 10px;font-size:.78rem}
  .gallery-section{scroll-margin-top:138px;padding-block:32px}.gallery-section-head{margin-bottom:20px}.gallery-section-head h2{font-size:2.15rem}.gallery-section-head p{font-size:.94rem;line-height:1.7}
  .gallery-exterior-layout{gap:12px}.gallery-exterior-layout .gallery-photo{aspect-ratio:1.22}.gallery-exterior-note{padding:23px}.gallery-exterior-note h3{font-size:1.62rem}
  .gallery-wellness-grid{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto;gap:10px}.gallery-wellness-grid .gallery-photo{grid-column:auto!important;grid-row:auto!important;aspect-ratio:1.1}.gallery-wellness-grid .gallery-photo:first-child,.gallery-wellness-grid .gallery-photo:nth-child(4){grid-column:1/-1!important;aspect-ratio:1.35}
  .gallery-photo-label{left:10px;bottom:10px;max-width:calc(100% - 20px);padding:7px 9px;font-size:.7rem}
  .gallery-fitness-layout{gap:12px}.gallery-fitness-layout .gallery-photo{aspect-ratio:1.28}.gallery-fitness-copy{padding:24px}.gallery-fitness-copy h3{font-size:1.7rem}
  .room-preview-grid{grid-template-columns:1fr;gap:12px}.room-preview-card{display:grid;grid-template-columns:42% 58%;min-height:145px}.room-preview-media{aspect-ratio:auto;height:100%}.room-preview-body{padding:17px 16px}.room-preview-body h3{font-size:1.35rem}.room-preview-body p{font-size:.8rem;margin:8px 0 12px;line-height:1.5}.room-preview-body .text-link{font-size:.82rem}
  .gallery-rooms-footer{flex-direction:column;align-items:stretch;padding:22px}.gallery-rooms-footer .button{width:100%;justify-content:center}
  .gallery-lightbox{width:100vw;height:100dvh;max-height:none}.gallery-lightbox-media{padding:64px 12px 12px}.gallery-lightbox-bar{padding:14px 15px calc(16px + env(safe-area-inset-bottom))}.gallery-lightbox-step{top:auto;bottom:76px;width:42px;height:42px}.gallery-lightbox-step[data-gallery-step="-1"]{left:14px}.gallery-lightbox-step[data-gallery-step="1"]{right:14px}.gallery-lightbox-close{top:12px;right:12px}.gallery-lightbox-caption{font-size:.8rem;padding-right:8px}.gallery-lightbox-count{font-size:.72rem}
}
@media(max-width:420px){
  .room-preview-card{grid-template-columns:40% 60%;min-height:136px}.room-preview-body{padding:14px 13px}.room-preview-body .eyebrow{display:none}.room-preview-body h3{font-size:1.22rem}.room-preview-body p{font-size:.76rem;margin-bottom:9px}.room-preview-body .text-link{font-size:.76rem;gap:7px}
}
@media(prefers-reduced-motion:reduce){.gallery-photo img,.room-preview-media img,.room-preview-card,.gallery-category-nav a{transition:none!important}.gallery-photo:hover img,.room-preview-card:hover .room-preview-media img{transform:none}.room-preview-card:hover{transform:none}}
