/* Smooth Skin Finder v3: the home page only (loaded by home.html after v3.css). */
/* ================= Home, 18 Nov (Joshua): a studio-dark hero, treatment cards, prices, featured cities, a designed before-you-book.
   Mobile first. Text on dark is near-white, never mid-grey; the one accent colour is the warm glow of the photographs. ================= */
.v3 .hx2{--hd:#0B0A09;--hp:#F7F2EA;--hp2:#E6DFD4;--hg:#F0B98E;background:var(--hd);color:var(--hp);display:flex;flex-direction:column;min-height:0;border:0}
.v3 .hx2 .hx-ph{order:0;position:relative;aspect-ratio:1.05;background:var(--hd)}
.v3 .hx2 .hx-ph img{width:100%;height:100%;object-fit:cover}
.v3 .hx2 .hx-ph::before{content:"";position:absolute;inset:auto 0 0 0;height:38%;background:linear-gradient(to top,var(--hd),rgba(11,10,9,0));z-index:1;pointer-events:none}
.v3 .hx2 .hx-copy{order:1;padding:0 var(--m) 40px;margin-top:-72px;position:relative;z-index:2;max-width:none;justify-self:auto}
.v3 .hx2 .hx-k{color:var(--hg);margin-bottom:16px}
.v3 .hx2 #hx-h{color:var(--hp);font-size:clamp(40px,11vw,56px);line-height:1.02;max-width:12ch}
.v3 .hx2 .hx-s{color:var(--hp2);font-size:18px;line-height:28px;margin-top:20px;max-width:34ch}
.v3 .hx2 .hx-f{flex-direction:column;margin-top:28px;max-width:600px;gap:8px}
.v3 .hx2 .hx-f input{background:#FFFDF9;color:#17181A;border:0;border-radius:2px;height:58px;font-size:17px;padding:0 20px}
.v3 .hx2 .hx-f input::placeholder{color:#686B6F}
.v3 .hx2 .hx-f input:focus{box-shadow:0 0 0 3px var(--hg)}
.v3 .hx2 .hx-f .b1{height:58px;width:100%;border-radius:2px;background:#C8321A;color:#fff;font-size:17px;letter-spacing:.01em}
.v3 .hx2 .hx-f .b1:hover{background:#A82814}
.v3 .hx2 .hx-browse{color:var(--hp2);margin-top:18px}
.v3 .hx2 .hx-browse a{color:var(--hp);text-underline-offset:3px;text-decoration-color:rgba(247,242,234,.45)}
.v3 .hx2 .hx-browse a:hover{text-decoration-color:var(--hg)}
.v3 .hx2 :focus-visible{outline-color:var(--hp)}
.v3 .hx2 .facts3{padding:0;margin-top:36px;border-top:1px solid rgba(247,242,234,.22)}
.v3 .hx2 .facts3 dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:none}
.v3 .hx2 .facts3 dl>div{flex-direction:column-reverse;align-items:flex-start;padding:18px 0 0;border:0;gap:6px}
.v3 .hx2 .facts3 dd{font-size:clamp(26px,7vw,48px);color:var(--hp)}
.v3 .hx2 .facts3 dt{color:var(--hp2);text-align:left;font-size:11px;line-height:15px;letter-spacing:.06em;max-width:none}
.v3 .hx2 .hx-beam{position:relative;bottom:auto;order:2;padding:8px var(--m) 28px}
.v3 .hx2 .beam,.v3 .hx2 .beam-ir{color:var(--hp)}
.v3 .hx2 .beam-t,.v3 .hx2 .beam-e{color:var(--hp2)!important;text-shadow:none!important;mix-blend-mode:normal!important}
.v3 .hx2 .beam-t i{background:var(--hp2)!important}.v3 .hx2 .beam-t em{color:var(--hp2)!important}
.v3 .hx2 .beam-br{border-color:rgba(247,242,234,.4)}
@media (min-width:900px){
 .v3 .hx2{display:grid;grid-template-columns:minmax(0,11fr) minmax(0,10fr);grid-template-rows:1fr auto;min-height:min(calc(100svh - var(--hh)),920px)}
 .v3 .hx2 .hx-ph{grid-column:2;grid-row:1/3;aspect-ratio:auto;height:100%}
 .v3 .hx2 .hx-ph::before{inset:0 auto 0 0;width:36%;height:auto;background:linear-gradient(to right,var(--hd),rgba(11,10,9,0))}
 .v3 .hx2 .hx-copy{grid-column:1;grid-row:1;margin:0;align-self:center;justify-self:end;width:100%;max-width:calc(var(--max) * .55);padding:88px 24px 48px var(--m);box-sizing:border-box}
 .v3 .hx2 #hx-h{font-size:clamp(52px,5.4vw,84px);max-width:11ch}
 .v3 .hx2 .hx-s{font-size:21px;line-height:32px;max-width:30ch}
 .v3 .hx2 .hx-f{flex-direction:row;gap:0;margin-top:40px}
 .v3 .hx2 .hx-f input{border-radius:2px 0 0 2px;flex:1}
 .v3 .hx2 .hx-f .b1{width:auto;padding:0 32px;border-radius:0 2px 2px 0}
 .v3 .hx2 .facts3{margin-top:56px;max-width:600px}
 .v3 .hx2 .hx-beam{grid-column:1;grid-row:2;justify-self:end;width:100%;max-width:calc(var(--max) * .55);box-sizing:border-box;padding:0 24px 32px var(--m)}
}
@media (max-width:899px){.v3 .hx2 .hx-beam .beam-t:nth-of-type(1),.v3 .hx2 .hx-beam .beam-t:nth-of-type(3){display:none}}

/* treatment cards */
.v3 .tx3{padding:72px var(--m) 80px;background:var(--paper)}
.v3 .tx3-head,.v3 .tx3-l{max-width:var(--max);margin:0 auto}
.v3 .tx3-head h2{margin-top:12px}
.v3 .tx3-l{list-style:none;padding:0;margin-top:32px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.v3 .tx3-c{position:relative;display:block;aspect-ratio:.8;overflow:hidden;border-radius:3px;background:#2a1c12;color:#fff;text-decoration:none;isolation:isolate}
.v3 .tx3-ph{position:absolute;inset:0;margin:0}
.v3 .tx3-ph img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--e2)}
.v3 .tx3-c::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(10,8,6,.86) 0%,rgba(10,8,6,.5) 34%,rgba(10,8,6,0) 62%);z-index:1}
.v3 .tx3-t{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:14px 14px 16px;display:flex;flex-direction:column;gap:4px}
.v3 .tx3-n{font:400 22px/1.08 var(--disp);letter-spacing:-.01em}
.v3 .tx3-b{display:none;font-size:14px;line-height:20px;color:#F1EBE2}
.v3 .tx3-k{font:500 11px/15px var(--sans);letter-spacing:.06em;text-transform:uppercase;color:#F7D9C0}
.v3 .tx3-c:hover .tx3-ph img,.v3 .tx3-c:focus-visible .tx3-ph img{transform:scale(1.045)}
.v3 .tx3-c:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media (min-width:600px){.v3 .tx3-l{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.v3 .tx3-b{display:block}.v3 .tx3-n{font-size:28px}.v3 .tx3-t{padding:22px 22px 24px}}
@media (min-width:900px){.v3 .tx3{padding:120px var(--m)}.v3 .tx3-head{display:flex;justify-content:space-between;align-items:end;gap:48px}.v3 .tx3-head .lab{order:2}.v3 .tx3-l{margin-top:48px;gap:20px}.v3 .tx3-n{font-size:34px}}

/* price highlights: a warm band with big numerals */
.v3 .pr3{background:#EFDCCB;color:#17181A;padding:72px var(--m)}
.v3 .pr3-head,.v3 .pr3-l,.v3 .pr3-more{max-width:var(--max);margin-left:auto;margin-right:auto}
.v3 .pr3 .lab{color:#6B3A22}
.v3 .pr3 h2{margin-top:12px;color:#17181A}
.v3 .pr3 .lede{margin-top:16px;font-size:18px;line-height:28px;color:#3E3329}
.v3 .pr3-l{list-style:none;padding:0;margin-top:36px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid rgba(23,24,26,.25)}
.v3 .pr3-l li{display:flex;flex-direction:column;gap:6px;padding:20px 12px 24px 0;border-bottom:1px solid rgba(23,24,26,.25)}
.v3 .pr3-a{font:500 12px/16px var(--sans);letter-spacing:.08em;text-transform:uppercase;color:#17181A}
.v3 .pr3-v{display:flex;align-items:baseline;gap:6px}
.v3 .pr3-v small{font-size:14px;color:#3E3329}
.v3 .pr3-v b{font:300 clamp(40px,10vw,76px)/1 var(--disp);letter-spacing:-.03em;color:#17181A}
.v3 .pr3-n{font-size:13px;line-height:18px;color:#3E3329}
.v3 .pr3-more{margin-top:28px}
.v3 .pr3-more a{color:#17181A;font-weight:600}
@media (min-width:900px){.v3 .pr3{padding:120px var(--m)}.v3 .pr3-head{display:grid;grid-template-columns:6fr 5fr;gap:16px 64px;align-items:end}.v3 .pr3-head .lab{grid-column:1/-1}.v3 .pr3-head .lede{margin:0}
 .v3 .pr3-l{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:56px}.v3 .pr3-l li{padding:28px 24px 32px 0;border-right:1px solid rgba(23,24,26,.25);padding-left:24px}.v3 .pr3-l li:first-child{padding-left:0}.v3 .pr3-l li:last-child{border-right:0}}

/* the constellation: brighter words on the night */
.v3 .cx .lab{color:#E7C3A4}
.v3 .cx .lede{color:#E6E1D8}
.v3 .cx-c{color:#D6D0C6}

/* featured cities: each city's own night map */
.v3 .ct3{background:var(--night);color:#F7F2EA;padding:8px var(--m) 96px}
.v3 .ct3-head,.v3 .ct3-l{max-width:var(--max);margin:0 auto}
.v3 .ct3 .lab{color:#E7C3A4}
.v3 .ct3 h2{margin-top:12px;color:#F7F2EA}
.v3 .ct3-l{list-style:none;padding:0;margin-top:32px;display:grid;grid-template-columns:1fr;gap:12px}
.v3 .ct3-c{position:relative;display:block;overflow:hidden;border-radius:3px;border:1px solid rgba(247,242,234,.16);color:#F7F2EA;text-decoration:none;background:#0d0e10}
.v3 .ct3-c img{display:block;width:100%;height:auto;aspect-ratio:2.4;object-fit:cover;transition:transform 1.2s var(--e2),opacity .4s}
.v3 .ct3-t{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:40px 18px 14px;background:linear-gradient(to top,rgba(10,10,12,.9),rgba(10,10,12,0))}
.v3 .ct3-n{font:400 26px/1 var(--disp);letter-spacing:-.01em}
.v3 .ct3-k{font:500 12px/16px var(--sans);letter-spacing:.06em;text-transform:uppercase;color:#F7D9C0}
.v3 .ct3-c:hover img{transform:scale(1.04)}
.v3 .ct3-c:hover{border-color:rgba(240,185,142,.7)}
.v3 .ct3 :focus-visible{outline-color:#F7F2EA}
@media (min-width:600px){.v3 .ct3-l{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:900px){.v3 .ct3{padding:16px var(--m) 144px}.v3 .ct3-l{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:48px}.v3 .ct3-n{font-size:30px}}

/* before you book: a designed module, big numerals */
.v3 .qx2{background:#1A1411;color:#F7F2EA;padding:80px var(--m)}
.v3 .qx2>h2{color:#F7F2EA;max-width:var(--max)}
.v3 .qx2 .qx-l{gap:0;margin-top:40px;grid-template-columns:1fr}
.v3 .qx2 .qx-l li{border-top:1px solid rgba(247,242,234,.22);padding:28px 0 32px;display:grid;grid-template-columns:72px 1fr;column-gap:16px}
.v3 .qx2 .qx-l h3{grid-column:2;color:#F7F2EA;font:400 26px/1.15 var(--disp);letter-spacing:-.01em}
.v3 .qx2 .qx-l h3::before{content:counter(q,decimal-leading-zero);position:absolute;margin-left:-88px;font:300 56px/1 var(--disp);color:#F0B98E;letter-spacing:-.04em}
.v3 .qx2 .qx-l li{position:relative}
.v3 .qx2 .qx-l p{grid-column:2;color:#E6DFD4;font-size:16px;line-height:26px;margin-top:10px;max-width:40ch}
@media (min-width:900px){.v3 .qx2{padding:144px var(--m)}.v3 .qx2 .qx-l{grid-template-columns:repeat(3,minmax(0,1fr));gap:48px;margin-top:72px}
 .v3 .qx2 .qx-l li{display:block;padding-top:32px}.v3 .qx2 .qx-l h3::before{position:static;display:block;margin:0 0 28px;font-size:96px}.v3 .qx2 .qx-l h3{font-size:30px}}

/* reveals for the new sections, staggered by --i */
@media (prefers-reduced-motion:no-preference){.v3 .rv.io{transition-delay:calc(var(--i,0) * 70ms)}}
@media (min-width:900px){.v3 .hx2 .hx-beam{grid-column:1/-1;grid-row:2;justify-self:center;max-width:calc(var(--max) + var(--m) * 2);padding:0 var(--m) 36px;z-index:3}
 .v3 .hx2 .hx-copy{padding-bottom:132px}}
.v3 .hx2 .facts3 dl{align-items:start}
.v3 .hx2 .facts3 dl>div{flex-direction:column;justify-content:flex-start}
.v3 .hx2 .facts3 dd{order:1}.v3 .hx2 .facts3 dt{order:2}
@media (max-width:899px){.v3 .hx2 .hx-ph{aspect-ratio:1.3}.v3 .hx2 .hx-ph img{object-position:50% 30%!important}.v3 .hx2 .hx-copy{margin-top:-20px}.v3 .hx2 .hx-ph::before{height:30%}}

/* treatment cards: a swipe strip on phones, one row of six on wide screens, so the map stays near the top */
@media (max-width:599px){.v3 .tx3{padding:48px 0 56px}.v3 .tx3-head{padding:0 var(--m)}
 .v3 .tx3-l{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;padding:0 var(--m) 4px;scroll-padding:0 var(--m);scrollbar-width:none;margin-top:24px}
 .v3 .tx3-l::-webkit-scrollbar{display:none}
 .v3 .tx3-l li{flex:0 0 58vw;scroll-snap-align:start}.v3 .tx3-n{font-size:28px}}
@media (min-width:1100px){.v3 .tx3{padding:96px var(--m) 104px}.v3 .tx3-l{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-top:40px}
 .v3 .tx3-c{aspect-ratio:.72}.v3 .tx3-n{font-size:28px}.v3 .tx3-t{padding:16px 16px 18px}.v3 .tx3-b{font-size:13px;line-height:18px}}
/* serif never under 28px (type scale) */
.v3 .hx2 .facts3 dd{font-size:clamp(28px,7vw,48px)}
.v3 .ct3-n{font-size:28px}
.v3 .qx2 .qx-l h3{font-size:28px}
/* text reveals move but never fade (contrast stays full) */
@media (prefers-reduced-motion:no-preference){.v3 li.rv.io{opacity:1}}
/* the line of light stays on a 900 px first screen */
@media (min-width:900px){.v3 .hx2{min-height:min(calc(100svh - var(--hh)),828px)}.v3 .hx2 .hx-copy{padding-top:48px;padding-bottom:112px}.v3 .hx2 .facts3{margin-top:36px}.v3 .hx2 .hx-f{margin-top:32px}.v3 .hx2 #hx-h{font-size:clamp(52px,5vw,78px)}}
.v3 li.rv:nth-child(2){--i:1}.v3 li.rv:nth-child(3){--i:2}.v3 li.rv:nth-child(4){--i:3}.v3 li.rv:nth-child(5){--i:4}.v3 li.rv:nth-child(6){--i:5}
/* phones: the hero ends with the numbers (the line of light is the spectrum section's), the cards stay one swipe row */
@media (max-width:899px){.v3 .hx2 .hx-beam{display:none}.v3 .hx2 .hx-copy{padding-bottom:32px}.v3 .hx2 .hx-f{margin-top:24px}.v3 .hx2 .facts3{margin-top:24px}}
@media (max-width:599px){.v3 .tx3{padding:40px 0 40px}.v3 .tx3-head h2{font-size:32px;line-height:1.05}.v3 .tx3-l{margin-top:20px}.v3 .tx3-l li{flex-basis:50vw}}
