/* Photoshoots Three-Piece Center Slot & 4 Collage Experiments */

.professions-collage-slot {
  flex: 33.33333333%;
  max-width: 33.33333333%;
  height: 35rem;
  position: relative;
  overflow: hidden;
  background: #1c1c1c;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Override the descendant rule `.professions-images img:not(.no-download-overlay)` in home.css */
.professions-collage-slot img:not(.no-download-overlay) {
  flex: none !important;
  max-width: none !important;
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
}

.collage-variant {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.collage-variant.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   OPTION 1: Diagonal Ribbon Bands (4 slanted photo strips, gapless)
   ========================================================= */
.collage-bands {
  background: #242424;
}

.collage-bands .band-slice {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #242424;
}

.collage-bands .band-slice img:not(.no-download-overlay) {
  position: absolute;
  top: 0;
  height: 100%;
  object-fit: cover;
}

.collage-bands .band-1 {
  clip-path: polygon(0 0, 31% 0, 12% 100%, 0 100%);
  z-index: 1;
}
.collage-bands .band-1 img:not(.no-download-overlay) {
  left: 0;
  width: 31%;
  transform: scale(1.16) translateY(-7%);
  transform-origin: center center;
}

.collage-bands .band-2 {
  clip-path: polygon(30.5% 0, 54% 0, 34% 100%, 11.5% 100%);
  z-index: 2;
}
.collage-bands .band-2 img:not(.no-download-overlay) {
  left: 12%;
  width: 42%;
}

.collage-bands .band-3 {
  clip-path: polygon(53.5% 0, 84% 0, 62% 100%, 33.5% 100%);
  z-index: 3;
}
.collage-bands .band-3 img:not(.no-download-overlay) {
  left: 34%;
  width: 50%;
}

.collage-bands .band-4 {
  clip-path: polygon(83.5% 0, 100% 0, 100% 100%, 61.5% 100%);
  z-index: 4;
}
.collage-bands .band-4 img:not(.no-download-overlay) {
  right: 0;
  width: 38%;
  transform: scale(1.16) translateY(7%);
  transform-origin: center center;
}

/* Mobile Diagonal Bands inside #professions-column-2 (<= 1200px) */
.collage-bands--mobile {
  display: none;
  z-index: 0;
  pointer-events: none;
}

.collage-bands--mobile img:not(.no-download-overlay) {
  display: block;
  margin: 0;
}

@media only screen and (max-width: 1200px) {
  #professions-column-2 {
    position: relative;
    overflow: hidden;
    background-image: none;
  }

  #professions-column-2 .professions-background-overlay {
    position: relative;
    z-index: 1;
  }

  .collage-bands--mobile {
    display: block;
  }
}

/* =========================================================
   OPTION 2: Diagonal Chevron / Diamond Mosaic (5 photos)
   ========================================================= */
.collage-mosaic {
  background: #242424;
}

