/* sf-ui redesign 2026-10-14: light, photo-first, chips */
:root{--bg:#FAF8F5;--ink:#111;--ink2:#F1EDE7;--panel:#fff;--accent:#5B2A86;--onaccent:#fff;--glow:#5B2A86;--glow2:#7A4BA6;--line:#E8E4DE;--display:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--body:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--mono:Inter,system-ui,sans-serif}
html,body{background:var(--bg);color:var(--ink);font-family:var(--body);overflow-x:hidden}
h1,h2,h3{font-family:var(--body);font-weight:600;letter-spacing:-.02em}
b,strong,.btn,button{font-weight:600}
p,li,label,small{font-weight:400}
.wrap{padding-left:20px;padding-right:20px}
header.nav{background:rgba(250,248,245,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
header.nav a{color:var(--ink)}
.eyebrow{font-family:var(--body);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#6b6460;background:none;border:0;padding:0}
.btn{background:var(--accent);color:#fff;border:0;border-radius:999px;min-height:48px;padding:12px 24px;display:inline-flex;align-items:center;justify-content:center;gap:8px;box-shadow:none}
.btn.ghost,.btn.sm.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.btn.sm{min-height:44px;padding:10px 18px}
.fine{color:#6b6460;font-size:13px}
section.alt{background:#F4F1EC}
input,select,textarea{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:16px}
/* old hero hidden; new hero */
section.hx{display:none!important}
.sfh{padding:24px 20px 32px;display:grid;gap:16px;min-height:calc(100svh - 140px);align-content:center;max-width:1120px;margin:0 auto}
.sfh h1{font-size:32px;line-height:1.1;margin:0;color:var(--ink)}
.sfh .sub{font-size:15px;color:#4a4542;margin:0}
.sfh-drop{position:relative;display:grid;place-items:center;aspect-ratio:4/5;max-height:52svh;width:100%;border-radius:24px;overflow:hidden;background:#EFEAE3 url(/looks/hero2.webp) center 30%/cover;border:0;padding:0;cursor:pointer}
.sfh-drop:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,17,17,0) 45%,rgba(17,17,17,.45))}
.sfh-drop .ai-label{position:absolute;top:12px;right:12px;z-index:2;font-size:12px;background:rgba(255,255,255,.9);color:#111;padding:4px 10px;border-radius:999px}
.sfh-cta{width:100%;min-height:56px;font-size:17px}
.sfh-cta svg{width:22px;height:22px}
.sfh-alt{text-align:center;font-size:15px;color:var(--ink);text-decoration:underline;text-underline-offset:3px;padding:8px;min-height:44px;display:block}
@media(min-width:900px){.sfh{grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto auto;column-gap:48px;min-height:auto;padding:56px 24px}.sfh>*{grid-column:1}.sfh-drop{grid-column:2;grid-row:1/6;max-height:640px}.sfh h1{font-size:52px}.sfh-cta{width:auto;justify-self:start}.sfh-alt{text-align:left;padding-left:0}}
/* try-on step */
#tryon-sec{padding-top:32px}
#tryon-sec h2{font-size:28px}
#tryon-sec>.wrap>p:not(#tryMsg){display:none}
#tryon>label:first-child{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#tryPrev{width:100%;max-height:46svh;object-fit:cover;border-radius:16px}
.sf-step{margin:16px 0}
.sf-step h3{font-size:15px;margin:0 0 8px;font-weight:600}
.sf-row{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 8px;margin:0 -20px;padding-left:20px;padding-right:20px;scrollbar-width:none}
.sf-row::-webkit-scrollbar{display:none}
.sf-wrap{display:flex;gap:8px;flex-wrap:wrap}
.sf-chip{flex:0 0 auto;scroll-snap-align:start;min-height:44px;padding:10px 16px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);font:inherit;font-size:15px;font-weight:400;display:inline-flex;align-items:center;gap:6px;cursor:pointer;transition:background .15s,color .15s,border-color .15s;-webkit-tap-highlight-color:transparent}
.sf-chip[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}
.sf-len{flex-direction:column;gap:4px;border-radius:16px;padding:8px 14px;min-width:84px}
.sf-len svg{width:28px;height:44px}
.sf-seg{display:inline-flex;border:1px solid var(--line);border-radius:999px;padding:3px;background:#fff;max-width:100%;overflow-x:auto}
.sf-seg .sf-chip{border:0;min-height:44px}
.sf-pill{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 16px;border-radius:999px;background:#F1EDE7;border:0;font:inherit;font-size:15px;color:var(--ink);cursor:pointer}
.sf-more{margin:12px 0}
.sf-more summary{min-height:44px;display:flex;align-items:center;font-size:15px;cursor:pointer;color:#4a4542}
.sf-more .row{display:grid;gap:8px;grid-template-columns:1fr 1fr 1fr}
.sf-more select,.sf-more textarea{width:100%;min-height:44px;box-sizing:border-box}
#tryon .consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.4;padding:12px;border:1px solid var(--line);border-radius:16px;background:#fff;margin:12px 0}
#tryon .consent input{width:22px;height:22px;flex:0 0 auto;accent-color:var(--accent)}
.sf-bar{position:sticky;bottom:calc(64px + env(safe-area-inset-bottom));z-index:20;background:linear-gradient(180deg,rgba(250,248,245,0),var(--bg) 30%);padding:16px 0 8px;margin:0 -20px;padding-left:20px;padding-right:20px}
.sf-bar .btn{width:100%;min-height:56px;font-size:17px}
#tryon>.btn.ghost.sm{display:none}
#tryon>.fine{display:none}
.sf-fine{font-size:13px;color:#6b6460}
/* results */
#tryOut img{width:100%;border-radius:16px}
#tryOut figcaption{font-size:13px}
.sf-res{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.sf-res .btn{width:100%}
.sf-shim{display:none;aspect-ratio:3/4;border-radius:16px;margin:12px 0;background:linear-gradient(100deg,#EFEAE3 30%,#F8F5F0 50%,#EFEAE3 70%);background-size:300% 100%;animation:sfsh 1.3s linear infinite}
body.sf-busy .sf-shim{display:block}
.tf-wait{background:linear-gradient(100deg,#EFEAE3 30%,#F8F5F0 50%,#EFEAE3 70%)!important;background-size:300% 100%!important;animation:sfsh 1.3s linear infinite;color:#6b6460!important}
@keyframes sfsh{0%{background-position:100% 0}100%{background-position:-100% 0}}
@media(prefers-reduced-motion:reduce){.sf-shim,.tf-wait{animation:none}}
/* secondary cards */
#outfit-sec .wrap,#size-guide-sec .wrap{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px 20px;margin:0 20px;max-width:1080px}
@media(min-width:1140px){#outfit-sec .wrap,#size-guide-sec .wrap{margin:0 auto}}
#outfit-sec h2,#size-guide-sec h2{font-size:24px}
#outfit-sec>.wrap>p:first-of-type,#size-guide-sec>.wrap>p:first-of-type{font-size:15px;color:#4a4542}
.bbar{background:rgba(250,248,245,.96)!important;border-top:1px solid var(--line)!important;color:var(--ink)!important}
.bbar a{color:var(--ink)!important}
footer{background:#F4F1EC;color:var(--ink)}
footer a{color:var(--ink)}
.chip{border-color:var(--line)}
#whoPick .taps{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;scrollbar-width:none;margin:0 -20px;padding:2px 20px 8px}
#whoPick .chip{flex:0 0 auto;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center}
body.sf-insec .sf-bar{position:fixed;left:0;right:0;margin:0;bottom:calc(64px + env(safe-area-inset-bottom));padding:12px 20px 8px}
body.sf-insec #tryon{padding-bottom:88px}
@media(min-width:900px){body.sf-insec .sf-bar{position:static;background:none;padding:16px 0}.sf-bar .btn{width:auto;min-width:240px}body.sf-insec #tryon{padding-bottom:0}}
body.sf-insec .sf-bar{background:var(--bg);border-top:1px solid var(--line)}
@media(min-width:900px){.sfh{min-height:70vh;align-content:center}body.sf-insec .sf-bar{border-top:0}}
#outfit-sec .consent,#size-guide-sec .consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.4;padding:12px;border:1px solid var(--line);border-radius:16px;background:#FAF8F5;margin:12px 0}
#outfit-sec .consent input{width:22px;height:22px;min-height:0;flex:0 0 auto;accent-color:var(--accent);margin:0}
#outfit-sec input[type=file]{font-size:13px;width:100%;min-height:44px;padding:8px;box-sizing:border-box}
#outfit-sec input[type=file]::file-selector-button{border:0;border-radius:999px;background:#F1EDE7;color:#111;padding:8px 12px;font:inherit;margin-right:6px}
.ot-grid label{font-size:15px}
#tryon .consent,#outfit-sec .consent{display:block!important;padding-left:46px;position:relative}
#tryon .consent input,#outfit-sec .consent input{position:absolute;left:12px;top:12px}
/* swipe feed: dark section, light text (2026-10-14) */
#looks-wrap{background:#111!important;color:#F5F2EE}
#looks-wrap h2,#looks-wrap h3,#looks-wrap p,#looks-wrap .eyebrow{color:#F5F2EE}
#looks-wrap .eyebrow{color:#CFC7BF}
#looks-wrap>.wrap>p{color:#D9D3CC}
.look-cap{background:linear-gradient(rgba(17,17,17,0),rgba(17,17,17,.88) 40%)!important;color:#fff}
.look-cap h3,.look-cap p{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.look-cap p{color:#EDE8E2!important}
.look-cap .tagai{color:#fff;border-color:rgba(255,255,255,.7);background:rgba(17,17,17,.35)}
.look-act .btn{background:#fff;color:#111}
.look-act .btn.ghost{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.55)}
.look-img img{object-position:center 25%}
/* benefit hero */
.sfh .benefit{font-size:18px;line-height:1.35;color:#111;margin:0;font-weight:400}
.sfh .sub{font-size:13px;color:#6b6460}
.sfh-steps{display:flex;gap:6px;flex-wrap:wrap;margin:0;padding:0;list-style:none;font-size:13px;color:#4a4542}
.sfh-steps li{display:inline-flex;align-items:center;gap:6px}
.sfh-steps li+li:before{content:"›";color:#B3ABA3;margin-right:2px}
.sfh-steps svg{width:16px;height:16px;color:#5B2A86}
@media(max-width:899px){.sfh{gap:12px;padding-top:16px}.sfh h1{font-size:30px}.sfh-drop{max-height:40svh}}
@media(min-width:900px){.sfh-drop{grid-row:1/9}.sfh{grid-template-rows:none;align-content:center}}
.look-cap .btn.ghost,.look-cap a.btn.ghost{background:rgba(255,255,255,.08)!important;color:#fff!important;border:1px solid rgba(255,255,255,.55)!important}
.look-cap .btn:not(.ghost){background:#fff!important;color:#111!important}
.look-cap span,.look-cap small,.look-cap .fine{color:#E6E0D9!important}
/* a11y focus (2026-10-15) */
a:focus-visible,.btn:focus-visible,.sf-chip:focus-visible,.sf-pill:focus-visible,.sfh-cta:focus-visible,.sfh-drop:focus-visible,.sfh-alt:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #5B2A86;outline-offset:2px}
#looks-wrap a:focus-visible,#looks-wrap .btn:focus-visible{outline-color:#fff}
img[alt=""]{outline:2px dashed #c00} /* catch empty alts in QA */
