
/* VAGUE Stories: bespoke nine-photo interactive editorial gallery, 2026-11-16.
   Scoped to the VAGUE homepage's biography/photo split. */
body.home-page #moments .about-vague.about-vague-photo-layout::before{
  display:none !important;
  background-image:none !important;
  -webkit-mask-image:none !important;
  mask-image:none !important;
  transform:none !important;
}
body.home-page #moments .about-vague.about-vague-photo-layout{
  overflow:hidden !important;
  min-height:clamp(600px,51vw,770px) !important;
  background:transparent !important;
}
body.home-page #moments .about-vague-photo-layout .about-vague-copy{
  width:min(51%,720px);
  position:relative;
  z-index:2;
}
body.home-page #moments .vague-editorial-gallery{
  position:absolute;
  z-index:3;
  right:clamp(22px,4.8vw,85px);
  top:50%;
  transform:translateY(-50%);
  width:min(43.5%,660px);
  height:clamp(400px,35vw,565px);
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:13px;
  isolation:isolate;
  color:#f7f1e9;
}
body.home-page #moments .vague-editorial-gallery__top,
body.home-page #moments .vague-editorial-gallery__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
body.home-page #moments .vague-editorial-gallery__top{
  padding:4px 10px 0;
}
body.home-page #moments .vague-editorial-gallery__brand{
  font:500 10px/1.5 var(--sans,Arial,sans-serif);
  letter-spacing:.23em;
  color:#d8b588;
  white-space:nowrap;
}
body.home-page #moments .vague-editorial-gallery__brand i{
  font-style:normal;
  padding:0 4px;
  color:#9c8870;
}
body.home-page #moments .vague-editorial-gallery__nav{
  display:flex;
  align-items:center;
  gap:11px;
}
body.home-page #moments .vague-editorial-gallery__range{
  font:400 10px/1.4 var(--sans,Arial,sans-serif);
  letter-spacing:.10em;
  color:#d1c2b1;
  white-space:nowrap;
  margin-right:3px;
}
body.home-page #moments .vague-editorial-gallery__nav button{
  appearance:none;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border:1px solid rgba(205,169,124,.32);
  border-radius:50%;
  background:rgba(8,20,29,.44);
  color:#d9b389;
  font:400 17px/1 var(--sans,Arial,sans-serif);
  cursor:pointer;
  transition:background .25s,border-color .25s,transform .25s;
}
body.home-page #moments .vague-editorial-gallery__nav button:hover,
body.home-page #moments .vague-editorial-gallery__nav button:focus-visible{
  background:rgba(215,181,135,.16);
  border-color:rgba(229,195,146,.8);
  transform:translateY(-2px);
}
body.home-page #moments .vague-editorial-gallery__viewport{
  flex:1;
  min-height:0;
  padding:7px 7px 17px;
  perspective:1100px;
}
body.home-page #moments .vague-editorial-gallery__set{
  display:flex;
  gap:clamp(7px,.8vw,13px);
  width:100%;
  height:100%;
  align-items:stretch;
  perspective:1200px;
}
body.home-page #moments .vague-editorial-gallery__set[hidden]{
  display:none !important;
}
body.home-page #moments .vague-editorial-gallery__card{
  appearance:none;
  box-sizing:border-box;
  position:relative;
  display:block;
  flex:1 1 0;
  min-width:0;
  height:100%;
  padding:0;
  overflow:hidden;
  border:1px solid rgba(205,172,130,.47);
  border-radius:13px;
  background:#08131b;
  color:#fff;
  text-align:left;
  cursor:zoom-in;
  transform:translate3d(0,0,0) rotateY(0deg) scale(1);
  transform-origin:50% 50%;
  box-shadow:0 16px 28px rgba(0,0,0,.2);
  transition:flex-grow .65s cubic-bezier(.18,.73,.2,1),
    transform .65s cubic-bezier(.18,.73,.2,1),
    box-shadow .55s ease,border-color .35s ease,filter .45s;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
