/* One continuous page, from courtyard to counter to cooking sheet. */
.integrated-page main{max-width:none;margin:0;padding:0}
.integrated-page .topbar{position:fixed;inset:0 0 auto;z-index:20;max-width:none;transform:translateY(-105%);visibility:hidden;transition:transform .28s ease-out,visibility .28s}
.integrated-page.header-visible .topbar{transform:translateY(0);visibility:visible}
.integrated-page .courtyard{width:100%;height:100svh;min-height:620px;aspect-ratio:auto}
.integrated-page .courtyard-art{object-position:center center}
.integrated-page .collection{scroll-margin-top:110px}
.integrated-page #recipe,.integrated-page #journal,.integrated-page #editor{scroll-margin-top:110px}
.scene-settings{position:absolute;left:20px;bottom:18px;z-index:3;max-width:min(600px,calc(100% - 40px));color:var(--cream);background:var(--coal)}
.scene-settings summary{cursor:pointer;padding:10px 16px;border:1px solid var(--gold);font-size:16px;min-height:44px}
.scene-settings[open]{box-shadow:0 8px 24px rgba(0,0,0,.3)}
.scene-settings .weather-settings{display:block;padding:18px 20px;border:0;max-height:65svh;overflow:auto}
.scene-settings .weather-settings h2{display:none}
.scene-settings .weather-controls{margin:16px 0;flex-wrap:wrap}
.scene-settings .location-note{margin:14px 0;line-height:1.45}
.integrated-page #motion-toggle{min-height:44px}
.integrated-page .skip{z-index:30}
/* The shelf, kitchen and reading surface span the same width as the landing. */
.integrated-page .collection,.integrated-page #recipe{max-width:none;margin-inline:0}
@media(min-width:1680px){.integrated-page #journal,.integrated-page #editor{max-width:1680px;margin-inline:auto}}
@media(min-width:901px){.integrated-page .paper{margin-inline:0}}
@media(max-width:600px){.integrated-page .courtyard{height:390px;min-height:0}.integrated-page .courtyard-art{object-position:36% center}.scene-settings{left:10px;bottom:10px;max-width:calc(100% - 20px)}.scene-settings summary{padding:8px 12px;font-size:14px}.scene-settings .weather-settings{max-height:290px;padding:14px}.integrated-page .collection,.integrated-page #recipe,.integrated-page #editor,.integrated-page #journal{scroll-margin-top:200px}}
@media(prefers-reduced-motion:reduce){.integrated-page .topbar{transition:none}}

/* Desktop fills the viewport; mobile retains the complete balcony composition. */
.integrated-page .balcony-landing{background:var(--coal);min-height:0}
.integrated-page .balcony-landing .courtyard-art{object-fit:cover;object-position:center}
@media(max-width:600px){.integrated-page .balcony-landing{height:390px;aspect-ratio:auto}.integrated-page .balcony-landing .courtyard-art{object-fit:contain}}
