/* ===================== Interiors gallery ===================== */
.inter { padding: clamp(90px, 14vw, 180px) var(--pad) clamp(60px, 8vw, 110px); }
.inter__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.inter__tabs button {
  font: inherit; font-size: 14px; letter-spacing: .04em; cursor: pointer; color: var(--muted);
  background: transparent; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 10px 18px;
  transition: all .35s var(--ease);
}
.inter__tabs button:hover { color: var(--text); border-color: rgba(214, 173, 79, .6); }
.inter__tabs button.is-on { background: var(--gold-grad); background-size: 200% 100%; color: #14110a; border-color: transparent; font-weight: 500; }
.inter__tabs button:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

.inter__grid { columns: 4 240px; column-gap: 16px; }
.ph { position: relative; margin: 0 0 16px; break-inside: avoid; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--bg-3);
  transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s; }
.ph img, .ph video { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.1s var(--ease); }
.ph--wide img { aspect-ratio: 4 / 3; }
.ph:hover img, .ph:hover video { transform: scale(1.06); }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .78) 0%, transparent 42%); pointer-events: none; }
.ph::before { content: ""; position: absolute; inset: 10px; z-index: 2; border: 1px solid rgba(214, 173, 79, 0); border-radius: 12px; transition: border-color .5s var(--ease); pointer-events: none; }
.ph:hover::before { border-color: rgba(214, 173, 79, .55); }
.ph figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 3; display: grid; gap: 2px; }
.ph figcaption b { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.05; }
.ph figcaption span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
.ph.is-out { opacity: 0; transform: scale(.94); filter: blur(6px); pointer-events: none; }
.ph.is-hidden { display: none; }
/* upholstery-roll reveal: images unroll from the top like fabric being laid */
.ph.reveal-in { clip-path: inset(0 0 100% 0 round 18px); transition: clip-path 1.2s var(--ease), opacity .45s var(--ease), transform .45s var(--ease), filter .45s; }
.ph.reveal-in.is-rolled { clip-path: inset(0 0 0% 0 round 18px); }

/* --- compare sliders (true before/after, same angle) --- */
.cmp-wrap { margin-top: clamp(70px, 9vw, 120px); }
.cmp-wrap__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.cmp-wrap__head h3 { font-size: clamp(36px, 4.2vw, 64px); font-weight: 500; }
.cmp-wrap__head p { color: var(--muted); }
.cmp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cmp { --p: 50%; position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--bg-3); touch-action: pan-y; user-select: none; }
.cmp > img, .cmp__before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.cmp__before img { filter: saturate(.7) brightness(.95); }
.cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: var(--gold-2); box-shadow: 0 0 18px rgba(214, 173, 79, .7); pointer-events: none; }
.cmp__handle i { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: var(--gold-grad); background-size: 200% 100%; box-shadow: 0 10px 30px rgba(0, 0, 0, .55); }
.cmp__handle i::before, .cmp__handle i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.cmp__handle i::before { left: 9px; border-right: 8px solid #14110a; border-left: 0; }
.cmp__handle i::after { right: 9px; border-left: 8px solid #14110a; border-right: 0; }
.cmp__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.cmp__range:focus-visible + .cmp__handle, .cmp:focus-within .cmp__handle i { outline: 2px solid #fff; outline-offset: 3px; }
.cmp__tag { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; background: rgba(10, 10, 11, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.cmp__tag--after { left: auto; right: 14px; background: var(--gold); color: #14110a; }

/* --- lightbox --- */
.lb { position: fixed; inset: 0; z-index: 95; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 10px; padding: 24px;
  background: rgba(6, 6, 7, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .35s var(--ease); }
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb__fig { margin: 0; display: grid; justify-items: center; gap: 14px; max-height: 100%; }
.lb__media img, .lb__media video { max-width: min(92vw, 1100px); max-height: 80vh; width: auto; height: auto; border-radius: 16px; box-shadow: 0 40px 90px rgba(0, 0, 0, .7); }
.lb__cap { text-align: center; }
.lb__cap b { display: block; font-family: var(--display); font-size: 30px; font-weight: 600; }
.lb__cap span { color: var(--gold-2); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.lb__nav, .lb__close { font: inherit; color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid rgba(214, 173, 79, .4); border-radius: 50%; width: 54px; height: 54px; font-size: 30px; line-height: 1; cursor: pointer; transition: background .3s, color .3s; }
.lb__nav:hover, .lb__close:hover { background: var(--gold); color: #14110a; }
.lb__close { position: absolute; top: 20px; right: 20px; font-size: 32px; }
.lb__media.swap { animation: lbIn .45s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96) } }

@media (max-width: 900px) {
  .cmp-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .inter__grid { columns: 2; column-gap: 10px; }
  .ph { margin-bottom: 10px; border-radius: 14px; }
  .ph figcaption { left: 12px; right: 12px; bottom: 10px; }
  .ph figcaption b { font-size: 18px; }
  .ph figcaption span { font-size: 10px; }
  .inter__tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .inter__tabs button { white-space: nowrap; padding: 9px 14px; }
  .lb { grid-template-columns: 1fr; padding: 60px 12px 20px; }
  .lb__nav { position: absolute; bottom: 20px; }
  .lb__prev { left: 20px; } .lb__next { right: 20px; }
}
