/* Shoot: one session opened, shared by Gallery and the model page.
   Desktop boxes from Flow E2E v13, 025 (1600×1200), in --hd.
   White ground like the rest of the site (was black on 025); breadcrumb on
   the header line ("models .Anna Klein" grey, the session black), facts in
   a column; stills in justified rows like the Gallery grid, same side edges
   (x 153 / 1446). A still opens full screen, on dark, to slide through. */
.sh {
  --sh-ink: #000;
  --sh-mute: rgba(0, 0, 0, 0.32);
  position: fixed;
  inset: 0;
  z-index: 20;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper, #fff);
  color: var(--sh-ink);
  opacity: 0;
  transition: opacity 0.25s linear;
}

.sh.is-in { opacity: 1; }
.sh[hidden] { display: none; }
html.sh-open { overflow: hidden; }

.sh button,
.sh a {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
  cursor: pointer;
}

.sh :focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.sh-lb :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sh .sh-quiet:focus-visible,
.sh-lb .sh-quiet:focus-visible { outline: none; }

.sh [data-icon],
.sh-lb [data-icon] { display: block; }
.sh [data-icon] svg,
.sh-lb [data-icon] svg { display: block; width: 100%; height: 100%; }

.sh-head {
  position: relative;
  height: calc(282 * var(--hd));
}

.sh-home {
  position: absolute;
  left: calc(66 * var(--hd));
  top: calc(32 * var(--hd));
  width: calc(22 * var(--hd));
  height: calc(49 * var(--hd));
}

.sh-home svg { display: block; width: 100%; height: 100%; }

/* "Shoot with Anna": 154,35 / 161×45. */
.sh-cta {
  position: absolute;
  left: calc(154 * var(--hd));
  top: calc(35 * var(--hd));
  display: inline-grid !important;
  place-items: center;
  height: calc(45 * var(--hd));
  min-height: 34px;
  padding: 0 calc(26 * var(--hd)) !important;
  border-radius: 999px;
  background: #000 !important;
  color: #fff !important;
  font-size: max(12px, calc(15 * var(--hd))) !important;
  font-weight: 500;
  white-space: nowrap;
}

@media (hover: hover) {
  .sh-cta:hover { opacity: 0.82; }
}

/* Breadcrumb ends at x 1487. */
.sh-title {
  position: absolute;
  right: calc(113 * var(--hd));
  top: calc(17.25 * var(--hd));
  margin: 0;
  font-size: calc(65.6 * var(--hd));
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.sh-title .is-up { color: var(--sh-mute); transition: color 0.2s ease; }
.sh-title button.is-up:hover,
.sh-title a.is-up:hover { color: #000; }

/* Close, on the menu spot. Just the cross, no disc (1 Oct). */
.sh-x {
  position: absolute !important;
  right: calc(49 * var(--hd));
  top: calc(34.5 * var(--hd));
  display: grid !important;
  place-items: center;
  width: calc(45 * var(--hd));
  height: calc(45 * var(--hd));
  min-width: 36px;
  min-height: 36px;
  border-radius: 50% !important;
  background: transparent !important;
}

.sh-x [data-icon] { width: 42%; height: 42%; }

/* Facts: icons at x 1073, text at x 1100, rows of 25 from y 125. */
.sh-meta {
  position: absolute;
  left: calc(1073 * var(--hd));
  top: calc(113 * var(--hd));
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: max(11px, calc(12 * var(--hd)));
  font-weight: 500;
  line-height: 1;
}

.sh-meta li {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--hd));
  height: calc(25 * var(--hd));
  min-height: 20px;
  white-space: nowrap;
}

.sh-meta li > [data-icon] {
  flex: none;
  width: max(13.8px, calc(17.2 * var(--hd)));
  height: max(13.8px, calc(17.2 * var(--hd)));
}

.sh-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }

.sh-acts { gap: calc(20 * var(--hd)) !important; margin-top: calc(8 * var(--hd)); }

.sh-acts button {
  position: relative;
  width: max(16px, calc(20 * var(--hd)));
  height: max(16px, calc(20 * var(--hd)));
}

.sh-acts button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
}

.sh-fav[aria-pressed="true"] svg path { fill: currentColor; }

/* Stills: justified rows (shoot.js), gaps as the Gallery grid. */
.sh-grid {
  display: flex;
  flex-direction: column;
  row-gap: calc(56 * var(--hd));
  column-gap: calc(48 * var(--hd));
  padding: 0 calc(154 * var(--hd)) calc(120 * var(--hd)) calc(153 * var(--hd));
}

