/* Hostel Anton · art and music (art-music/). Loaded after page.css; only this page's chapters. */

.ch-desk,.ch-rose,.ch-peach,.ch-night,.nx{overflow:hidden}
.phero-img{object-position:50% 42%}

/* ---------- 1 · guitars: six strings draw under the words, the two guitars stand off-step ---------- */
.gtr{display:grid;grid-template-columns:5fr 3.4fr 3.4fr;gap:clamp(14px,1.6vw,28px);align-items:start;padding-top:clamp(70px,11vh,130px);padding-bottom:clamp(70px,11vh,130px)}
.gtr-txt{align-self:center}
.gtr .ph{aspect-ratio:1856/2304;max-height:78vh;width:100%}
.gtr-b{margin-top:clamp(40px,12vh,140px)}
.gtr-a img{object-position:50% 60%}
.strings{display:flex;flex-direction:column;gap:7px;margin-top:clamp(22px,3.4vh,38px);max-width:30rem}
.strings i{display:block;height:1px;background:currentColor;opacity:.42;transform-origin:0 50%;transform:scaleX(var(--s,1))}
.strings i:nth-child(n+4){height:1.5px;opacity:.5}

/* ---------- 2 · murals: down the corridor ---------- */
.walls{display:grid;grid-template-columns:5fr 3fr 4fr;grid-template-rows:auto auto;column-gap:clamp(14px,1.6vw,28px);row-gap:clamp(24px,4vh,48px);padding-top:clamp(70px,11vh,130px);padding-bottom:clamp(70px,11vh,130px)}
.walls-a1{grid-column:1;grid-row:1/3;aspect-ratio:1856/2304;align-self:start}
.walls-a1 img{transform-origin:50% 42%}
.walls-txt{grid-column:2/4;grid-row:1;align-self:end}
.walls-txt .tlink{margin-top:clamp(14px,2.4vh,26px)}
.walls-a2{grid-column:2;grid-row:2;aspect-ratio:4/5;align-self:end}
.walls-m2{grid-column:3;grid-row:2;height:100%;align-self:end}
.walls-m2 img{object-position:40% 50%}

/* ---------- 3 · antiques: three photos that open on hover ---------- */
.old{padding-top:clamp(70px,11vh,130px);padding-bottom:clamp(70px,11vh,130px)}
.old-head .lead{max-width:44ch}
.fan{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-c img{object-position:40% 50%}

/* ---------- 4 · the nights ---------- */
.night{display:grid;grid-template-columns:7fr 5fr;grid-template-rows:auto auto;column-gap:clamp(18px,2.6vw,50px);row-gap:clamp(24px,4vh,48px);padding-top:clamp(70px,11vh,130px);padding-bottom:clamp(70px,11vh,130px)}
.night-p24{grid-column:1;grid-row:1/3;aspect-ratio:16/10;align-self:start}
.night-p24 img{object-position:35% 50%}
.night-txt{grid-column:2;grid-row:1}
.night-q{margin-top:clamp(18px,3vh,34px)}
.night-q p{font:400 clamp(24px,2.4vw,44px)/1.22 var(--serif)}
.night-q figcaption{margin-top:14px;font:500 15px/1.4 var(--sans);color:rgba(255,243,228,.8)}
.night-q cite{font-style:normal}
.night-c6{grid-column:2;grid-row:2;aspect-ratio:4/3}
.night-c6 img{object-position:50% 40%}

/* ---------- 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:50% 50%}
  .gtr{grid-template-columns:1fr 1fr;gap:12px;padding-top:60px;padding-bottom:60px}
  .gtr-txt{grid-column:1/3;padding-bottom:18px}
  .gtr .ph{max-height:none}
  .gtr-b{margin-top:44px}
  .walls{grid-template-columns:1fr 1fr;grid-template-rows:none;gap:12px;padding-top:60px;padding-bottom:60px}
  .walls-txt{grid-column:1/3;grid-row:1;padding-bottom:18px}
  .walls-a1{grid-column:1/3;grid-row:2}
  .walls-a2,.walls-m2{grid-column:auto;grid-row:auto;aspect-ratio:4/5;height:auto}
  .old{padding-top:60px;padding-bottom:60px}
  .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:4/5}
  .fan .fan-b,.fan .fan-c{aspect-ratio:4/5}
  .night{grid-template-columns:1fr;grid-template-rows:none;row-gap:26px;padding-top:60px;padding-bottom:60px}
  .night-txt{grid-column:1;grid-row:1}
  .night-p24{grid-column:1;grid-row:2;aspect-ratio:4/3}
  .night-c6{grid-column:1;grid-row:3;aspect-ratio:4/5}
  .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%)}
}