body.home-page #moments .vague-editorial-gallery__card img{
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center;
  filter:brightness(.82) saturate(.85);
  transition:transform .75s cubic-bezier(.18,.73,.2,1),filter .5s;
}
body.home-page #moments .vague-editorial-gallery__shade{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,7,12,.3) 0%,transparent 34%,transparent 57%,rgba(0,7,12,.82) 100%);
}
body.home-page #moments .vague-editorial-gallery__number{
  position:absolute;
  top:17px;
  left:16px;
  font:500 10px/1.5 var(--sans,Arial,sans-serif);
  letter-spacing:.15em;
  color:#e0c294;
  text-shadow:0 1px 8px #000;
}
body.home-page #moments .vague-editorial-gallery__caption{
  position:absolute;
  left:16px;
  right:12px;
  bottom:19px;
  font:400 clamp(14px,1.4vw,20px)/1.18 var(--serif,Georgia,serif);
  color:#fff5ea;
  opacity:.95;
  text-shadow:0 2px 8px rgba(0,0,0,.8);
}
body.home-page #moments .vague-editorial-gallery__expand{
  position:absolute;
  right:15px;
  top:13px;
  font:400 19px/1 var(--sans,Arial,sans-serif);
  color:#e7c38e;
  opacity:.74;
  transition:transform .45s ease,opacity .45s;
}
body.home-page #moments .vague-editorial-gallery__card:focus-visible{
  outline:2px solid #e6bb87;
  outline-offset:3px;
  z-index:5;
}
@media(hover:hover) and (pointer:fine){
  body.home-page #moments .vague-editorial-gallery__set:hover .vague-editorial-gallery__card:not(:hover){
    filter:brightness(.77);
  }
  body.home-page #moments .vague-editorial-gallery__card:hover{
    z-index:4;
    flex-grow:1.77;
    transform:translate3d(0,-8px,0) rotateY(-2deg) scale(1.016);
    border-color:rgba(238,201,152,.88);
    box-shadow:0 28px 50px rgba(0,0,0,.52),0 0 23px rgba(203,158,100,.13);
  }
  body.home-page #moments .vague-editorial-gallery__card:hover img{
    transform:scale(1.07);
    filter:brightness(.98) saturate(.95);
  }
  body.home-page #moments .vague-editorial-gallery__card:hover .vague-editorial-gallery__expand{
    opacity:1;
    transform:translate(2px,-2px);
  }
}
body.home-page #moments .vague-editorial-gallery__footer{
  padding:0 10px;
  gap:20px;
}
body.home-page #moments .vague-editorial-gallery__footer>span:first-child{
  color:#acb8be;
  font:400 10px/1.5 var(--sans,Arial,sans-serif);
  letter-spacing:.025em;
}
body.home-page #moments .vague-editorial-gallery__progress{
  display:block;
  flex:0 0 105px;
  height:1px;
  background:rgba(199,169,130,.28);
}
body.home-page #moments .vague-editorial-gallery__progress>span{
  display:block;
  height:100%;
  width:33.333%;
  background:#d7b183;
  transform:translateX(0);
  transition:transform .45s ease;
}
.vague-editorial-gallery__dialog{
  border:1px solid rgba(218,180,135,.34);
  border-radius:14px;
  background:rgba(4,12,18,.98);
  color:#f8efe2;
  box-shadow:0 20px 65px rgba(0,0,0,.85);
  padding:40px 55px 28px;
  max-width:92vw;
  max-height:94vh;
  overflow:hidden;
}
.vague-editorial-gallery__dialog::backdrop{
  background:rgba(0,4,9,.87);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.vague-editorial-gallery__dialog figure{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding:0;
  margin:0;
}
.vague-editorial-gallery__dialog figure img{
  display:block;
  width:auto;
  max-width:min(80vw,1040px);
  height:min(72vh,800px);
  object-fit:contain;
}
.vague-editorial-gallery__dialog figcaption{
  font:400 14px/1.5 var(--serif,Georgia,serif);
  color:#e7caa2;
  text-align:center;
}
.vague-editorial-gallery__dialog button{
  appearance:none;
  border:1px solid rgba(220,182,134,.48);
  border-radius:50%;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  background:rgba(8,20,29,.78);
  color:#e9c496;
  font:400 20px/1 var(--sans,Arial,sans-serif);
  cursor:pointer;
}
.vague-editorial-gallery__dialog button:hover{
  background:rgba(220,182,134,.18);
}
.vague-editorial-gallery__dialog-close{
  position:absolute;
  z-index:3;
  top:12px;
  right:12px;
}
.vague-editorial-gallery__dialog-prev,
.vague-editorial-gallery__dialog-next{
  position:absolute;
  z-index:3;
  top:50%;
  transform:translateY(-50%);
}
.vague-editorial-gallery__dialog-prev{left:9px;}
.vague-editorial-gallery__dialog-next{right:9px;}
@media(max-width:1100px){
  body.home-page #moments .about-vague-photo-layout .about-vague-copy{width:min(54%,610px);}
  body.home-page #moments .vague-editorial-gallery{
    right:4vw;
    width:41%;
    height:clamp(365px,38vw,465px);
  }
  body.home-page #moments .vague-editorial-gallery__caption{font-size:clamp(13px,1.65vw,18px);}
}
@media(max-width:820px){
  body.home-page #moments .about-vague.about-vague-photo-layout{
    min-height:0 !important;
    padding:clamp(49px,7vw,73px) 6vw 70px !important;
  }
  body.home-page #moments .about-vague-photo-layout .about-vague-copy{
    width:100% !important;
    max-width:690px;
  }
  body.home-page #moments .vague-editorial-gallery{
    position:relative;
    top:auto;
    right:auto;
    transform:none;
    margin:34px auto 0;
    width:100%;
    max-width:690px;
    height:clamp(370px,65vw,500px);
  }
}
@media(max-width:500px){
  body.home-page #moments .about-vague.about-vague-photo-layout{
    padding:45px 5vw 59px !important;
  }
  body.home-page #moments .vague-editorial-gallery{
    margin-top:26px;
    height:clamp(305px,90vw,400px);
    gap:11px;
  }
  body.home-page #moments .vague-editorial-gallery__viewport{
    padding:7px 3px 13px;
  }
  body.home-page #moments .vague-editorial-gallery__set{gap:7px;}
  body.home-page #moments .vague-editorial-gallery__card{border-radius:10px;}
  body.home-page #moments .vague-editorial-gallery__caption{
    font-size:13px;
    left:10px;
    right:6px;
    bottom:15px;
  }
  body.home-page #moments .vague-editorial-gallery__number{top:11px;left:10px;}
  body.home-page #moments .vague-editorial-gallery__expand{top:9px;right:9px;font-size:16px;}
  body.home-page #moments .vague-editorial-gallery__brand{font-size:9px;}
  body.home-page #moments .vague-editorial-gallery__range{font-size:9px;}
  body.home-page #moments .vague-editorial-gallery__nav{gap:5px;}
  body.home-page #moments .vague-editorial-gallery__nav button{width:29px;height:29px;font-size:15px;}
  body.home-page #moments .vague-editorial-gallery__footer>span:first-child{font-size:9px;}
  body.home-page #moments .vague-editorial-gallery__progress{flex-basis:58px;}
  .vague-editorial-gallery__dialog{padding:45px 12px 28px;}
  .vague-editorial-gallery__dialog figure img{max-width:82vw;height:min(75vh,720px);}
  .vague-editorial-gallery__dialog-prev{left:4px;}
  .vague-editorial-gallery__dialog-next{right:4px;}
}
@media(hover:none){
  body.home-page #moments .vague-editorial-gallery__card:active{
    transform:scale(1.025);
    border-color:#d6b084;
  }
}
@media(prefers-reduced-motion:reduce){
  body.home-page #moments .vague-editorial-gallery__card,
  body.home-page #moments .vague-editorial-gallery__card img,
  body.home-page #moments .vague-editorial-gallery__progress>span{
    transition:none !important;
    transform:none !important;
  }
}