.sh-grid .gl-row { display: flex; gap: calc(48 * var(--hd)); }

.sh-item {
  position: relative;
  display: block;
  flex: none;
  overflow: hidden;
  background: #eceae6;
  cursor: zoom-in !important;
}

.sh-item img,
.sh-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%; /* faces near the top: heads never cut */
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s linear;
}

@media (hover: hover) {
  .sh-item:hover img,
  .sh-item:hover video { transform: scale(1.02); }
}

.sh-vid {
  position: absolute;
  left: calc(14 * var(--hd));
  bottom: calc(14 * var(--hd));
  display: grid;
  place-items: center;
  width: max(34px, calc(44 * var(--hd)));
  height: max(22px, calc(27.6 * var(--hd)));
  border-radius: 999px;
  background: rgba(240, 240, 240, 0.92);
  color: #000;
  pointer-events: none;
}

.sh-vid [data-icon] { width: 58%; height: 58%; }

/* Full screen still. */
.sh-lb {
  position: fixed;
  inset: 0;
  z-index: 23;
  display: grid;
  place-items: center;
  background: #000;
  color: #fff;
  touch-action: pan-y;
  opacity: 0;
  transition: opacity 0.2s linear;
}

.sh-lb.is-in { opacity: 1; }
.sh-lb[hidden] { display: none; }

.sh-lb button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.sh-lb-media {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 90px 120px 80px;
}

.sh-lb-media img,
.sh-lb-media video {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.sh-lb-x {
  position: absolute;
  right: calc(49 * var(--hd));
  top: calc(34.5 * var(--hd));
  display: grid;
  place-items: center;
  width: max(36px, calc(45 * var(--hd)));
  height: max(36px, calc(45 * var(--hd)));
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28) !important;
}

.sh-lb-x [data-icon] { width: 42%; height: 42%; }

.sh-lb-prev,
.sh-lb-next {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  border-radius: 50%;
  transform: translateY(-50%);
}

.sh-lb-prev { left: 40px; }
.sh-lb-next { right: 40px; }
.sh-lb-prev [data-icon],
.sh-lb-next [data-icon] { width: 23px; height: 23px; }
.sh-lb button:disabled { opacity: 0.2; cursor: default; }

@media (hover: hover) {
  .sh-lb-prev:not(:disabled):hover,
  .sh-lb-next:not(:disabled):hover { background: #fff !important; color: #000; }
}

.sh-lb-count {
  position: absolute;
  left: 50%;
  bottom: 30px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transform: translateX(-50%);
}

.sh-toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  z-index: 30;
  margin: 0;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  transform: translateX(-50%);
}

.sh-toast[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .sh,
  .sh-lb,
  .sh-item img,
  .sh-item video { transition: none; }
  .sh-item:hover img { transform: none; }
}

/* Tablet and phone: two columns, facts under the header. */
@media (max-width: 800px) {
  .sh-head { height: auto; padding: calc(150 * var(--m)) calc(28 * var(--m)) calc(24 * var(--m)); }

  .sh-home {
    left: calc(45 * var(--m));
    top: calc(40 * var(--m));
    width: calc(22 * var(--m));
    height: calc(48.5 * var(--m));
  }

  .sh-cta {
    left: calc(28 * var(--m));
    top: calc(100 * var(--m));
    height: calc(34 * var(--m));
    min-height: 0;
    padding: 0 calc(16 * var(--m)) !important;
    font-size: calc(13 * var(--m)) !important;
  }

  .sh-title {
    right: calc(90 * var(--m));
    top: calc(44 * var(--m));
    max-width: calc(100% - 170 * var(--m));
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: calc(34 * var(--m));
  }

  .sh-title .is-up { display: none; }

  .sh-x {
    right: calc(26 * var(--m));
    top: calc(40 * var(--m));
    width: calc(44 * var(--m));
    height: calc(44 * var(--m));
  }

  .sh-meta {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 12px;
  }

  .sh-meta li { height: auto; gap: 8px; }
  .sh-acts { margin: 0 0 0 auto; gap: 22px !important; }

  .sh-grid { row-gap: calc(10 * var(--m)); column-gap: calc(10 * var(--m)); padding: 0 calc(28 * var(--m)) calc(60 * var(--m)); }
  .sh-grid .gl-row { gap: calc(10 * var(--m)); }

  .sh-lb-media { padding: 70px 0 70px; }
  .sh-lb-prev,
  .sh-lb-next { display: none; }
  .sh-lb-x { right: calc(26 * var(--m)); top: calc(40 * var(--m)); }
}
