/* Hostel Anton · rooftop/ · the roof, then the garden. Only this page reads this file. */

.rt .ch{overflow:clip}
.rt em{font-style:italic}

/* the page hero: the roof photo is busy behind the words, so this page's scrim is a little deeper */
body[data-page=rooftop] .phero-scrim{background:
  linear-gradient(0deg,rgba(9,10,12,.55) 0%,rgba(9,10,12,0) 46%),
  radial-gradient(100% 86% at 0% 100%,rgba(9,10,12,.82) 0%,rgba(9,10,12,.58) 42%,rgba(9,10,12,0) 78%),
  linear-gradient(rgba(28,20,38,.62),rgba(28,20,38,0) 26%)}

/* 1 · the view opens: a window on the bay widens to the full page, once */
.rt-view-head{display:grid;grid-template-columns:7fr 5fr;gap:clamp(18px,3vw,60px);align-items:end;padding-top:clamp(80px,13vh,150px);padding-bottom:clamp(36px,6vh,70px)}
.rt-view .h-lg{max-width:12ch}
.rt-view .lead{max-width:30ch}
.rt-window{height:clamp(380px,78vh,860px)}
.rt-window img{object-position:50% 58%}

/* 2 · what the roof is for */
.rt-do-in{display:grid;grid-template-columns:7fr 5fr;gap:clamp(24px,4vw,80px);align-items:center;padding-top:clamp(80px,13vh,150px);padding-bottom:clamp(80px,13vh,150px)}
.rt-verbs{margin-top:clamp(22px,3.4vh,40px)}
.rt-verbs li{font:400 clamp(30px,3.5vw,64px)/1.14 var(--serif);letter-spacing:-.008em;transition:transform .5s var(--ease),color .4s}
@media (hover:hover){.rt-verbs li:hover{transform:translateX(12px);color:var(--peach)}}
.rt-note{margin-top:clamp(22px,3.4vh,40px);max-width:38ch;font-size:clamp(15px,1.15vw,19px);line-height:1.45}
.rt-do-ph{position:relative;padding-bottom:22%}
.rt-do-a{width:80%;margin-left:auto;aspect-ratio:4/5}
.rt-do-b{position:absolute;left:0;bottom:0;width:50%;aspect-ratio:4/5;box-shadow:0 18px 50px rgba(28,20,38,.35)}

/* 3 · the garden: the same path by day and at night */
.rt-garden .lead{max-width:32ch}
.rt-dn{display:flex;gap:8px;margin:clamp(22px,3.4vh,36px) 0 clamp(10px,2vh,20px)}
.rt-dn-b{min-height:48px;padding:0 22px;border:1px solid rgba(255,243,228,.6);border-radius:999px;font:500 15px/1 var(--sans);transition:background-color .4s var(--ease),color .4s var(--ease)}
.rt-dn-b[aria-pressed=true]{background:var(--cream);color:var(--lawn);border-color:var(--cream)}
@media (hover:hover){.rt-dn-b[aria-pressed=false]:hover{background:rgba(255,243,228,.12)}}
.rt-dn-ph{aspect-ratio:1/1}
.rt-dn-ph .ph-c{position:relative}
.rt-dn-night{position:absolute;inset:0;clip-path:inset(0 0 0 100%);transition:clip-path 1.1s var(--inout),scale 1.4s var(--ease)}
.rt-dn-ph.is-night .rt-dn-night{clip-path:inset(0 0 0 0)}
.rt-dn-day{object-position:62% 50%}

