/* ============================================================
   BUNKROS PHOTOS (2026-09-27) — rooms + sections + lightbox
   ============================================================ */
.photos-page { background: var(--bg-base); }
.ph { --ph-a: #ff005a; --ph-b: #9d00ff; }
.ph-room--gay-iconography { --ph-a: #ff005a; --ph-b: #ffb400; }
.ph-room--berlin { --ph-a: #7a7a8c; --ph-b: #00eeff; }
.ph-room--amsterdam { --ph-a: #ff6a00; --ph-b: #ff005a; }
.ph-room--satire { --ph-a: #c6ff00; --ph-b: #00c8d4; }
.ph-room--other { --ph-a: #9d00ff; --ph-b: #00eeff; }

/* ---------- Scene 1 ---------- */
.ph-hero {
    min-height: 100svh; box-sizing: border-box;
    padding: calc(var(--sh-top-h) + clamp(28px, 6vh, 70px)) var(--gutter) clamp(36px, 7vh, 80px);
    display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 56px);
    width: min(1400px, 100%); margin: 0 auto;
    position: relative;
}
.ph-hero::before {
    content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(60% 50% at 15% 10%, rgba(255,0,90,.16), transparent 70%),
        radial-gradient(50% 50% at 90% 80%, rgba(0,238,255,.1), transparent 70%);
}
.ph-title { font: 900 var(--fs-display)/.95 var(--font-heading); text-transform: uppercase; letter-spacing: -.02em; margin: 16px 0 16px; }
.ph-title em { font-style: normal; background: var(--sh-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-title span { color: var(--sh-accent); }
.ph-lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); line-height: 1.6; color: var(--text-secondary); max-width: 52ch; margin: 0; }

.ph-rooms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.ph-room {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
    aspect-ratio: 3 / 4; padding: clamp(14px, 1.6vw, 22px); border-radius: 22px;
    color: #fff !important; text-decoration: none;
    background: #101016; border: 1px solid rgba(255,255,255,.08);
    transition: transform .5s var(--sh-spring), box-shadow .4s, border-color .3s;
    animation: phIn .8s var(--sh-ease) both; animation-delay: calc(var(--i) * 70ms);
}
@keyframes phIn { from { opacity: 0; transform: translateY(24px); } }
.ph-room::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(120% 80% at 100% 0%, var(--ph-a), transparent 60%),
        radial-gradient(100% 70% at 0% 100%, var(--ph-b), transparent 65%);
    opacity: .55; transition: opacity .4s, transform .8s var(--sh-ease);
}
.ph-room::after {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: .25;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 4px);
}
.ph-room:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.25); box-shadow: 0 30px 60px -30px var(--ph-a); }
.ph-room:hover::before { opacity: .85; transform: scale(1.08); }
.ph-room:active { transform: scale(.97); }
.ph-room > i { position: absolute; top: clamp(14px, 1.6vw, 22px); right: clamp(14px, 1.6vw, 22px); font-size: clamp(1.4rem, 1rem + 1.2vw, 2.2rem); opacity: .9; }
.ph-room-no { position: absolute; top: clamp(14px, 1.6vw, 22px); left: clamp(14px, 1.6vw, 22px); font: 800 .8rem/1 var(--font-accent); letter-spacing: .14em; opacity: .8; }
.ph-room-name { overflow-wrap: anywhere; font: 800 clamp(1rem, .8rem + .7vw, 1.45rem)/1.05 var(--font-heading); text-transform: uppercase; letter-spacing: .01em; }
.ph-room-count { font: 700 .72rem/1 var(--font-accent); letter-spacing: .18em; text-transform: uppercase; opacity: .8; }

/* ---------- Room sections ---------- */
.ph-section { width: min(1400px, 100%); margin: 0 auto; box-sizing: border-box; padding: clamp(48px, 9vh, 110px) var(--gutter) clamp(24px, 5vh, 60px); }
.ph-section-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(14px, 2vw, 28px); align-items: start; margin-bottom: clamp(20px, 3vw, 36px); }
.ph-section-no { font: 900 clamp(2.4rem, 1.6rem + 3vw, 4.6rem)/.8 var(--font-heading); background: linear-gradient(135deg, var(--ph-a), var(--ph-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-section-title { font: 900 var(--fs-h2)/1 var(--font-heading); text-transform: uppercase; margin: 0 0 8px; }
.ph-section-desc { margin: 0; color: var(--text-secondary); line-height: 1.6; max-width: 60ch; font-size: var(--fs-body); }

.ph-grid { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 16px; }
.ph-grid li { break-inside: avoid; margin-bottom: 16px; }
.ph-shot { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: #111; }
.ph-shot img { display: block; width: 100%; height: auto; transition: transform .8s var(--sh-ease); }
.ph-shot:hover img { transform: scale(1.04); }
.ph-shot-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; text-align: left; font: 700 .9rem/1.2 var(--font-heading); color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); opacity: 0; transition: opacity .3s; }
.ph-shot:hover .ph-shot-cap, .ph-shot:focus-visible .ph-shot-cap { opacity: 1; }
@media (hover: none) { .ph-shot-cap { opacity: 1; } }

/* coming soon frame */
.ph-soon { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: center; max-width: 980px; }
.ph-soon-frame {
    position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden;
    display: grid; place-items: center; font-size: clamp(2.4rem, 1.6rem + 3vw, 4.2rem); color: rgba(255,255,255,.9);
    background:
        radial-gradient(80% 70% at 80% 10%, var(--ph-a), transparent 60%),
        radial-gradient(70% 60% at 10% 100%, var(--ph-b), transparent 65%), #0d0d13;
    border: 1px solid rgba(255,255,255,.1);
}
.ph-soon-frame::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, transparent 2px 5px); mix-blend-mode: multiply; animation: phScan 8s linear infinite; }
@keyframes phScan { to { background-position: 0 200px; } }
.ph-soon-frame i { position: relative; z-index: 1; filter: drop-shadow(0 8px 24px rgba(0,0,0,.5)); animation: phBreathe 3.6s ease-in-out infinite; }
@keyframes phBreathe { 50% { transform: scale(1.08); opacity: .8; } }
.ph-soon-rec { position: absolute; z-index: 1; top: 16px; left: 18px; display: inline-flex; align-items: center; gap: 8px; font: 700 .72rem/1 var(--font-accent); letter-spacing: .2em; color: #fff; }
.ph-soon-rec b { width: 9px; height: 9px; border-radius: 50%; background: #ff2d55; box-shadow: 0 0 10px #ff2d55; animation: phBlink 1.2s steps(2) infinite; }
@keyframes phBlink { 50% { opacity: .2; } }
.ph-soon-corner { position: absolute; z-index: 1; width: 22px; height: 22px; border: 2px solid rgba(255,255,255,.7); }
.ph-soon-corner--tl { top: 14px; right: auto; left: auto; display: none; }
.ph-soon-corner--tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.ph-soon-corner--bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.ph-soon-corner--br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.ph-soon-copy { display: flex; flex-direction: column; gap: 10px; }
.ph-soon-copy strong { font: 900 clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem)/1 var(--font-heading); text-transform: uppercase; background: linear-gradient(135deg, var(--ph-a), var(--ph-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-soon-copy span { color: var(--text-secondary); line-height: 1.6; font-size: var(--fs-body); }

/* ---------- Lightbox ---------- */
.ph-box { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px); background: rgba(5,5,9,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ph-box[hidden] { display: none; }
.ph-box-close { position: absolute; top: calc(14px + var(--sh-safe-t)); right: 14px; z-index: 2; background: rgba(20,20,28,.8); color: #fff; }
.ph-box-fig { margin: 0; width: min(1200px, 100%); max-height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: center; }
.ph-box-img { position: relative; border-radius: 16px; overflow: hidden; }
.ph-box-img img { display: block; width: 100%; max-height: 82vh; object-fit: contain; background: #000; }
.ph-box-tint { position: absolute; inset: 0; mix-blend-mode: color; pointer-events: none; }
.ph-box figcaption { color: #f0f0f8; display: flex; flex-direction: column; gap: 14px; }
.ph-box h2 { font: 800 1.5rem/1.1 var(--font-heading); margin: 0; }
.ph-box p { margin: 0; color: #b0b0c0; line-height: 1.6; }
.ph-box-slider { display: grid; gap: 6px; font: 700 .72rem/1 var(--font-accent); letter-spacing: .18em; text-transform: uppercase; color: #ff5c8a; }
.ph-box-slider input { width: 100%; accent-color: #ff005a; min-height: 32px; }
.ph-box-actions { display: flex; gap: 10px; }

/* ---------- Breakpoints ---------- */
@media (min-width: 768px) and (max-width: 1199px) {
    .ph-hero { padding: 56px calc(var(--gutter) + 56px) 56px var(--gutter); }
    .ph-rooms { grid-template-columns: repeat(6, 1fr); }
    .ph-room { grid-column: span 2; aspect-ratio: 4 / 5; }
    .ph-room:nth-child(4), .ph-room:nth-child(5) { grid-column: span 3; aspect-ratio: 16 / 10; }
    .ph-section { padding-right: calc(var(--gutter) + 56px); }
    .ph-box-fig { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
    .ph-rooms { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .ph-room, .ph-room:nth-child(4), .ph-room:nth-child(5) { grid-column: auto; aspect-ratio: 3 / 4.2; }
}
@media (max-width: 767px) {
    .ph-hero { min-height: auto; padding: calc(var(--sh-top-h) + 24px) 16px 30px; justify-content: flex-start; }
    .ph-rooms { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ph-room { aspect-ratio: 1 / 1; border-radius: 18px; }
    .ph-room:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
    .ph-section { padding: 44px 16px 20px; }
    .ph-section-head { grid-template-columns: 1fr; gap: 6px; }
    .ph-soon { grid-template-columns: 1fr; }
    .ph-grid { columns: 2 140px; column-gap: 10px; }
    .ph-grid li { margin-bottom: 10px; }
    .ph-box-fig { grid-template-columns: 1fr; gap: 14px; }
    .ph-box-img img { max-height: 60vh; }
}
@media (prefers-reduced-motion: reduce) { .ph-room { animation: none; } }
