/* Compact fixed header, stable photo motion and shared content rhythm. */
.ph-home{--header-height:84px;--hero-gap:18px}
.ph-home .ph-header__inner{
 height:var(--header-height);align-items:center;padding-block:0;
}
.ph-home .ph-header .ph-nav{margin:0;align-self:center;justify-self:center}
.ph-home .ph-header .ph-wordmark img{width:206px}
.ph-home .ph-header__phone,.ph-header__end{align-self:center}
.ph-home:not(.ph-inner) .ph-welcome{padding-top:var(--hero-gap)}
@media(max-width:1000px){
 .ph-home{--header-height:72px;--hero-gap:14px}
 .ph-home .ph-header .ph-wordmark img{max-width:calc(100vw - 2 * var(--gutter) - 56px)}
}
@media(max-width:360px){.ph-home{--header-height:67px}}

/* An inset with only one vertical anchor gives the popup its natural height. */
.ph-home :is(.ph-book,.forest-booking),.ph-home [data-booking-form]{
 overflow:visible;
}
.ph-home [data-booking-form] .booking-guests{position:relative}
.ph-home [data-booking-form] .booking-guests:has(>.guest-panel:not([hidden])){z-index:16}
.ph-home [data-booking-form] .guest-panel:not([hidden]){
 position:absolute;inset:calc(100% + 8px) 0 auto auto;
 width:max(100%,265px);min-width:0;height:auto;max-height:min(64svh,440px);
 overflow:auto;overscroll-behavior:contain;z-index:18;
 padding:18px;background:var(--paper);color:var(--ink);
 border:1px solid #dfd4bf;border-radius:16px;box-shadow:0 12px 32px #44321d2d;
}
.ph-home .forest-booking-form .booking-field .guest-panel label{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(70px,max-content);
 align-items:center;gap:10px;color:var(--ink);font-size:14px;line-height:1.4;margin:0 0 10px;
}
.ph-home [data-booking-form] .guest-panel::after{display:none}
.ph-home [data-booking-form] .guest-panel select{
 font-family:var(--body);min-height:42px;color:var(--ink);max-width:100%;background:#fffdf8;
}
.ph-home [data-booking-form] .guest-panel .guest-done{
 width:100%;min-height:42px;margin-top:8px;background:var(--accent);color:#fff;
}
@media(max-width:760px){
 .ph-home [data-booking-form] .guest-panel:not([hidden]){
  position:static;inset:auto;width:100%;max-width:none;max-height:none;overflow:visible;margin-top:8px;
 }
}
.ph-home .lightbox[aria-busy="true"] img{visibility:hidden}
.ph-home .ph-program .ph-photo img{transform:none!important;transition:none!important}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 .ph-home .ph-card:has(>.ph-card__photo):hover,.ph-inner main .destination-card:hover{
  translate:none;transform:none;
 }
 .ph-home :is(.ph-card__photo,.ph-slide,.destination-media) :is(.ph-photo,.photo-picture){
  display:block;position:relative;overflow:hidden;
 }
 .ph-home :is(.ph-card__photo,.ph-slide,.destination-media) :is(.ph-photo,.photo-picture) img{
  position:absolute;inset:-4%;width:108%;height:108%;max-width:none;
  transform:scale(.925926);transform-origin:center;object-fit:cover;
  backface-visibility:hidden;transition:transform .52s var(--ph-ease);
 }
 .ph-home :is(.ph-card:hover .ph-card__photo,.ph-slide:hover,.destination-card:hover .destination-media) :is(.ph-photo,.photo-picture) img{
  transform:scale(1);
 }
 .ph-inner main .forest-rooms .room-card:hover{
  translate:none;transform:none;
 }
 .ph-inner main .forest-rooms .room-card>.photo-picture{
  display:block;position:relative;overflow:hidden;height:245px;flex:none;
 }
 .ph-inner main .forest-rooms .room-card>.photo-picture img{
  position:absolute;inset:-4%;width:108%;height:108%;max-width:none;
  transform:scale(.925926);backface-visibility:hidden;
 }
 .ph-inner main .forest-rooms .room-card:hover>.photo-picture img{transform:scale(1)}
}