/* 4 · the covered terrace: three photos, the one under the pointer opens wider */
.rt-terrace-head{padding-top:clamp(80px,13vh,150px);padding-bottom:clamp(30px,5vh,60px);display:grid;grid-template-columns:7fr 5fr;column-gap:clamp(18px,3vw,60px);align-items:end}
.rt-terrace-head .eyebrow{grid-column:1/-1}
.rt-terrace-head .lead{max-width:32ch}
.rt-terrace{padding-bottom:clamp(80px,13vh,150px)}
.rt-fan{display:flex;gap:clamp(10px,1vw,16px);height:clamp(340px,62vh,640px)}
.rt-fan .ph{flex:1 1 0;min-width:0;transition:flex-grow .9s var(--ease)}
.rt-fan .rt-fan-a{flex-grow:1.7}
@media (hover:hover) and (pointer:fine) and (min-width:761px){
  .rt-fan:hover .ph{flex-grow:.8}
  .rt-fan .ph:hover{flex-grow:2.1}
}

/* 5 · after dark */
.rt-dark-in{display:grid;grid-template-columns:5fr 6fr;gap:clamp(28px,5vw,100px);align-items:center;padding-top:clamp(80px,13vh,150px);padding-bottom:clamp(80px,13vh,150px)}
.rt-dark-ph{position:relative;padding-bottom:26%}
.rt-dark-a{width:76%;aspect-ratio:4/5}
.rt-dark-b{position:absolute;right:0;bottom:0;width:46%;aspect-ratio:4/5;box-shadow:0 18px 50px rgba(0,0,0,.45)}
.rt-dark .lead{max-width:30ch}
.rt-dark .tlink{margin-top:clamp(14px,2.4vh,26px)}

/* 6 · the sign, and where to next */
.rt-next-in{display:grid;grid-template-columns:7fr 5fr;gap:clamp(28px,4vw,80px);align-items:center;padding-top:clamp(80px,13vh,150px);padding-bottom:clamp(80px,13vh,150px)}
.rt-sign{aspect-ratio:16/10}
.rt-next-p{margin-top:clamp(14px,2.2vh,24px);max-width:36ch;font-size:clamp(15px,1.15vw,19px);line-height:1.45}
.rt-go li{padding:0}
.rt-go a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:62px;font:400 clamp(24px,2.2vw,38px)/1.1 var(--serif)}
.rt-go a svg{flex:none;width:20px;height:20px;transition:transform .45s var(--ease)}
@media (hover:hover){.rt-go a:hover svg{transform:translateX(8px)}}

/* phone: a plan, read top to bottom */
@media (max-width:760px),(max-aspect-ratio:3/4){
  .rt-view-head,.rt-do-in,.rt-dark-in,.rt-next-in,.rt-terrace-head{grid-template-columns:1fr}
  .rt-view-head{padding-top:64px;padding-bottom:30px;gap:6px}
  .rt-window{height:auto;aspect-ratio:4/5}
  .rt-window img{object-position:56% 50%}
  .rt-do-in,.rt-dark-in,.rt-next-in{padding-top:64px;padding-bottom:64px;gap:36px}
  .rt-verbs li{font-size:9.6vw}
  .rt-do-ph{padding-bottom:30%}
  .rt-do-a{width:74%}
  .rt-do-b{width:50%}
  .rt-dn-ph{aspect-ratio:4/5}
  .rt-dn-b{flex:1}
  .rt-terrace-head{padding-top:64px;padding-bottom:26px}
  .rt-terrace{padding-bottom:64px}
  .rt-fan{display:grid;grid-template-columns:1fr 1fr;height:auto;gap:8px}
  .rt-fan .rt-fan-a{grid-column:1/-1;aspect-ratio:16/10}
  .rt-fan .rt-fan-b,.rt-fan .rt-fan-c{aspect-ratio:1/1}
  .rt-dark-txt{order:-1}
  .rt-dark-a{width:72%}
  .rt-sign{aspect-ratio:4/3}
  .rt-sign img{object-position:42% 50%}
  .rt-go a{font-size:26px;min-height:58px}
}
@media (prefers-reduced-motion:reduce){.rt-verbs li:hover{transform:none}}
body[data-page=rooftop] .phero-img{object-position:50% 44%}
@media (max-width:760px),(max-aspect-ratio:3/4){body[data-page=rooftop] .phero-img{object-position:40% 50%}}
