/* The unenhanced layout is a complete, readable three-photograph editorial. */
.light-lab {
  --ll-top: 77px;
  --ll-gutter: max(clamp(22px,5.9vw,100px),calc((100vw - 1580px)/2));
  --ll-white: #fff4e8;
  --ll-ruby: #ff6e62;
  width: 100%; margin: 0; padding: 0; position: relative; background: #100e0e;
  color: var(--ll-white); font-family: Manrope,Arial,sans-serif;
}
.light-lab .ll-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; white-space: nowrap; clip-path: inset(50%);
}
.light-lab .ll-stage { position: relative; background: #100e0e; isolation: isolate; }
.light-lab .ll-mast {
  position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: clamp(17px,3.8vh,38px) var(--ll-gutter) 0;
}
.light-lab .ll-mark {
  display: flex; align-items: center; gap: .75rem; margin: 0;
  color: var(--ll-white); font: 520 .79rem/1.4 Manrope,Arial,sans-serif;
  letter-spacing: .055em;
}
.light-lab .ll-mark span { font-weight: 720; }
.light-lab .ll-mark i { width: 1.65rem; height: 1px; background: #ff766b; opacity: .94; }
.light-lab :is(a,button):focus-visible { outline: 2px solid #ffb79d; outline-offset: 4px; }
.light-lab .ll-skip {
  position: absolute; top: 3px; left: var(--ll-gutter); padding: 8px 14px;
  color: #271b19; background: #fff4eb; transform: scale(0); transform-origin: top left;
}
.light-lab .ll-skip:focus { transform: none; }
.light-lab .ll-shot {
  position: relative; display: grid; align-items: end; isolation: isolate; min-height: min(660px,78vw);
}
.light-lab .ll-frame { position: absolute; inset: 0; overflow: hidden; z-index: -1; background: #100e0e; }
.light-lab .ll-frame picture, .light-lab .ll-frame img { display: block; width: 100%; height: 100%; }
.light-lab .ll-frame img { object-fit: cover; object-position: 70% 48%; }
.light-lab .ll-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,rgba(13,10,11,.95) 0,rgba(13,10,11,.79) 19%,rgba(13,10,11,.43) 34%,rgba(13,10,11,.03) 56%,transparent 100%),
              linear-gradient(0deg,#100d0ef0 0,rgba(15,9,10,.4) 14%,transparent 36%,transparent 82%,rgba(9,7,8,.35) 100%);
}
.light-lab .ll-copy { padding: clamp(30px,5.6vw,90px) var(--ll-gutter); position: relative; z-index: 2; }
.light-lab .ll-copy h3 {
  margin: 0; color: var(--ll-white); font: 400 clamp(4.4rem,8vw,9.5rem)/.87 Manrope,Arial,sans-serif;
  letter-spacing: -.085em; text-transform: none;
}
.light-lab .ll-copy h3 em {
  display: block; width: fit-content; padding-right: .07em;
  font: italic 400 1.12em/.98 'Atelier Serif',Georgia,serif; letter-spacing: -.046em;
  color: #ffcbc0;
}
.light-lab .ll-copy p {
  max-width: 33ch; margin: clamp(20px,2.2vw,33px) 0 0; color: #f0dfd6;
  font: 400 clamp(1rem,1.08vw,1.13rem)/1.52 Manrope,Arial,sans-serif; text-wrap: pretty;
}
.light-lab .ll-reflection { display: none; }
.light-lab .ll-end { position: absolute; bottom: 0; width: 1px; height: 1px; }
.light-lab .ll-index[hidden] { display: none; }

/* All camera, exposure and copy values come from the same scroll coordinate. */
.light-lab[data-lab-mode] .ll-stage {
  display: grid; grid-template-rows: auto minmax(0,1fr) auto; overflow: clip;
  min-height: min(660px,91svh);
}
.light-lab[data-lab-mode=scroll] { height: calc(100svh - var(--ll-top) + clamp(560px,130svh,1480px)); }
.light-lab[data-lab-mode=scroll] .ll-stage {
  position: sticky; top: var(--ll-top); height: calc(100svh - var(--ll-top)); min-height: 0;
}
.light-lab[data-lab-mode] .ll-shots { display: grid; min-width: 0; }
.light-lab[data-lab-mode=manual] .ll-shots { touch-action: pan-y pinch-zoom; }
.light-lab[data-lab-mode] .ll-shot {
  position: static; isolation: auto; grid-area: 1/1; min-height: 0; align-items: center; pointer-events: none;
}
.light-lab[data-lab-mode] .ll-frame { z-index: 0; opacity: var(--ll-exposure,0); }
.light-lab[data-lab-mode] .ll-shot:first-child .ll-frame { opacity: var(--ll-exposure,1); }
.light-lab[data-lab-mode] .ll-frame img {
  transform: translate3d(var(--ll-x,0%),var(--ll-y,0%),0) scale(var(--ll-scale,1.05));
  transform-origin: 70% 54%;
}
.light-lab[data-lab-mode] .ll-reflection {
  display: block; position: absolute; pointer-events: none; mix-blend-mode: screen;
  width: 62%; height: 83%; top: -1%; left: 36%; transform: translate3d(var(--ll-light-x,0%),var(--ll-light-y,0%),0) rotate(-23deg);
  opacity: var(--ll-graze,0);
  background: radial-gradient(ellipse 52% 9% at 52% 55%,#f78169 0%,rgba(204,45,38,.68) 18%,rgba(185,32,28,.26) 55%,transparent 100%);
}
.light-lab[data-lab-mode] .ll-shot:nth-child(2) .ll-reflection { transform: translate3d(var(--ll-light-x,0%),var(--ll-light-y,0%),0) rotate(-32deg); }
.light-lab[data-lab-mode] .ll-copy {
  align-self: center; width: 54%; padding-block: clamp(24px,4.6vh,60px);
  opacity: var(--ll-type,0); transform: translateY(var(--ll-copy-y,0px));
}
.light-lab[data-lab-mode] .ll-shot:first-child .ll-copy { opacity: var(--ll-type,1); }
.light-lab .ll-index {
  position: relative; z-index: 4; display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(15px,2.45vw,50px); padding: 0 var(--ll-gutter) clamp(27px,4.8vh,55px);
}
.light-lab .ll-index button {
  position: relative; display: flex; align-items: flex-start; justify-content: flex-start;
  min-height: 44px; border: 0; border-radius: 0; padding: 13px 0 3px;
  background: none; color: #d3c3bc; font: 540 .9rem/1.4 Manrope,Arial,sans-serif; text-align: left; cursor: pointer;
}
.light-lab .ll-index button::before, .light-lab .ll-index button::after {
  position: absolute; content: ''; top: 0; inset-inline: 0; height: 1px; background: #e0c3b66b;
}
.light-lab .ll-index button::after {
  background: #ffa295; height: 2px; transform-origin: left center; transform: scaleX(var(--ll-fill,0));
}
.light-lab .ll-index button[aria-pressed=true] { color: #fff7ed; }
.light-lab .ll-index button:hover { color: #fff; }

@media (max-width: 950px) { .light-lab { --ll-top: 66px; } }
@media (max-width: 760px) {
  .light-lab { --ll-top: 59px; --ll-gutter: clamp(19px,5.5vw,39px); }
  .light-lab .ll-shot { min-height: 510px; }
  .light-lab .ll-mast { padding-top: 11px; }
  .light-lab .ll-mark { gap: .5rem; font-size: .75rem; }
  .light-lab .ll-mark i { width: 1.08rem; }
  .light-lab .ll-frame { bottom: 19%; }
  .light-lab .ll-frame img { object-position: center 45%; }
  .light-lab .ll-frame::after {
    background: linear-gradient(0deg,#100e0e 0%,#100e0ef0 10%,#100e0e7a 25%,transparent 44%),
                linear-gradient(180deg,#100e0e8a 0%,transparent 24%);
  }
  .light-lab .ll-copy { padding-bottom: 28px; }
  .light-lab .ll-copy h3 { font-size: clamp(2.8rem,10.4vw,4.55rem); line-height: .96; }
  .light-lab .ll-copy h3 em { display: inline; }
  .light-lab .ll-copy p { margin-top: 13px; max-width: 39ch; font-size: 1rem; line-height: 1.47; }
  .light-lab[data-lab-mode] .ll-stage { min-height: auto; }
  .light-lab[data-lab-mode] .ll-shots { padding-top: clamp(176px,50vw,338px); }
  .light-lab[data-lab-mode] .ll-shot { align-items: end; }
  .light-lab[data-lab-mode] .ll-copy { align-self: end; width: 100%; padding-block: 35px 22px; }
  .light-lab[data-lab-mode] .ll-frame { bottom: 19%; }
  .light-lab[data-lab-mode] .ll-frame img { transform-origin: 54% 37%; }
  .light-lab[data-lab-mode] .ll-reflection { width: 85%; left: 8%; }
  .light-lab .ll-index { gap: 13px; padding-bottom: 14px; }
  .light-lab .ll-index button { font-size: .82rem; padding-top: 10px; }
}
@media (min-width: 761px) and (max-width: 1020px) {
  .light-lab[data-lab-mode] .ll-copy { width: 63%; }
  .light-lab .ll-copy h3 { font-size: clamp(4.2rem,7.8vw,6.1rem); }
}
@media (prefers-reduced-motion: reduce) {
  .light-lab[data-lab-mode] .ll-frame img, .light-lab[data-lab-mode] .ll-copy { transform: none; }
  .light-lab[data-lab-mode] .ll-reflection { display: none; }
}
