#gallery{position:relative;background:var(--surface);color:var(--ink);padding:32px 0 24px;scroll-margin-top:0}
.gallery-stage{position:relative;isolation:isolate;width:min(100%,680px);margin:0 auto}
#gallery .editorial-grid{display:flex;grid-template-columns:none;gap:0;width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain;background:#191614}
#gallery .editorial-grid::-webkit-scrollbar{display:none}
#gallery .editorial-frame{position:relative;display:block;flex:0 0 100%;width:100%;height:min(860px,calc(100svh - var(--header-height) - 48px));min-height:520px;margin:0;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:#191614}
#gallery .editorial-frame img{display:block;width:100%;height:100%;min-height:0;aspect-ratio:auto;object-fit:cover;object-position:50% 0%;filter:grayscale(1) contrast(1.06)}
/* Captions inherit the original site styles, contrast and falling-letter animation. */
.arrival-controls{display:flex;align-items:center;justify-content:flex-end;gap:7px;height:48px;padding:0 18px;color:var(--ink);background:var(--surface);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.arrival-controls button{width:44px;height:44px;padding:12px;display:grid;place-items:center;color:inherit}
.arrival-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4}
.arrival-count{font:400 10px/1 Arial,sans-serif;letter-spacing:.08em;min-width:50px;text-align:center}



@media(max-width:650px){




 #gallery .editorial-frame{height:auto;aspect-ratio:2/3;min-height:0}
 .arrival-controls{height:44px;padding:0 6vw;gap:5px}
 .arrival-count{font-size:9px}
 
}
@media(max-width:360px){}
@media(prefers-reduced-motion:reduce){#gallery .editorial-grid{scroll-behavior:auto}}

/* Discreet side arrows and progress line, without a numbered toolbar. */
.gallery-stage .arrival-controls{position:absolute;inset:0;z-index:5;display:block;min-height:0;height:auto;padding:0;border:0;background:transparent;pointer-events:none}
.gallery-stage .arrival-controls>.arrival-prev,.gallery-stage .arrival-controls>.arrival-next{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:56px;padding:14px;border:0;border-radius:0;background:transparent;color:var(--ink);pointer-events:auto;filter:drop-shadow(0 1px 2px var(--surface))}
.gallery-stage .arrival-prev{left:6px}.gallery-stage .arrival-next{right:6px}
.gallery-stage .arrival-controls svg{stroke-width:1.3;width:20px;height:26px}
.gallery-stage .arrival-controls>.arrival-prev:hover,.gallery-stage .arrival-controls>.arrival-next:hover{background:transparent;color:var(--ink);opacity:.65}
.arrival-progress{height:2px;width:min(180px,40%);margin:20px auto 8px;background:var(--rule);overflow:hidden;color:var(--ink)}
.arrival-progress span{display:block;width:100%;height:100%;background:currentColor;transform:scaleX(.1);transform-origin:left;transition:transform .3s ease}
@media(prefers-reduced-motion:reduce){.arrival-progress span{transition:none}}

/* Lower the Lines portrait slightly while keeping the full haircut visible. */
#gallery #look-09 img{object-position:50% 0%;transform:translateY(24px);height:calc(100% - 24px);background:#fff}
#gallery #look-09{background:#fff}

#gallery .gallery-stage { width: 100%; }

/* The desktop gallery uses one continuous landscape photograph per slide. */
@media (min-width: 761px) {
  #gallery { padding-top: 0; }

  #gallery .arrival-slide {
    height: max(370px, 44.5vw, calc(100svh - var(--header-height, 124px)));
    --wide-caption-ink: #382017;
    --wide-caption-shadow: rgb(245 240 230 / 80%);
  }

  #gallery :is(#look-03, #look-05, #look-08) {
    --wide-caption-ink: #f5f0e6;
    --wide-caption-shadow: rgb(0 0 0 / 65%);
  }

  #gallery .arrival-slide img,
  #gallery #look-09 img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: 72% 30%;
    transform: none;
    filter: grayscale(1);
  }

  #gallery .arrival-slide figcaption {
    width: min(46%, 680px);
    padding-inline: clamp(54px, 7vw, 110px) 0;
  }

  #gallery .arrival-slide figcaption :is(h3, p) {
    color: var(--wide-caption-ink);
    text-shadow: 0 1px 2px var(--wide-caption-shadow);
  }

  .gallery-stage .arrival-controls > :is(.arrival-prev, .arrival-next) {
    width: 44px;
    height: 44px;
    padding: 9px;
    border-radius: 50%;
    background: rgb(0 0 0 / 44%);
    color: #fff;
    filter: none;
  }

  .gallery-stage .arrival-controls > :is(.arrival-prev, .arrival-next):hover {
    background: rgb(0 0 0 / 64%);
    opacity: 1;
  }
}
