.property-scene { position: relative; }
/* Section links skip directly past the tour instead of animating every frame. */
html:has(.property-scene) { scroll-behavior: auto; }
.property-jump-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 16px 0;
}
.property-jump-links a {
    border: 1px solid var(--line, #dedfd5);
    border-radius: 24px;
    padding: 8px 16px;
    font-size: 12px;
    background: var(--paper, #fffefa);
}
.property-jump-links a:hover { background: var(--sage, #dce5d8); }
.walkthrough-skip { text-decoration: underline; text-underline-offset: 3px; }
#stay-details, #stay-photos, #stay-availability, #stay-booking { scroll-margin-top: 24px; }
.property-scene > .flythrough-sticky {
    position: sticky;
    top: 0;
    display: flow-root;
    background: var(--cream, #f7f5ee);
}
.flythrough {
    position: relative;
    width: min(960px, calc(100% - 48px), calc(min(52svh, var(--tour-available-height, 52svh)) * 1.77778 + 18px));
    min-width: min(300px, calc(100% - 32px));
    margin: 24px auto 24px;
}
.flythrough-frame {
    padding: 8px;
    border: 1px solid #dedfd5;
    border-radius: 18px;
    background: #fffefa;
    box-shadow: 0 12px 36px #233c3510;
}
.flythrough-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: min(52svh, var(--tour-available-height, 52svh));
    overflow: hidden;
    border-radius: 11px;
    background: #233c35;
}
.flythrough-poster, .flythrough canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
}
.flythrough canvas { opacity: 0; }
.flythrough-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 8px 2px;
    color: #6f7770;
    font-size: 12px;
}
.motion-toggle {
    flex-shrink: 0;
    border: 1px solid #dedfd5;
    border-radius: 24px;
    background: #f7f5ee;
    color: #233c35;
    padding: 10px 16px;
    font: inherit;
    cursor: pointer;
}
.property-hero-heading { max-width: 960px; margin: 32px auto 0; padding: 0 24px; text-align: center; }
.property-hero-heading h1 { font-size: clamp(32px, 5vw, 60px); margin-bottom: 18px; overflow-wrap: anywhere; }
.property-hero-heading > span:last-child { font-size: 10px; letter-spacing: 2px; }
@media (max-width: 600px) {
    .flythrough { width: min(calc(100% - 32px), calc(min(52svh, var(--tour-available-height, 52svh)) * 1.77778 + 14px)); margin-top: 20px; }
    .flythrough-frame { padding: 6px; border-radius: 14px; }
    .flythrough-toolbar { font-size: 11px; gap: 8px; padding-inline: 4px; }
    .motion-toggle { padding: 10px 12px; }
}
@media (max-height: 600px) {
    .property-jump-links { margin-top: 8px; }
    .property-jump-links a { padding-block: 4px; }
    .property-scene .site-header { height: 64px; }
    .property-scene .property-hero-heading { margin-top: 8px; }
    .property-scene .property-hero-heading h1 { font-size: 28px; margin-bottom: 8px; }
    .property-scene .property-hero-heading .eyebrow { margin-bottom: 8px; }
    .property-scene .flythrough { margin-block: 12px; }
}
