/* Hostel Anton · the great room and the boat bar (great-room/). Loaded after page.css; only this page's chapters. */

.ch-hull,.ch-lawn,.ch-peach,.ch-night,.nx{overflow:hidden}

/* ---------- 1 · the counter: the hull stands tall, its planks slide away ---------- */
.hull{display:grid;grid-template-columns:repeat(12,1fr);column-gap:clamp(14px,1.6vw,28px);align-items:center;padding-top:clamp(70px,11vh,130px);padding-bottom:clamp(14px,1.6vw,28px)}
.hull-fig{grid-column:1/7;aspect-ratio:1856/2304;max-height:min(86vh,940px);width:100%}
.hull-fig img{object-position:50% 62%}
.hull-txt{grid-column:8/13}
.hull-txt .lead{color:rgba(255,243,228,.9)}
.plank{position:absolute;left:0;right:0;z-index:3;background:var(--g);pointer-events:none}
.hull-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:clamp(14px,1.6vw,28px);padding-bottom:clamp(70px,11vh,130px)}
.hull-row .ph{height:clamp(240px,42vh,500px)}
.hull-n09 img{object-position:40% 50%}
.hull-p26 img{object-position:50% 70%}

/* ---------- 2 · the pool table: one low shot, three around it ---------- */
.pool{display:grid;grid-template-columns:5fr 3.5fr 3.5fr;grid-template-rows:auto clamp(230px,36vh,420px) clamp(210px,32vh,380px);gap:clamp(14px,1.6vw,28px);padding-top:clamp(70px,11vh,130px);padding-bottom:clamp(70px,11vh,130px)}
.pool-head{grid-column:1/4;padding-bottom:clamp(10px,2vh,30px)}
.pool-head .lead{max-width:40ch}
.pool-n03{grid-column:1;grid-row:2/4}
.pool-n03 img{object-position:50% 60%}
.pool-c3{grid-column:2/4;grid-row:2}
.pool-n02{grid-column:2;grid-row:3}
.pool-n02 img{object-position:50% 62%}
.pool-n04{grid-column:3;grid-row:3}
.pool-n04 img{object-position:50% 58%}

/* ---------- 3 · the lounge: three photos that open on hover ---------- */
.lounge{display:grid;grid-template-columns:repeat(12,1fr);column-gap:clamp(14px,1.6vw,28px);align-items:end;padding-top:clamp(70px,11vh,130px);padding-bottom:clamp(70px,11vh,130px)}
.lounge-head{grid-column:1/8}
.lounge-list{grid-column:9/13;margin-top:0}
.fan{grid-column:1/13;display:flex;gap:clamp(10px,1.1vw,20px);height:clamp(300px,60vh,640px);margin-top:clamp(30px,5vh,60px)}
.fan .ph{flex:1 1 0;min-width:0;height:100%;transition:flex-grow .9s var(--ease)}
.fan .fan-a{flex-grow:2}
@media (hover:hover) and (pointer:fine) and (min-width:761px){
  .fan:hover .ph{flex-grow:1}
  .fan:hover .ph:hover{flex-grow:2.6}
}
.fan-b img{object-position:50% 55%}
.fan-c img{object-position:30% 50%}

/* ---------- 4 · three cats, the recipe ---------- */
.cats-in{display:grid;grid-template-columns:repeat(12,1fr);column-gap:clamp(14px,1.6vw,28px);align-items:end;padding-top:clamp(70px,11vh,130px)}
.cats-p21{grid-column:1/8;aspect-ratio:16/9}
.cats-txt{grid-column:9/13}
.recipe{display:grid;grid-template-columns:4fr 8fr;grid-template-rows:auto auto;column-gap:clamp(14px,1.6vw,28px);row-gap:clamp(24px,4vh,48px);padding-top:clamp(40px,7vh,90px);padding-bottom:clamp(70px,11vh,130px)}
.recipe-c4{grid-column:1;grid-row:1/3;height:100%;min-height:360px}
.recipe-c4 img{object-position:50% 50%}
.recipe-txt{grid-column:2;grid-row:1;align-self:end}
.recipe-l{list-style:none;margin:0;padding:0;font:400 clamp(26px,3.1vw,56px)/1.18 var(--serif);letter-spacing:-.008em}
.recipe-l li{padding:.12em 0}
.recipe-p22{grid-column:2;grid-row:2;aspect-ratio:16/9}

