/* Personal color story: discover → palette → wearable color. */
.hero-art{--outfit:#c493a4}
.outfit-portrait{display:block;width:100%;height:100%;position:relative;isolation:isolate}
.outfit-color{fill:var(--outfit,#c493a4);mix-blend-mode:multiply;transition:fill .6s,opacity .8s;opacity:1}
.hero-art[data-phase="0"] .outfit-color{opacity:0}
.hero-art[data-phase="1"] .outfit-color{opacity:.25}
.hero-portrait .scan-line,.hero-portrait .scan-oval{transition:opacity .6s}
.hero-art:not([data-phase="0"]) .hero-portrait .scan-line,.hero-art:not([data-phase="0"]) .hero-portrait .scan-oval{opacity:0}
.hero-portrait{height:225px;background:#edeafa}
.hero-portrait>span{font-size:4.7px;background:#ffffffb8;bottom:0;padding:5px 0;backdrop-filter:blur(8px)}
.hero-phone{transition:transform 1.2s cubic-bezier(.22,1,.36,1),box-shadow 1s}
.hero-art[data-phase="0"] .hero-phone{transform:rotate(6deg) translateY(0)}
.hero-art[data-phase="1"] .hero-phone{transform:rotate(2deg) translateY(-8px)}
.hero-art[data-phase="2"] .hero-phone{transform:rotate(-2deg) translateY(-5px);box-shadow:0 30px 65px #4b4a832d}
.note-analysis{min-width:244px;transition:border-color .6s,box-shadow .6s}
.hero-art[data-phase="0"] .note-analysis{border-color:#a99ce9;box-shadow:0 10px 45px #6f63d51a}
.note-analysis #analysis-label{font-size:6px;letter-spacing:.07em}
.note-shade{width:208px;right:-16px;top:354px;padding:20px;transition:transform .8s,box-shadow .8s,border-color .8s}
.note-shade h4{font-size:22px;margin:9px 0 16px;letter-spacing:-.04em}
.wardrobe-swatches{display:flex;gap:9px;margin-bottom:13px}
.wardrobe-swatches button{height:30px;width:30px;flex:none;border-radius:50%;background:var(--outfit);border:3px solid #fff;box-shadow:0 0 0 1px #e4e7f0;transition:transform .25s,box-shadow .25s}
.wardrobe-swatches button:hover{transform:translateY(-3px)}
.wardrobe-swatches button[aria-pressed="true"]{box-shadow:0 0 0 1.5px #7867c8}
.note-shade p{font-size:9px;color:#7e8da6}.note-shade p b{color:#384c68;font-size:11px}
.interactive-cue{display:flex;align-items:center;gap:6px;font-size:5.5px;letter-spacing:.15em;color:#7566c9;margin-top:13px}
.interactive-cue i,.journey-scene-label>i{height:5px;width:5px;border-radius:50%;background:#8570da;box-shadow:0 0 0 4px #8570da15;animation:cue-pulse 2s ease-in-out infinite}
.hero-art[data-phase="2"] .note-shade{transform:rotate(0) translateY(-10px);border-color:#bdb3e8;box-shadow:0 20px 50px #6156a51a}
.hero-art .phone-swatches i{transition:transform .5s;transform:scale(.6);opacity:.45}
.hero-art[data-phase="1"] .phone-swatches i,.hero-art[data-phase="2"] .phone-swatches i{transform:scale(1);opacity:1}
.hero-product .product-photo{border-radius:0;overflow:visible;filter:drop-shadow(8px 15px 9px #27375b21)}
.hero-product{top:411px;left:4px}
.hero-process{position:absolute;left:50%;bottom:36px;transform:translateX(-50%);display:flex;align-items:center;gap:9px;background:#ffffffd9;border:1px solid #e0e5f3;border-radius:30px;padding:7px 13px;z-index:7;white-space:nowrap;box-shadow:0 9px 30px #38496b09}
.hero-process button{background:none;color:#a0abc0;display:flex;align-items:center;gap:5px;font-size:7px;padding:4px 0;transition:color .3s}
.hero-process button>span{font-size:8px}.hero-process button[aria-pressed=true]{color:#6658ca}.hero-process>i{width:13px;height:1px;background:#d8ddec}
.hero .art-caption{font-size:6px;bottom:12px}
/* Three distinct scroll scenes: the scan, the edit, the connected result. */
.journey{height:330vh;background:#edf0fc}
.journey-stage{background:radial-gradient(ellipse at 74% 52%,#e1ddfa 0,transparent 52%),linear-gradient(120deg,#f1f5fd,#eaeefa)}
.journey-heading h2{font-size:34px}
.journey-art{perspective:1200px;transform-style:preserve-3d}
.journey-circle{width:410px;height:410px;background:radial-gradient(circle,#ddd8f6,#e0e7f7 70%);transition:transform 1.2s cubic-bezier(.16,1,.3,1),background 1s}
.journey-circle:before{inset:-26px}.journey-circle:after{content:'';position:absolute;inset:24px;border:1px solid #aba5d73b;border-radius:50%}
.journey-device{transition:transform 1.1s cubic-bezier(.16,1,.3,1),filter 1s;transform:translate(5px,var(--scene-drift,0px)) rotateY(-12deg) rotateZ(-5deg) scale(1.03)}
.journey-device .phone{box-shadow:14px 24px 65px #4241702b}
.journey-portrait{background:#e9e4fa}
.journey-portrait .outfit-color{opacity:0;transition:opacity .8s}
.journey-portrait .scan-oval{width:66%;left:17%;height:70%;top:7%;border-style:dashed}
.journey-portrait .scan-line{left:7%;right:7%;height:55px;background:linear-gradient(transparent,#8070df39);box-shadow:0 8px 20px #8876dd16}
.journey-portrait .face-points i{box-shadow:0 0 0 5px #7b69ca21,0 0 18px #7963d170;animation:cue-pulse 2s ease-in-out infinite}
.journey-portrait .face-points i:nth-child(2){animation-delay:.3s}.journey-portrait .face-points i:nth-child(3){animation-delay:.6s}
.journey-scene-label{position:absolute;top:1%;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;font-size:6.5px;letter-spacing:.15em;color:#7566b9;white-space:nowrap;z-index:7}
.journey-radar{position:absolute;width:490px;height:490px;z-index:-1;pointer-events:none;transition:opacity .7s,transform 1s}
.journey-radar>i{position:absolute;inset:0;border:1px solid #9b8ac72e;border-radius:50%;animation:discovery-wave 4s ease-out infinite}
.journey-radar>i:nth-child(2){animation-delay:1.3s}.journey-radar>i:nth-child(3){animation-delay:2.6s}
.journey-radar>span{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,transparent 76%,#8d7cdb0d 95%,#8d7cdb27);animation:discovery-sweep 9s linear infinite;mask-image:radial-gradient(transparent 40%,black 41%)}
.scan-readout{position:absolute;left:-7px;top:35%;width:167px;padding:18px;background:#ffffffed;backdrop-filter:blur(12px);border:1px solid #d7d5ed;border-radius:12px;z-index:4;box-shadow:0 18px 45px #4a3f8612;transform:translateY(var(--scene-drift,0px));transition:opacity .5s,transform .8s}
.scan-readout>small{font-size:5px;letter-spacing:.12em;color:#9d91b9}.scan-readout>b{display:block;font-size:12px;margin:8px 0 15px;font-weight:500}.scan-readout>div{display:flex;justify-content:space-between;font-size:7px;padding:7px 0;border-top:1px solid #e9e5f3;color:#9a9db0}.scan-readout strong{font-weight:500;color:#706196}.scan-readout p{font-size:6px;color:#9da3ba;margin-top:8px}
.journey .float-palette{top:18%;right:-10px;width:177px;transition:transform 1s cubic-bezier(.16,1,.3,1),opacity .6s;transform:translate(90px,50px) rotate(18deg) scale(.8)}
.journey .float-product{display:none}
.selection-card{position:absolute;z-index:5;width:158px;min-height:198px;border:1px solid #e2dff0;border-radius:14px;background:#fff;box-shadow:0 20px 50px #4e47741a;padding:17px;opacity:0;transform:translateY(90px) rotate(12deg) scale(.7);transition:transform 1s cubic-bezier(.16,1,.3,1),opacity .65s;pointer-events:none}
.selection-index{font-size:5px;letter-spacing:.15em;color:#9d97b7;display:block}.selection-card .lipstick{margin:21px auto 18px;width:28px;height:65px;transform:rotate(-12deg)}
.selection-card>img{height:86px;width:65px;object-fit:contain;display:block;margin:9px auto}
.selection-card>b{display:block;font-weight:500;font-size:11px}.selection-card>small{font-size:6px;color:#939bb1;display:block;margin-top:4px}.selection-check{position:absolute;right:12px;top:12px;width:15px;height:15px;border-radius:50%;background:#eef5f2;color:#61907e;text-align:center;font-size:9px}
.select-lip{left:-5px;top:34%}.select-care{right:-12px;top:38%;transition-delay:.12s}
.match-profile{position:absolute;right:-6px;top:26%;width:219px;padding:26px;background:#fff;border:1px solid #ded9ee;border-radius:15px;z-index:5;box-shadow:0 24px 70px #5149791c;opacity:0;transform:translate(80px,30px) rotate(9deg) scale(.85);transition:transform 1s cubic-bezier(.16,1,.3,1),opacity .6s;pointer-events:none}
.match-profile>span{font-size:6px;letter-spacing:.15em;color:#9385b6}.match-profile>b{display:block;font-family:Manrope,sans-serif;font-size:28px;line-height:1.18;letter-spacing:-.05em;font-weight:500;margin:17px 0}.match-colors{display:flex;gap:7px}.match-colors i{width:30px;height:30px;border-radius:50%;box-shadow:inset 0 0 0 1px #00000005}.match-profile p{font-size:9px;line-height:1.8;color:#929bb1;margin:17px 0}.match-profile>a{display:flex;align-items:center;gap:20px;border-top:1px solid #e8e7f0;padding-top:13px;font-size:9px;color:#7260bd}.match-profile>a img{width:12px}
.journey[data-step="1"] .journey-device{transform:translate(0,-5px) rotateY(12deg) rotateZ(4deg) scale(.87);filter:saturate(.8)}
.journey[data-step="1"] .scan-readout,.journey[data-step="2"] .scan-readout{opacity:0;transform:translate(-70px,-15px) scale(.8);pointer-events:none}
.journey[data-step="1"] .journey-radar{opacity:.3;transform:scale(1.2)}
.journey[data-step="1"] .float-palette{opacity:1;transform:translate(-15px,-28px) rotate(6deg) scale(.94)}
.journey[data-step="1"] .select-lip{opacity:1;transform:translate(0,-5px) rotate(-8deg) scale(1)}
.journey[data-step="1"] .select-care{opacity:1;transform:translate(0,15px) rotate(7deg) scale(1)}
.journey[data-step="1"] .scan-oval,.journey[data-step="2"] .scan-oval{opacity:0}
.journey[data-step="2"] .journey-device{transform:translate(-85px,-6px) rotateY(-7deg) rotateZ(-7deg) scale(.96)}
.journey[data-step="2"] .journey-portrait .outfit-color{opacity:1}
.journey[data-step="2"] .journey-circle{transform:scale(1.18);background:radial-gradient(circle,#e7ddf5,#dfe7f7 70%)}
.journey[data-step="2"] .journey-radar{opacity:.15;transform:scale(1.3)}
.journey[data-step="2"] .float-palette{opacity:0;transform:translate(-80px,30px) scale(.6)}
.journey[data-step="2"] .select-lip{transform:translate(210px,-20px) rotate(0) scale(.3);opacity:0}.journey[data-step="2"] .select-care{transform:translate(-40px,-60px) scale(.3);opacity:0}
.journey[data-step="2"] .match-profile{opacity:1;transform:translate(0,-5px) rotate(2deg) scale(1);pointer-events:auto;transition-delay:.13s}
.journey[data-step="2"] .journey-match{opacity:1;transform:translate(-10px,0);bottom:7%;padding:12px 18px;font-size:9px;box-shadow:0 10px 30px #4a688312}
.journey .chapter-text{min-height:220px}.journey .chapter-tabs button[aria-pressed=true]{color:#6050ba;font-weight:600}.journey .chapter-tabs button>span{width:25px;margin-right:10px}.journey .chapter-tabs button[aria-pressed=true]>span{background:#6e5bca;color:white;border-radius:50%;height:25px;display:grid;place-items:center}
@keyframes cue-pulse{50%{box-shadow:0 0 0 6px #8570da08}}
@keyframes discovery-wave{0%{transform:scale(.68);opacity:0}20%{opacity:.8}100%{transform:scale(1.15);opacity:0}}
@keyframes discovery-sweep{to{transform:rotate(360deg)}}
@media(max-width:1050px) and (min-width:761px){.journey-layout{gap:20px;grid-template-columns:.9fr 1.25fr}.journey .chapter-text h3{font-size:38px}.journey-art{width:100%;transform:scale(.87)}.scan-readout{left:-20px}.select-lip{left:-25px}.select-care{right:-25px}.match-profile{right:-30px}.journey .float-palette{right:-25px}}
@media(max-width:760px){.note-shade{right:calc(50% - 215px);top:365px;width:174px;padding:15px}.note-shade h4{font-size:18px;margin-bottom:12px}.wardrobe-swatches{gap:7px}.wardrobe-swatches button{width:27px;height:27px}.note-analysis{min-width:215px;left:calc(50% - 211px)}.note-analysis #analysis-label{font-size:5px}.note-analysis b{font-size:8px}.hero-product{left:calc(50% - 189px);top:409px}.hero-process{bottom:34px}.hero-process button{font-size:6px}.hero-process button>span{font-size:7px}.hero .art-caption{bottom:11px;font-size:5px}.journey{height:310vh}.journey-stage{min-height:715px}.journey-inner{padding-top:24px}.journey-heading h2{font-size:24px;margin-top:9px}.journey-heading .eyebrow{font-size:6px}.journey-art{width:520px;align-self:center;height:300px;min-height:300px;max-height:300px;transform:scale(.61);margin:15px 0 8px;transform-origin:50% 50%}.journey-device{width:235px}.journey-device .phone{height:455px}.journey-portrait{height:265px}.journey-circle{width:400px;height:400px}.journey-scene-label{top:-72px;font-size:8px}.journey .float-palette{right:0;top:-45px}.scan-readout{left:0;top:29%}.selection-card{top:27%;min-height:190px}.select-lip{left:0}.select-care{right:0}.match-profile{right:0;top:3%}.journey[data-step="2"] .journey-match{bottom:-60px;right:30px}.journey-copy{padding-top:8px}.journey .chapter-text{min-height:112px}.journey .chapter-text h3{font-size:28px!important}.journey .chapter-text p{font-size:11px;margin-top:11px}.journey .chapter-tabs{margin-top:10px;gap:13px}.journey .chapter-tabs button{font-size:8px;min-height:62px}.journey .chapter-tabs button>span{margin-bottom:6px;height:17px;width:20px}.journey .chapter-tabs button[aria-pressed=true]>span{display:inline-grid;height:17px;width:20px;border-radius:4px}.journey-bottom{font-size:5px}.journey-heading{flex:none}}
@media(max-width:380px){.journey-stage{min-height:740px}.hero-art{transform:scale(.79);margin-left:-5px}.journey-art{transform:scale(.55);margin-top:0;margin-bottom:0}.journey .chapter-text h3{font-size:25px!important}}
@media(prefers-reduced-motion:reduce){.hero-art .hero-phone{transform:none!important}.journey-stage{min-height:850px}.journey .journey-layout{min-height:640px}.journey-radar{display:none}.hero-art .outfit-color{opacity:1}.journey .chapter-text{min-height:200px}.hero-process button,.wardrobe-swatches button{transition:none}}