/* VAGUE EDITORIAL GALLERY five-window v2: 75% editorial photo stage */
@media(min-width:1101px){
  body.home-page #moments .about-vague.about-vague-photo-layout{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,3fr) !important;
    grid-template-rows:auto auto minmax(0,1fr) auto !important;
    column-gap:clamp(19px,2vw,34px) !important;
    row-gap:clamp(13px,1.5vw,24px) !important;
    align-items:start !important;
    min-height:clamp(710px,61vw,930px) !important;
    padding:clamp(61px,6vw,96px) max(4.4vw,calc((100vw - 1550px)/2)) clamp(64px,6vw,94px) !important;
  }
  body.home-page #moments .about-vague-photo-layout .about-vague-copy{
    display:contents !important;
  }
  body.home-page #moments .about-vague-photo-layout .about-vague-copy > .eyebrow{
    grid-column:1/-1;grid-row:1;
    width:max-content;max-width:100%;
    margin:0 !important;
  }
  body.home-page #moments .about-vague-photo-layout .about-vague-copy > h2{
    grid-column:1/-1;grid-row:2;
    max-width:1100px !important;
    font-size:clamp(47px,4.65vw,76px) !important;
    line-height:1.05 !important;
    margin:0 !important;
  }
  body.home-page #moments .about-vague-photo-layout .about-vague-copy > h2::after{
    margin:clamp(19px,2vw,31px) 0 0 !important;
  }
  body.home-page #moments .about-vague-photo-layout .about-vague-copy > .about-columns{
    grid-column:1;grid-row:3;
    align-self:start;min-width:0;
    max-width:none !important;
    gap:clamp(16px,1.5vw,25px) !important;
    margin-top:8px !important;
  }
  body.home-page #moments .about-vague-photo-layout .about-vague-copy > .about-columns p{
    font-size:clamp(12px,.97vw,14px) !important;
    line-height:1.67 !important;
    overflow-wrap:break-word;
  }
  body.home-page #moments .about-vague-photo-layout .about-vague-copy > .about-foot{
    grid-column:1;grid-row:4;
    align-self:end;
    min-width:0;
    margin:0 !important;
    font-size:clamp(9px,.7vw,10px) !important;
    letter-spacing:.12em !important;
    line-height:1.8 !important;
    padding-bottom:14px !important;
  }
  body.home-page #moments .vague-editorial-gallery{
    grid-column:2;grid-row:3/5;
    position:relative !important;
    top:auto !important;right:auto !important;
    transform:none !important;
    align-self:stretch;justify-self:stretch;
    width:100% !important;max-width:none !important;
    height:clamp(510px,40vw,640px) !important;
    margin:0 !important;
  }
}
body.home-page #moments .vague-editorial-gallery__set{
  gap:clamp(7px,.73vw,12px);
}
body.home-page #moments .vague-editorial-gallery__set .vague-editorial-gallery__card{
  flex:1 1 0;
  min-width:0;
}
@media(hover:hover) and (pointer:fine){
  body.home-page #moments .vague-editorial-gallery__set .vague-editorial-gallery__card:hover{
    flex-grow:1.95;
  }
}
@media(max-width:1100px){
  body.home-page #moments .about-vague.about-vague-photo-layout{
    display:block !important;
    width:100vw !important;
    min-height:0 !important;
    padding:clamp(52px,7vw,78px) 5.5vw clamp(58px,7vw,86px) !important;
    background:transparent !important;
  }
  body.home-page #moments .about-vague-photo-layout .about-vague-copy{
    display:block !important;
    width:100% !important;
    max-width:760px !important;
  }
  body.home-page #moments .about-vague-photo-layout .about-vague-copy h2{
    font-size:clamp(40px,5.8vw,68px) !important;
    max-width:760px !important;
  }
  body.home-page #moments .about-vague-photo-layout .about-vague-copy .about-columns{
    max-width:670px !important;
  }
  body.home-page #moments .vague-editorial-gallery{
    position:relative !important;
    right:auto !important;top:auto !important;
    transform:none !important;
    width:100% !important;max-width:none !important;
    height:clamp(390px,47vw,565px) !important;
    margin:28px auto 0 !important;
  }
}
@media(max-width:700px){
  body.home-page #moments .vague-editorial-gallery{
    height:clamp(360px,86vw,490px) !important;
    margin-top:27px !important;
  }
  body.home-page #moments .vague-editorial-gallery__set{
    gap:clamp(7px,2vw,11px);
  }
}
@media(max-width:430px){
  body.home-page #moments .vague-editorial-gallery__card .vague-editorial-gallery__caption{
    font-size:clamp(11px,3vw,14px) !important;
    line-height:1.2 !important;
  }
  body.home-page #moments .vague-editorial-gallery__footer>span:first-child{font-size:9px !important;}
}


/* VAGUE compact gap from stories to occasions v3 2026-11-16 */
/* Tighten only the blank transition below the 5-photo editorial gallery. */
@media(min-width:1101px){
 body.home-page #moments .about-vague.about-vague-photo-layout{
  min-height:0 !important;
  padding-bottom:clamp(24px,2.6vw,39px) !important;
 }
}
@media(min-width:801px) and (max-width:1100px){
 body.home-page #moments .about-vague.about-vague-photo-layout{
  padding-bottom:clamp(30px,3.3vw,44px) !important;
 }
}
@media(max-width:800px){
 body.home-page #moments .about-vague.about-vague-photo-layout{
  padding-bottom:clamp(35px,5vw,53px) !important;
 }
}