/* ---------- 5 · the rest of the house ---------- */
.nx-in{padding-top:clamp(70px,11vh,130px);padding-bottom:clamp(70px,11vh,130px)}
.nx-h{font-size:clamp(40px,4.6vw,88px)}
.nx-row{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(14px,1.6vw,28px);margin-top:clamp(28px,5vh,56px)}
.nx-card{display:flex;flex-direction:column;gap:10px}
.nx-ph{display:block;aspect-ratio:4/3;overflow:hidden}
.nx-ph img{width:100%;height:100%;object-fit:cover;transition:scale 1.4s var(--ease)}
.nx-card strong{margin-top:8px;font:400 clamp(26px,2.2vw,40px)/1.1 var(--serif)}
.nx-line{font-size:clamp(15px,1.1vw,18px);line-height:1.45;color:rgba(255,243,228,.86);max-width:34ch}
.nx-go{display:inline-flex;align-items:center;gap:10px;min-height:44px;font:500 16px/1 var(--sans)}
.nx-go svg{transition:transform .4s var(--ease)}
@media (hover:hover){.nx-card:hover .nx-ph img{scale:1.04}.nx-card:hover .nx-go svg{transform:translateX(5px)}}

/* ---------- phone: one column, photos in pairs ---------- */
@media (max-width:760px),(max-aspect-ratio:3/4){
  .phero-img{object-position:34% 50%}
  .hull{grid-template-columns:1fr;row-gap:30px;padding-top:60px;padding-bottom:12px}
  .hull-fig,.hull-txt{grid-column:1}
  .hull-fig{max-height:none}
  .hull-row{grid-template-columns:1fr 1fr;gap:12px;padding-bottom:60px}
  .hull-row .ph{height:auto;aspect-ratio:4/5}
  .hull-p26{grid-column:1/3;aspect-ratio:4/5}
  .pool{grid-template-columns:1fr 1fr;grid-template-rows:none;gap:12px;padding-top:60px;padding-bottom:60px}
  .pool-head{grid-column:1/3;padding-bottom:14px}
  .pool-n03{grid-column:1/3;grid-row:auto;aspect-ratio:4/5}
  .pool-c3{grid-column:1/3;grid-row:auto;aspect-ratio:3/2}
  .pool-n02,.pool-n04{grid-column:auto;grid-row:auto;aspect-ratio:4/5}
  .lounge{grid-template-columns:1fr;padding-top:60px;padding-bottom:60px}
  .lounge-head,.lounge-list,.fan{grid-column:1}
  .lounge-list{margin-top:22px}
  .fan{display:grid;grid-template-columns:1fr 1fr;gap:12px;height:auto;margin-top:28px}
  .fan .ph{height:auto}
  .fan .fan-a{grid-column:1/3;aspect-ratio:16/10}
  .fan .fan-b,.fan .fan-c{aspect-ratio:4/5}
  .cats-in{grid-template-columns:1fr;row-gap:26px;padding-top:60px}
  .cats-p21,.cats-txt{grid-column:1}
  .cats-p21{aspect-ratio:4/5}
  .cats-p21 img{object-position:50% 60%}
  .recipe{grid-template-columns:1fr;row-gap:26px;padding-top:40px;padding-bottom:60px}
  .recipe-c4,.recipe-txt,.recipe-p22{grid-column:1;grid-row:auto}
  .recipe-c4{height:auto;min-height:0;aspect-ratio:1800/2200}
  .recipe-l{font-size:8.4vw}
  .nx-in{padding-top:60px;padding-bottom:60px}
  .nx-h{font-size:13vw}
  .nx-row{grid-template-columns:1fr;gap:34px}
  .nx-ph{aspect-ratio:16/10}
}

/* page hero: this photo is busy and bright where the words sit, so the shade is deeper here than the frame's default */
.phero-scrim{background:
  linear-gradient(0deg,rgba(12,9,16,.78) 0%,rgba(12,9,16,.5) 34%,rgba(12,9,16,0) 62%),
  radial-gradient(80% 90% at 0% 100%,rgba(12,9,16,.62) 0%,rgba(12,9,16,0) 70%),
  linear-gradient(rgba(28,20,38,.62),rgba(28,20,38,0) 26%)}
@media (max-width:760px),(max-aspect-ratio:3/4){
  .phero-scrim{background:linear-gradient(0deg,rgba(12,9,16,.86) 0%,rgba(12,9,16,.66) 44%,rgba(12,9,16,.1) 72%,rgba(28,20,38,.5) 100%)}
}