.collage-mosaic .mosaic-piece {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.collage-mosaic .mosaic-piece img:not(.no-download-overlay) {
  position: absolute;
  object-fit: cover;
}

/* Top-left wedge */
.collage-mosaic .mosaic-1 {
  clip-path: polygon(0 0, 56% 0, 0 54%);
  z-index: 1;
}
.collage-mosaic .mosaic-1 img:not(.no-download-overlay) {
  left: 0;
  top: 0;
  width: 48%;
  height: 50%;
}

/* Top-right wedge */
.collage-mosaic .mosaic-2 {
  clip-path: polygon(56% 0, 100% 0, 100% 48%);
  z-index: 1;
}
.collage-mosaic .mosaic-2 img:not(.no-download-overlay) {
  right: 0;
  top: 0;
  width: 46%;
  height: 48%;
}

/* Bottom-left wedge */
.collage-mosaic .mosaic-3 {
  clip-path: polygon(0 54%, 44% 100%, 0 100%);
  z-index: 1;
}
.collage-mosaic .mosaic-3 img:not(.no-download-overlay) {
  left: 0;
  bottom: 0;
  width: 34%;
  height: 36%;
}

/* Bottom-right wedge */
.collage-mosaic .mosaic-4 {
  clip-path: polygon(100% 48%, 100% 100%, 44% 100%);
  z-index: 1;
}
.collage-mosaic .mosaic-4 img:not(.no-download-overlay) {
  right: 0;
  bottom: 0;
  width: 40%;
  height: 40%;
}

/* Center diamond hero */
.collage-mosaic .mosaic-center {
  clip-path: polygon(56% 0, 100% 48%, 44% 100%, 0 54%);
  z-index: 2;
}
.collage-mosaic .mosaic-center img:not(.no-download-overlay) {
  inset: 0;
  width: 100%;
  height: 100%;
}

.collage-mosaic .mosaic-dividers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

/* =========================================================
   OPTION 3: Editorial Bento Grid (4-photo asymmetric grid)
   ========================================================= */
.collage-bento {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 5px;
  background: #242424;
  padding: 0 5px;
  box-sizing: border-box;
}

.collage-bento .bento-cell {
  position: relative;
  overflow: hidden;
  background: #181818;
}

.collage-bento .bento-tall-left {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.collage-bento .bento-top-right {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.collage-bento .bento-mid-right {
  grid-column: 2 / 3;
  grid-row: 2 / 4;
}

.collage-bento .bento-bot-left {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}

/* =========================================================
   OPTION 4: Layered Prints (Overlapping tilted frames)
   ========================================================= */
.collage-prints {
  background: radial-gradient(circle at 50% 45%, #2e2c29 0%, #191817 100%);
}

.collage-prints .print-card {
  position: absolute;
  padding: 7px 7px 18px 7px;
  background: #f5f2eb;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  border-radius: 2px;
}

.collage-prints .print-card img:not(.no-download-overlay) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-prints .print-1 {
  width: 49%;
  height: 52%;
  top: 5%;
  left: 4%;
  transform: rotate(-4deg);
  z-index: 1;
}

.collage-prints .print-2 {
  width: 47%;
  height: 49%;
  top: 5%;
  right: 4%;
  transform: rotate(4deg);
  z-index: 2;
}

.collage-prints .print-3 {
  width: 47%;
  height: 48%;
  bottom: 5%;
  left: 5%;
  transform: rotate(3deg);
  z-index: 3;
}

.collage-prints .print-4 {
  width: 49%;
  height: 48%;
  bottom: 5%;
  right: 4%;
  transform: rotate(-3deg);
  z-index: 4;
}

.collage-prints .print-5 {
  width: 36%;
  height: 40%;
  top: 30%;
  left: 32%;
  transform: rotate(1deg);
  z-index: 5;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(201, 154, 34, 0.35);
}

/* =========================================================
   Floating Switcher Widget (bottom-right, clear of dock & recaptcha)
   ========================================================= */
#ps-collage-switcher {
  position: fixed;
  bottom: 112px;
  right: 22px;
  z-index: 999998;
  width: 248px;
  background: rgba(14, 16, 22, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 12px;
  overflow: hidden;
  user-select: none;
  transition: width 0.2s ease, opacity 0.2s ease;
}

#ps-collage-switcher.is-collapsed {
  width: auto;
}

#ps-collage-switcher.is-collapsed .ps-sw-body {
  display: none;
}

.ps-sw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

#ps-collage-switcher.is-collapsed .ps-sw-header {
  border-bottom: none;
}

.ps-sw-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f0cb85;
}

.ps-sw-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8b26e;
  box-shadow: 0 0 8px rgba(216, 178, 110, 0.8);
}

.ps-sw-collapse {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  padding: 0;
}

.ps-sw-collapse:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.ps-sw-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ps-sw-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
}

.ps-sw-option:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.ps-sw-option.is-active {
  background: linear-gradient(135deg, rgba(216, 178, 110, 0.25), rgba(201, 154, 34, 0.18));
  border-color: rgba(240, 203, 133, 0.55);
  color: #fff;
}

.ps-sw-opt-name {
  font-weight: 600;
  font-size: 12px;
  color: inherit;
}

.ps-sw-option.is-active .ps-sw-opt-name {
  color: #f6d89c;
}

.ps-sw-opt-sub {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.55);
}

.ps-sw-jump {
  margin-top: 3px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.ps-sw-jump:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
