/* Measured frames: the whole image must fit the available screen, before ornament. */
:root{--header:100px;--shadow-sm:0 5px 18px -8px #1722391C;--shadow:0 16px 42px -22px #17223945;--shadow-deep:0 22px 55px -25px #17223965}
body:not(.home-page) .site-header{width:min(calc(100% - 40px),1320px);max-width:1320px;height:72px;margin:16px auto 0;left:auto;transform:none;padding:0 23px;border-radius:23px;box-shadow:0 14px 32px -18px #10183170,inset 0 1px 0 #FFFFFF20}
body.home-page .site-header,body.home-page .site-header.on-story{width:min(calc(100% - 40px),1320px);max-width:1320px;height:72px;left:50%;transform:translateX(-50%);margin:0;padding:0 23px;border-radius:23px;box-shadow:0 14px 32px -18px #10183170,inset 0 1px 0 #FFFFFF20}
.header-links>a{padding-left:13px;padding-right:13px}
.button,.tale-copy .button{background:#7A2940;border-color:#FFFFFF22;box-shadow:0 6px 15px -9px #54203970,inset 0 1px 0 #FFFFFF1C}
.button:hover,.tale-copy .button:hover{transform:translateY(-2px);box-shadow:0 10px 22px -13px #54203970;background:#692037}
.tale-stage{padding-top:35px;padding-bottom:45px;gap:6vw;align-items:center}
.tales-on .tale-stage{height:calc(100svh - 100px);top:100px}
.tale-copy h1{font-size:clamp(43px,4.5vw,66px);line-height:1.07;font-weight:500;letter-spacing:-.025em}
.tale-copy>p:not(.tale-label){font-size:18px;line-height:1.8;margin:25px 0 28px;max-width:460px}
.tale-visual,.tales-on .tale-visual{height:min(520px,calc(100svh - 205px));max-height:calc(100svh - 205px);align-self:center}
.tale-visual figure{border-radius:24px;box-shadow:0 18px 45px -24px #101A365C}
.tale-visual img{object-fit:contain}
.tale-visual figcaption{font-size:11px;line-height:1.6;padding:9px 13px}
/* The facade is a landscape frame, not an oversized portrait crop. */
.tale-ospitalita .tale-stage{grid-template-columns:.9fr 1.1fr}
.tale-ospitalita .tale-copy h1{font-size:clamp(43px,4.4vw,65px)}
.tale-ospitalita .tale-visual{height:auto;max-height:none;margin:0;display:flex;flex-direction:column;justify-content:center;gap:18px;align-self:center}
.tale-ospitalita .hospitality-window{position:relative;inset:auto;height:auto;flex:none;width:100%;aspect-ratio:16/9;border:4px solid #FFF8EE;border-radius:28px;clip-path:none;overflow:hidden;box-shadow:0 20px 45px -23px #17223965}
.tale-ospitalita .hospitality-window img{height:100%;width:100%;object-fit:contain;transform:none;background:#DED5C9}
.tale-ospitalita .welcome-glass{position:relative;left:auto;right:auto;bottom:auto;margin:0 16px;padding:20px 24px;border-radius:21px;transform:none}
.welcome-glass>span{font-size:24px;font-weight:500}.welcome-glass>p{font-size:14px;line-height:1.65;margin-top:8px}.welcome-glass>strong{font-size:13px;margin-top:13px}
/* Two moments, fully visible within one composition. */
.tale-comunita .community-main{top:0;left:0;width:100%;height:68%;clip-path:none;transform:translateY(calc(var(--q) * 12px));background:#172239}
.tale-comunita .community-main img{object-fit:contain;transform:none}
.tale-comunita .community-inset{right:0;bottom:0;width:55%;height:38%;border:4px solid #EFE5D5;border-radius:22px;transform:translateY(calc(var(--p) * -5px));background:#172239}
.tale-comunita .community-inset img{object-fit:contain;transform:none}
.tale-comunita .community-main figcaption{top:0;bottom:auto}
.tale-cappella .chapel-window{inset:0 0 18%;clip-path:none;background:#172239}
.tale-cappella .chapel-window img,.prayer-window img,.spiritual-window img{transform:none;object-fit:contain}
.history-window img{transform:none;object-fit:contain}.history-window{background:#E7DED1}
.study-sheets,.culture-sheets{display:none}
.study-spread,.culture-book{border:4px solid #FFF9EF;background:#ECE2D5}
.study-thought,.culture-line{font-size:26px;background:none;padding:0;border:0;box-shadow:none;backdrop-filter:none;line-height:1.25}
.study-spread.student-life img{object-fit:contain;transform:none}
.daily-photo img{object-fit:contain;transform:none}.daily-photo{background:#E5DCCD}
/****** Home: preserve the earlier scroll composition, with every frame bounded. ******/
.house-photo{height:100svh;min-height:0}
.scroll-ready .story-stage{height:100svh;min-height:0}
.scroll-ready .house-photo{border-radius:var(--house-radius,0);box-shadow:0 22px 52px -28px #17223965}
.scroll-ready .house-photo img{object-fit:contain;transform:none;background:#E8DFD2}
.scroll-ready .house-copy{top:28%}
.scroll-ready .house-copy h2{font-size:clamp(39px,4.2vw,61px);line-height:1.08;font-weight:500}
.scroll-ready .house-copy p{font-size:18px;line-height:1.75;max-width:420px}
.scroll-ready .community-photo{height:70%;padding:110px 6vw 0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.scroll-ready .community-photo img{width:auto;height:100%;max-width:100%;object-fit:contain;object-position:center;transform:none;border-radius:20px;box-shadow:0 22px 50px -22px #00000055}
.scroll-ready .community-copy{height:30%;padding-top:28px;padding-bottom:36px;gap:5vw;align-items:center}
.scroll-ready .community-copy h2{font-size:clamp(40px,4.5vw,64px);line-height:1.06}
.scroll-ready .community-copy p{font-size:18px;line-height:1.65}
.scroll-ready .community-copy .photo-context{font-size:12px;line-height:1.6}
.scroll-ready .study-photo{left:48%;right:6vw;top:26%;bottom:auto;height:auto;aspect-ratio:1024/629;min-height:0;max-height:calc(100svh - 230px);border:4px solid #FFF8EE;border-radius:25px;box-shadow:0 20px 45px -24px #17223965;overflow:hidden}
.scroll-ready .study-photo img{position:static;width:100%;height:100%;object-fit:contain;object-position:center;transform:none}
.scroll-ready .study-copy{top:25%;width:35%}
.scroll-ready .study-copy h2{font-size:clamp(40px,4.6vw,65px);line-height:1.07}
.scroll-ready .study-copy p{font-size:18px;line-height:1.75}
/****** Body photographs always preserve an observable, finite frame. ******/
.vocation-photo img{width:100%;height:auto;max-height:min(470px,calc(100svh - 200px));object-fit:contain;border-radius:24px}
.vocation-photo{box-shadow:0 18px 42px -25px #17223965}
.daily-passage figure{display:flex;flex-direction:column;align-items:center}
.daily-passage figure img{width:auto;max-width:100%;height:auto;max-height:min(560px,calc(100svh - 185px));object-fit:contain;border-radius:24px}
.student-life-photo{display:flex;align-items:center;justify-content:center;clip-path:none;border-radius:0;overflow:visible}
.student-life-photo img{width:auto;max-width:100%;height:auto;max-height:min(570px,calc(100svh - 185px));object-fit:contain;border:4px solid #F5EBDD;border-radius:24px;box-shadow:0 20px 45px -23px #00000055}
.place-links img{object-fit:contain;background:#E9DFD2}
.article-visual{display:flex;justify-content:center;align-items:center;background:#EAE0D2;border-radius:25px;overflow:hidden}
.article-visual img{width:auto;max-width:100%;height:auto;max-height:min(560px,calc(100svh - 180px));object-fit:contain}
.gallery-item img{max-height:min(470px,calc(100svh - 180px));object-fit:contain}
@media(max-width:1050px) and (min-width:761px){
 .tale-copy h1{font-size:46px}.tale-copy>p:not(.tale-label){font-size:17px}.tale-stage{gap:4vw}
 .welcome-glass>span{font-size:22px}.tale-ospitalita .welcome-glass{padding:18px 20px;margin:0 8px}
 .scroll-ready .house-copy h2,.scroll-ready .study-copy h2{font-size:45px}.scroll-ready .house-copy p,.scroll-ready .study-copy p{font-size:17px}
}
@media(max-height:760px) and (min-width:761px){
 .tale-stage{padding-top:26px;padding-bottom:32px}.tale-copy h1,.tale-ospitalita .tale-copy h1{font-size:48px}.tale-copy>p:not(.tale-label){font-size:17px;margin-top:20px;margin-bottom:23px}.tale-copy>p.tale-label{margin-bottom:16px;font-size:16px}
 .tale-visual,.tales-on .tale-visual{height:calc(100svh - 180px);max-height:calc(100svh - 180px)}
 .tale-ospitalita .tale-visual{height:auto;max-height:none;gap:12px}.tale-ospitalita .welcome-glass{padding:17px 21px}.welcome-glass>span{font-size:22px}.welcome-glass>strong{margin-top:10px}
 .scroll-ready .community-photo{height:68%;padding-top:104px}.scroll-ready .community-copy{height:32%;padding-top:22px;padding-bottom:28px}.scroll-ready .community-copy h2{font-size:45px}.scroll-ready .community-copy p{font-size:17px}
 .scroll-ready .house-copy{top:25%}.scroll-ready .house-copy h2,.scroll-ready .study-copy h2{font-size:43px}.scroll-ready .house-copy p,.scroll-ready .study-copy p{font-size:16px;line-height:1.65}
}
@media(max-width:760px){
 :root{--header:92px}
 body:not(.home-page) .site-header{width:calc(100% - 24px);height:64px;margin:12px auto 0;padding:0 15px;left:auto;border-radius:20px}
 body.home-page .site-header,body.home-page .site-header.on-story{width:calc(100% - 24px);height:64px;left:50%;margin:0;padding:0 15px;border-radius:20px}
 .tale-stage,.tale-ospitalita .tale-stage{padding:35px 6vw 40px;gap:30px}
 .tale-copy h1,.tale-ospitalita .tale-copy h1{font-size:clamp(36px,10vw,57px);line-height:1.07}.tale-copy>p:not(.tale-label){font-size:17px;margin-top:22px;margin-bottom:25px}
 .tale-visual,.tales-on .tale-visual{height:min(365px,calc(100svh - 170px));max-height:calc(100svh - 170px)}
 .tale-ospitalita .tale-visual{height:auto;max-height:none;margin:0;gap:15px}.tale-ospitalita .hospitality-window{border-width:3px;border-radius:23px}.tale-ospitalita .welcome-glass{margin:0 10px;padding:19px 21px;border-radius:19px}
 .welcome-glass>span{font-size:23px}.welcome-glass>p{font-size:14px}.welcome-glass>strong{font-size:13px}
 .tale-comunita .tale-visual,.tale-cappella .tale-visual{height:330px;max-height:calc(100svh - 160px)}
 .tale-comunita .community-inset{height:38%;width:55%;border-width:3px;border-radius:18px}
 .scroll-ready .house-photo{border-radius:var(--house-radius,0)}
 .scroll-ready .house-copy{top:46%;left:6vw;right:6vw}
 .scroll-ready .house-copy h2{font-size:clamp(30px,8.5vw,43px);line-height:1.08}.scroll-ready .house-copy p{font-size:16px;line-height:1.7;margin-top:20px}
 .scroll-ready .community-photo{height:55%;padding:94px 6vw 0}
 .scroll-ready .community-photo img{height:auto;width:100%;max-height:100%;object-fit:contain;border-radius:16px}
 .scroll-ready .community-copy{height:45%;display:block;padding:28px 6vw 50px}
 .scroll-ready .community-copy h2{font-size:clamp(35px,9.3vw,47px);line-height:1.07}
 .scroll-ready .community-copy>div{max-width:none;margin-top:20px}.scroll-ready .community-copy p{font-size:17px}.scroll-ready .community-copy .photo-context{font-size:12px;margin-top:14px}
 .scroll-ready .study-photo{left:6vw;right:6vw;top:108px;height:auto;aspect-ratio:1024/629;bottom:auto;border-width:3px;border-radius:20px;max-height:calc(100svh - 200px)}
 .scroll-ready .study-copy{top:52%;left:6vw;right:6vw;width:auto}
 .scroll-ready .study-copy h2{font-size:clamp(33px,9vw,45px);line-height:1.07}.scroll-ready .study-copy p{font-size:16px;line-height:1.7;margin-top:22px}
 .vocation-photo img{max-height:min(370px,calc(100svh - 160px));height:auto;object-fit:contain;border-radius:21px}
 .daily-passage figure img,.student-life-photo img,.article-visual img,.gallery-item img{max-height:min(430px,calc(100svh - 155px));height:auto;object-fit:contain}
 .student-life-photo img{border-width:3px;border-radius:20px}.study-thought,.culture-line{font-size:24px}
}
@media(max-width:380px){body:not(.home-page) .site-header,body.home-page .site-header,body.home-page .site-header.on-story{padding:0 12px}.tale-ospitalita .tale-actions{flex-direction:row}.tale-ospitalita .tale-actions .button{font-size:12px;padding:14px 16px}}
@media(prefers-reduced-motion:reduce){.tale-comunita .community-main,.tale-comunita .community-inset{transform:none!important}}
.scroll-ready .house-photo img{object-fit:cover;background:#172239}
.home-page:not(.scroll-ready) .community-photo,.home-page:not(.scroll-ready) .study-photo{height:auto;min-height:0;max-height:calc(100svh - 150px);display:flex;align-items:center;justify-content:center}
.home-page:not(.scroll-ready) .community-photo img,.home-page:not(.scroll-ready) .study-photo img{width:auto;max-width:100%;height:auto;max-height:calc(100svh - 150px);object-fit:contain}
/* Align the reading band to the same edges as the complete photograph. */
.scroll-ready .community-copy{width:min(88vw,calc((70svh - 110px) * 1.7747));margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
@media(max-height:760px) and (min-width:761px){.scroll-ready .community-copy{width:min(88vw,calc((68svh - 104px) * 1.7747))}}
@media(max-width:760px){.scroll-ready .community-copy{width:auto;margin:0;padding-left:6vw;padding-right:6vw}}
.scroll-ready .study-copy h2 br,.scroll-ready .house-copy h2 br{display:none}
@media(max-width:760px){.tale-ospitalita .tale-stage{grid-template-columns:1fr}}
