/* Caption styling from the active Primal Eye Cream v4 gallery. */
#galSlides .copy,#galSlides .support{position:absolute;left:6%;right:6%;top:6%;pointer-events:none;color:#fff;z-index:1;isolation:isolate;text-shadow:-.55px 0 1px rgba(0,0,0,.75),.55px 0 1px rgba(0,0,0,.75),0 -.55px 1px rgba(0,0,0,.75),0 1px 2px rgba(0,0,0,.8),0 3px 10px rgba(0,0,0,.45)}#galSlides .copy h2,#galSlides .support h2{font:700 7cqw/1.08 Georgia,serif;letter-spacing:-.025em;margin:0;text-wrap:pretty}#galSlides .copy p,#galSlides .support p{font:600 clamp(14px,3.9cqw,16px)/1.35 Arial,sans-serif;margin:0;text-wrap:pretty}#galSlides .support{top:auto;bottom:6%}#galSlides .shade::before{content:"";position:absolute;z-index:-1;inset:-16px -18px;background:radial-gradient(ellipse,rgba(13,17,14,.72),rgba(13,17,14,.42) 50%,transparent 84%);filter:blur(12px)}#galSlides .person::after,#galSlides .texture::after{content:"";position:absolute;inset:auto 0 0;height:22%;background:linear-gradient(0deg,rgba(12,16,13,.66),rgba(12,16,13,.25) 55%,transparent);pointer-events:none}#galSlides .person .copy{right:auto;width:74%;top:6%}#galSlides .person .copy h2{font-size:7.6cqw}#galSlides .person .support{bottom:6%;font-size:clamp(14px,3.9cqw,16px)}#galSlides .proof .copy{top:13%;right:auto;width:43%}#galSlides .proof .copy h2{font-size:7cqw;margin-bottom:4px}#galSlides .proof .copy p{font-size:clamp(14px,3.9cqw,16px)}#galSlides .proof .support{right:auto;width:48%;bottom:7%}#galSlides .proof .support h2{font-size:6cqw;line-height:1.15;font-weight:700}#galSlides .ba-labels{position:absolute;left:0;right:0;top:4%;display:flex;justify-content:space-around;color:#fff;font-weight:600;font-size:3.5cqw;text-shadow:0 1px 2px #000,0 2px 8px rgba(0,0,0,.7)}#galSlides .bedside .copy{left:auto;width:72%;top:6%;text-align:right}#galSlides .copy blockquote{font:700 clamp(18px,5.3cqw,22px)/1.23 Georgia,serif;letter-spacing:-.01em;margin:0 0 10px;text-wrap:pretty}#galSlides .copy .attribution{font:600 clamp(13px,3.6cqw,15px)/1.4 Arial,sans-serif;letter-spacing:.02em}#galSlides .ingredients .copy{top:auto;bottom:6%;right:auto;width:62%}#galSlides .ingredients .copy h2{font-size:6.5cqw}#galSlides .ingredients .support{top:6%;bottom:auto;left:auto;width:65%;text-align:right}#galSlides .ingredients .support p{font-size:clamp(14px,3.9cqw,16px)}#galSlides .texture .copy{top:5%;right:auto;width:78%}#galSlides .texture .copy h2{font-size:6.6cqw}#galSlides .texture .support{bottom:4%;left:6%;right:6%}#galSlides .texture .support p{font-size:clamp(14px,3.9cqw,16px)}#galSlides .texture .support::before{display:none}#galSlides .refreshing .copy{top:55%;right:auto;width:64%}#galSlides .refreshing .copy h2{font-size:6.5cqw;margin-bottom:7px}#galSlides .refreshing .copy p{font-size:clamp(14px,4cqw,16px)}#galSlides .label .copy{top:4.5%}#galSlides .label .copy h2{font-size:6.2cqw;font-weight:700;text-wrap:nowrap}
.source-gallery{--serif:'Iowan Old Style',Palatino,Georgia,serif;--leather-ink:#221a10;--leather:#6e5637;--olive-ink:#75763a;--hair:#d9d2c2;--mono:ui-monospace,'SF Mono',Menlo,Consolas,monospace}
.source-gallery .original-slides{position:relative;aspect-ratio:4/4.3;background:#e9e5da;overflow:hidden;touch-action:pan-y}
.source-gallery .slide{position:absolute;inset:0;container-type:inline-size;overflow:hidden}
.source-gallery .slide[hidden]{display:none}
.source-gallery .slide>img{width:100%;height:100%;object-fit:cover;display:block}
.source-gallery .slide-cap{position:absolute;left:12px;right:12px;bottom:12px;background:rgba(251,249,244,.92);border:1px solid var(--hair);padding:12px 16px;backdrop-filter:blur(7px)}
.source-gallery .slide-cap .spec{display:block;font:9px/1.5 var(--mono);letter-spacing:.18em;text-transform:uppercase;margin-bottom:4px;color:var(--olive-ink)}
.source-gallery .slide-cap p{font:clamp(15px,1.4vw,20px)/1.35 var(--serif);color:var(--leather-ink)}
.source-gallery .slide-cap p i{color:var(--leather)}
.source-gallery .slide-cap .sub{display:block;margin-top:5px;font-size:11px;color:#70664d;line-height:1.5}
.source-gallery .slide-spec{position:absolute;top:12px;left:12px;z-index:2;background:rgba(251,249,244,.9);border:1px solid var(--hair);padding:7px 12px;font:9px/1.4 var(--mono);letter-spacing:.2em;text-transform:uppercase;color:var(--leather-ink)}
.original-thumbs{display:flex;gap:8px;overflow-x:auto;padding:12px 0 6px;scroll-snap-type:x proximity}
.original-thumbs button{flex:0 0 65px;width:65px;height:65px;border:1px solid var(--line);padding:0;scroll-snap-align:center;background:white}
.original-thumbs [aria-pressed=true]{border:2px solid var(--ink)}
.original-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.source-gallery-controls{display:flex;justify-content:space-between;align-items:center;margin-top:4px;font-size:11px;color:var(--muted)}
.source-gallery-controls>div{display:flex;gap:7px}.source-gallery-controls button{width:44px;height:44px;border:1px solid var(--line);font-size:19px;color:var(--ink)}
.nz-made-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #b6c58d;border-radius:99px;padding:7px 12px;background:#e5edcc;color:#344b22;font:600 11px/1.2 Arial,sans-serif;margin-bottom:16px;white-space:nowrap}
.nz-made-pill>span:first-child{font-size:17px;line-height:1}.nz-city{font-weight:400;color:#53613a}
.mechanism-inset{position:absolute;right:4%;top:9%;width:38%;z-index:3;pointer-events:none}
.mechanism-inset>img{display:block;width:100%;height:auto;filter:drop-shadow(0 3px 9px #191a1250)}
.mechanism-inset>span{display:block;margin:0 auto;width:max-content;max-width:100%;padding:5px 7px;background:#f8f9f1ed;border-radius:99px;font:9px/1.2 Arial,sans-serif;color:#27391e;text-align:center}
.slide-help{margin-left:4px}
.brightening-mechanism::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#17201770,transparent 40%,transparent 85%,#17201745);pointer-events:none}
.brightening-head{position:absolute;z-index:3;left:6%;right:5%;top:6%;color:white;text-shadow:0 1px 5px #0007}
.brightening-head h2{font:700 8.3cqw/1.02 Georgia,serif;letter-spacing:-.035em;margin:0 0 3.2cqw}
.brightening-head p{font:600 3.6cqw/1.3 Arial,sans-serif;margin:0}
.brightening-lens{position:absolute;right:3%;bottom:4%;width:49%;z-index:3;filter:drop-shadow(0 3px 8px #29231755)}
.brightening-lens>img{display:block;width:100%;height:auto}
.micro-label{position:absolute;display:flex;align-items:flex-start;gap:1cqw;color:#27391e;background:#fffdf3f5;padding:1.5cqw 1.9cqw;border:1px solid #e4dfc9;border-radius:2cqw;font:700 clamp(10px,2.8cqw,22px)/1.1 Arial,sans-serif;box-shadow:0 2px 7px #1a20191a}
.micro-label i{flex:0 0 1.5cqw;width:1.5cqw;height:1.5cqw;margin-top:.5cqw;border:1px solid #bdbaa5;border-radius:50%;background:#f5ecd8}
.micro-label strong{display:block;font-weight:700;white-space:nowrap}.micro-label small{display:block;margin-top:.7cqw;font:400 clamp(9px,2.3cqw,18px)/1.2 Arial,sans-serif;white-space:nowrap}
.micro-tallow{left:-17%;top:9%}.micro-vitamin{right:1%;top:42%}.micro-caffeine{right:5%;bottom:3%}
.micro-vitamin i{background:#ecc04e;border-color:#d7a836}.micro-caffeine i{background:#6abbb6;border-color:#4d9d98}
.micro-note{position:absolute;z-index:4;bottom:3.8%;left:6%;font:500 2.65cqw/1.2 Arial,sans-serif;color:white;text-shadow:0 1px 3px #000c}
.micro-focus{position:absolute;z-index:2;left:13%;top:61%;width:9%;aspect-ratio:1;border:1px solid #fff;border-radius:50%;box-shadow:0 0 0 3px #ffffff2a}
.micro-link{position:absolute;z-index:2;left:22%;top:65.5%;width:33%;height:1px;background:#fff;transform:rotate(-5deg);transform-origin:left}
@media(max-width:700px){.source-gallery .original-slides{aspect-ratio:1}.original-thumbs button{flex-basis:49px;width:49px;height:49px}.original-thumbs{gap:6px;padding-top:9px}.nz-made-pill{font-size:10px;padding:6px 10px;margin-bottom:13px}.nz-made-pill>span:first-child{font-size:15px}.source-gallery-controls{font-size:10px}.source-gallery .slide-cap p{font-size:16px}.source-gallery .slide-cap .spec{font-size:8px}.source-gallery .slide-cap .sub{font-size:10px}.source-gallery .slide-spec{font-size:8px;max-width:calc(100% - 24px)}.mechanism-inset>span{font-size:8px;padding:4px 5px}}

/* Shared Eye Cream-style text, directly on each product photo. */
.source-gallery .rv-photo-copy,.source-gallery .rv-photo-support{position:absolute;left:6%;right:6%;z-index:2;color:white;pointer-events:none;text-shadow:-.55px 0 1px #000b,.55px 0 1px #000b,0 -.55px 1px #000b,0 1px 2px #000c,0 3px 10px #0007}
.source-gallery .rv-photo-copy{top:6%}.source-gallery .rv-photo-copy h2{font:700 7.6cqw/1.08 Georgia,serif;letter-spacing:-.025em;margin:0;text-wrap:pretty}.source-gallery .rv-photo-copy h2 i,.source-gallery .rv-photo-copy h2 em{color:inherit;font-weight:700}
.source-gallery .rv-photo-support{bottom:6%}.source-gallery .rv-photo-support p{font:600 clamp(13px,3.9cqw,18px)/1.35 Arial,sans-serif;margin:0}
.source-gallery .slide:has(.rv-photo-copy):after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#10181045,transparent 40%,transparent 70%,#10181066)}

/* Serum storyboard: grey artwork slots keep the planned six-slide sequence. */
.source-gallery .serum-art-placeholder{background:#d7d8d5}
.source-gallery .serum-art-placeholder .rv-photo-copy,.source-gallery .serum-art-placeholder .rv-photo-support{color:#263426;text-shadow:none}
.source-gallery .serum-art-placeholder:after{display:none!important}
.serum-art-pending{position:absolute;top:48%;left:8%;right:8%;text-align:center;color:#666d64;font:12px/1.4 Arial,sans-serif}
.serum-placeholder-thumb{display:flex;align-items:center;justify-content:center;min-height:100%;background:#d7d8d5;color:#394437;font:10px/1.2 Arial,sans-serif}
.source-gallery .serum-copy-bottom .rv-photo-copy{top:auto;bottom:24%}
.source-gallery .serum-copy-bottom .rv-photo-copy h2{font-size:6.6cqw}
.source-gallery .serum-copy-bottom .rv-photo-support small{display:block;margin-top:8px;font-size:10px;font-weight:400}
.source-gallery .serum-copy-bottom:after{background:linear-gradient(0deg,#10181080,transparent 48%)!important}

/* Serum: headings only, with a compact illustrative egg overlay. */
.source-gallery .slide > img.serum-egg-overlay{position:absolute;inset:auto -1% -1% auto;width:30%;height:auto;object-fit:contain;z-index:3;pointer-events:none}
.source-gallery .slide:has(> .serum-egg-overlay) .rv-photo-support{right:36%}
.source-gallery .serum-copy-bottom .rv-photo-copy{bottom:7%}

.source-gallery .serum-story-slide[data-i="4"] .rv-photo-copy{color:#263426;text-shadow:none}
.source-gallery .serum-story-slide[data-i="4"]:after{display:none!important}

/* Let the first Serum slide’s eggs overlap the gallery frame. */
.source-gallery .original-slides:has(.serum-egg-overlay){overflow:visible;isolation:isolate;z-index:2}
.source-gallery .slide:has(> .serum-egg-overlay){overflow:visible;z-index:2}
.source-gallery .slide > img.serum-egg-overlay{z-index:5}

/* Readable customer quotes on the bedside and application slides. */
.source-gallery .serum-story-slide[data-i="2"] .rv-photo-copy h2,
.source-gallery .serum-story-slide[data-i="3"] .rv-photo-copy h2{font-size:6.4cqw;line-height:1.13}
.serum-quote-name{display:block;margin-top:14px;font:500 3.2cqw/1.4 Arial,sans-serif;letter-spacing:0}


/* Day Cream only: photo-led headings, one exact quote, a simple moisture lens. */
.source-gallery .day-story-slide .rv-photo-copy h2{font-size:7.1cqw;line-height:1.08;text-wrap:pretty}
.source-gallery .day-story-hero>img{object-position:50% 30%}
.source-gallery .day-story-quote>img{object-position:50% 55%}
.source-gallery .day-story-application>img{object-position:50% 52%}
.source-gallery .day-story-origin>img{object-position:50% 70%}
.source-gallery .day-story-quote .rv-photo-copy h2{font-size:6.4cqw;line-height:1.13}
.source-gallery .day-quote-name{font:500 3.2cqw/1.4 Arial,sans-serif;margin:3cqw 0 0}
.source-gallery .day-story-support p{font:600 3.6cqw/1.35 Arial,sans-serif;margin:0;max-width:92%;text-wrap:pretty}
.source-gallery .day-story-mechanism .rv-photo-copy{top:auto;bottom:7%}
.source-gallery .day-story-mechanism .rv-photo-copy h2{font-size:6.7cqw}
.source-gallery .day-story-mechanism:after{background:linear-gradient(0deg,#101810a6,transparent 48%)}
.source-gallery .day-moisture-lens{position:absolute;left:6%;top:6%;width:61%;aspect-ratio:1;border:2px solid #fffdf5;border-radius:50%;background:#fffdf5f5;color:#283b25;z-index:3;box-shadow:0 1cqw 3cqw #18241230;overflow:hidden;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
.source-gallery .day-lens-label{position:relative;z-index:1;font:400 3.2cqw/1.25 Arial,sans-serif;width:100%}
.source-gallery .day-lens-label strong{display:block;font-weight:700;font-size:3.6cqw}
.source-gallery .day-lens-label span{display:block;margin-top:.6cqw}
.source-gallery .day-lens-art{display:block;width:88%;height:auto;flex:0 0 auto;margin:1.8cqw 0}
.source-gallery .day-concept-note{position:absolute;z-index:3;top:calc(6% + 62cqw);left:6%;font:500 2.3cqw/1.25 Arial,sans-serif;color:white;text-shadow:0 1px 3px #000}
.source-gallery .day-story-ingredients{background:#f0eee5}
.source-gallery .day-story-ingredients>img{object-fit:contain;position:absolute;inset:24% 8% 15%;width:84%;height:61%}
.source-gallery .day-story-ingredients .rv-photo-copy{color:#293b25;text-shadow:none}
.source-gallery .day-story-ingredients:after{display:none}
.source-gallery .day-ingredient-list{position:absolute;left:6%;right:6%;bottom:5%;z-index:2;margin:0;color:#394b31;text-align:center;font:500 3.2cqw/1.55 Arial,sans-serif}
.source-gallery .day-story-origin .rv-photo-copy h2{font-size:6.7cqw}
.source-gallery .day-story-slide.day-art-placeholder{background:#dededb}
.source-gallery .day-story-slide.day-art-placeholder:after{display:none}
.source-gallery .day-art-placeholder .rv-photo-copy,.source-gallery .day-art-placeholder .rv-photo-support,.source-gallery .day-art-placeholder .day-concept-note{color:#30372e;text-shadow:none}
.source-gallery .day-placeholder-thumb{display:grid;place-items:center;min-height:64px;height:100%;background:#dededb;color:#52584e;font:500 14px Arial,sans-serif}
@media(max-width:700px){.source-gallery .day-moisture-lens{width:58%}.source-gallery .day-concept-note{top:calc(6% + 59cqw)}.source-gallery .day-story-ingredients>img{inset:25% 9% 16%;width:82%;height:59%}}

/* Night Cream: photo-first captions and one readable ingredient concept. */
.source-gallery .night-story-slide .rv-photo-copy h2{font-size:7.2cqw;line-height:1.09}
.source-gallery .night-story-slide .rv-photo-support p{font-size:3.6cqw;line-height:1.3}
.source-gallery .night-story-slide.night-review .rv-photo-copy h2{font-size:5.8cqw;line-height:1.16}
.night-quote-name{display:block;margin-top:3cqw;font:500 3.2cqw/1.35 Arial,sans-serif;letter-spacing:0}
.night-quote-stars{display:block;margin-top:3cqw;color:#f3db98;font:500 3.8cqw/1.2 Arial,sans-serif;letter-spacing:.15em}
.night-quote-stars+.night-quote-name{margin-top:1.2cqw}
.source-gallery .night-story-slide.night-hero .rv-photo-copy h2{font-size:6.8cqw}
.source-gallery .night-story-slide.night-review:after{background:linear-gradient(180deg,#10181090,transparent 85%)}
.source-gallery .night-story-slide.night-mechanism .rv-photo-copy{top:auto;bottom:7%;right:8%}
.source-gallery .night-story-slide.night-mechanism .rv-photo-copy h2{font-size:6.3cqw}
.source-gallery .night-story-slide.night-mechanism:after{background:linear-gradient(0deg,#101810a6,transparent 65%)}
.night-concept-note{position:absolute;right:4%;bottom:2%;font:400 2.1cqw/1.2 Arial,sans-serif;color:#fff;text-shadow:0 1px 3px #000a;z-index:3}
.source-gallery .night-story-slide.night-ingredients .rv-photo-copy{left:6%;right:5%}
.source-gallery .night-story-slide.night-ingredients .rv-photo-copy h2{font-size:6.4cqw}
.source-gallery .night-story-slide.night-origin .rv-photo-copy{top:auto;bottom:7%}
.source-gallery .night-story-slide.night-origin .rv-photo-copy h2{font-size:6.5cqw}
.source-gallery .night-story-slide.night-origin:after{background:linear-gradient(0deg,#101810a6,transparent 55%)}
.source-gallery .night-story-slide.night-art-placeholder{background:#dededb}
.source-gallery .night-story-slide.night-art-placeholder:after{display:none}
.source-gallery .night-art-placeholder .rv-photo-copy,.source-gallery .night-art-placeholder .rv-photo-support{color:#30372e;text-shadow:none}
.source-gallery .night-art-placeholder.night-origin .rv-photo-copy{top:6%;bottom:auto}
.source-gallery .night-placeholder-thumb{display:grid;place-items:center;min-height:64px;height:100%;background:#dededb;color:#52584e;font:500 14px Arial,sans-serif}
/* Generated product images leave light space for editable HTML captions. */
.source-gallery .night-story-slide.night-ingredients:after,.source-gallery .night-story-slide.night-origin:after{display:none}
.source-gallery .night-story-slide.night-ingredients .rv-photo-copy,.source-gallery .night-story-slide.night-ingredients .rv-photo-support,.source-gallery .night-story-slide.night-origin .rv-photo-copy{color:#293b25;text-shadow:none}
.source-gallery .night-story-slide.night-origin .rv-photo-copy{top:6%;bottom:auto}

/* Serum opening headline sits beside the eggs. */
.source-gallery .slide:has(> .serum-egg-overlay) .rv-photo-copy{top:auto;bottom:7%;left:6%;right:33%}
.source-gallery .slide:has(> .serum-egg-overlay) .rv-photo-copy h2{font-size:6.3cqw;line-height:1.08}
.source-gallery .slide:has(> .serum-egg-overlay):after{background:linear-gradient(0deg,#10181080,transparent 48%)}

/* Day Cream: full-frame photography and generated reference artwork. */
.source-gallery .day-story-ingredients>img{object-fit:cover;inset:0;width:100%;height:100%;object-position:50% 50%}
.source-gallery .day-story-ingredients .rv-photo-copy,.source-gallery .day-story-ingredients .day-ingredient-list{color:#293b25;text-shadow:none}
.source-gallery .day-story-ingredients:after{display:none}
.source-gallery .day-story-mechanism .day-concept-note{top:auto;bottom:2%;left:6%;color:white}
.source-gallery .day-story-origin>img{object-position:center}