/* Keep the same photographic cover and play button for the locally served files. */
.ph-home .sb-video-slot{position:relative;isolation:isolate;overflow:hidden;background:#1e221d}
.ph-home .sb-video-slot video,.ph-home .sb-video-cover{
 position:absolute;inset:0;width:100%;height:100%;border:0;
}
.ph-home .sb-video-slot video{object-fit:contain;display:block}
.ph-home .sb-video-cover{
 padding:0;cursor:pointer;background:transparent;color:var(--accent);
}
.ph-home .sb-video-cover .ph-photo{width:100%;height:100%}
.ph-home .sb-video-cover .ph-photo img{width:100%;height:100%;object-fit:cover}
.ph-home .sb-video-cover .ph-play-badge{
 position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);
 display:grid;place-items:center;width:58px;height:58px;border-radius:50%;
 background:var(--paper);color:var(--accent);box-shadow:0 4px 18px #0003;
}
.ph-home .sb-video-cover .ph-play-badge svg{width:26px;height:26px}
.ph-home .sb-video-slot.has-frame .sb-video-cover .ph-photo{visibility:hidden}
.ph-home .sb-video-slot.is-playing .sb-video-cover .ph-play-badge{opacity:0}
.ph-home .sb-video-slot.is-playing .sb-video-cover:focus-visible .ph-play-badge{opacity:1}

/* Section headings have consistent separation from the cards that follow them. */
.ph-inner main .section>.container>h2{margin-bottom:clamp(16px,2vw,25px)}
.ph-inner main .section>.container>h2:has(+ :is(p,.lead,.section-intro)){margin-bottom:10px}
.ph-inner main .section>.container>h2+ :is(p,.lead,.section-intro){margin:0 0 clamp(20px,2.3vw,32px)}
.ph-inner main .section :is(.section-heading,.section-heading-row,.section-head){margin-bottom:clamp(16px,2vw,24px)}
.ph-inner main .destination-section .destination-grid{margin-top:clamp(22px,2.5vw,33px)}
.ph-inner main .destination-section .destination-grid>article{min-width:0}
.ph-inner main .section :is(.gallery,.faq-list,.program-grid,.room-grid,.promotion-grid){scroll-margin-top:calc(var(--header-height) + 16px)}
.ph-inner main .faq-list{display:grid;gap:14px}
.ph-inner main .faq-list details{padding:0;overflow:hidden}
.ph-inner main .faq-list summary{
 padding:16px 21px;margin:0;border-radius:14px;background:#8a6b48;color:#fff;
}
.ph-inner main .faq-list details[open] summary{border-radius:14px 14px 0 0}
.ph-inner main .faq-list summary:focus-visible{outline-offset:-3px}
.ph-inner main .faq-list .details-copy{padding:clamp(17px,2.6vw,32px);max-width:none}
.ph-inner main .faq-list details>:is(p,.faq-answer){padding:18px 21px}
.ph-inner main .faq-list .details-copy>p{max-width:72ch;line-height:1.55}
.ph-inner main .faq-list .details-copy>ul{padding-left:1.25em}
.ph-inner .sb-illustrated .details-copy{display:flex;flex-direction:column;gap:16px}
.ph-inner .sb-context-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:9px}
.ph-inner .sb-context-photos figure{
 margin:0;border:1px solid #e1d9cb;overflow:hidden;border-radius:18px;
 background:#fffdf9;min-width:0;
}
.ph-inner .sb-context-photos .photo-picture{display:block;aspect-ratio:16/10;overflow:hidden}
.ph-inner .sb-context-photos img{display:block;width:100%;height:100%;object-fit:cover}
.ph-inner .sb-context-photos figcaption{
 padding:12px 14px;color:var(--ink);font-weight:600;line-height:1.35;
}
@media(max-width:760px){
 .ph-inner main .faq-list{gap:12px}
 .ph-inner main .faq-list summary{padding:14px 16px}
 .ph-inner main .faq-list details>:is(p,.faq-answer){padding:14px 16px}
 .ph-inner .sb-context-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .ph-inner .sb-context-photos figcaption{font-size:14px;padding:9px 10px}
 .ph-inner .sb-context-photos figure:last-child:nth-child(odd){grid-column:1/-1}
}
