/* Try It On, and its small version on the home page.
 * The drawing sits on a drawn limb the way ink sits on skin: the paper's white falls away (multiply),
 * the line stays. The limb is outlined in ink like a stencil sheet. One thing moves when you choose:
 * the drawing settles onto the skin. While you read or type, nothing moves. */
.skin-card{padding:14px;margin:0}
.skin{display:block;width:100%;height:auto;background:#EFE4D1;border-radius:2px;touch-action:none;cursor:grab}
.skin:active{cursor:grabbing}
.skin:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.skin .flesh{transition:fill .25s ease}
.skin .ink{mix-blend-mode:multiply}
.skin .outline{fill:none;stroke:var(--ink);stroke-width:3.2;stroke-linejoin:round}
.skin .marks path{fill:none;stroke:var(--ink);stroke-width:2.2;stroke-linecap:round;opacity:.22}
.skin .idea{fill:rgba(255,255,255,.28);stroke:var(--ink);stroke-width:3;stroke-dasharray:10 8}
.skin .idea-t{font:700 20px Inter,sans-serif;fill:var(--ink);text-anchor:middle}
.skin.settle .ink{animation:settle .26s ease-out}
@keyframes settle{from{opacity:.35;transform:scale(1.04)}to{opacity:1;transform:none}}
.skin .ink{transform-box:fill-box;transform-origin:center}
[data-state="deciding"] .skin.settle .ink{animation:none}
.skin-cap{margin-top:12px;font-size:15px;line-height:1.45}
.skin-cap > span:first-child{display:block;font-weight:700;color:var(--ink)}

/* home: six drawings and a forearm */
.tease{background:var(--paper2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.tease-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:52px;align-items:center}
.tease-card{max-width:400px;justify-self:center;width:100%;transform:rotate(-1deg)}
.tease-picks{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:20px;max-width:560px}
.tease-picks button{background:#fff;border:1.5px solid var(--line2);border-radius:var(--radius);padding:4px;cursor:pointer;aspect-ratio:1}
.tease-picks img{width:100%;height:100%;object-fit:contain}
.tease-picks button[aria-pressed="true"]{border:2px solid var(--ink);box-shadow:inset 0 -4px 0 var(--red)}
.tease-picks button:hover{border-color:var(--ink)}
@media (max-width:900px){.tease-grid{grid-template-columns:1fr;gap:28px}.tease-card{max-width:340px}.tease-picks{grid-template-columns:repeat(3,1fr);max-width:none}}

/* the tool */
.tool-head{padding:40px 0 18px}
.tool-head h1{font-size:clamp(32px,5vw,56px)}
.tool-head .lede{max-width:760px;font-size:clamp(16px,1.6vw,19px)}
.tool{padding:22px 0 80px}
.tool-page .event.compact{margin-bottom:8px}
.tryon-grid{display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:44px;align-items:start}
.stage{position:sticky;top:calc(var(--head) + 18px)}
.note{min-height:1.4em;margin:12px 0 0;font-size:14px;font-weight:600;color:var(--ink)}
.real,.was{margin-top:18px}
.real .kicker,.was .kicker{margin-bottom:10px}
.real-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.real-row img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:3px;border:1px solid var(--line2)}
.was img,.was2 img{width:132px;aspect-ratio:1;object-fit:cover;border-radius:3px;border:6px solid var(--ink)}
.was p,.was2 p{margin:8px 0 0}
.was2{display:none}
.real2,.was2{display:none}
.stage-line{display:none}

.steps{display:grid;gap:18px;min-width:0}
.step{border:1.5px solid var(--line2);background:var(--sheet);border-radius:var(--radius);padding:20px 20px 22px;margin:0;min-width:0}
.step legend{display:flex;align-items:center;gap:10px;float:left;width:100%;margin:0 0 14px;padding:0;font:400 22px/1.1 "Alfa Slab One",serif;text-transform:uppercase;color:var(--ink)}
.step legend + *{clear:both}
.num{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--ink);color:var(--paper);font:400 18px/1 "Alfa Slab One",serif;flex:0 0 34px}
.step.done .num{background:var(--red)}
.sub{font:700 12px/1.3 Inter,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin:18px 0 10px}
.sub:first-of-type{margin-top:0}

.dgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(122px,1fr));gap:10px}
.dcard{position:relative;display:flex;flex-direction:column;gap:6px;background:#FFFDF8;border:1.5px solid var(--line2);border-radius:var(--radius);padding:7px 7px 9px;cursor:pointer;text-align:left;font:inherit;color:var(--text);min-height:44px}
.dcard:hover{border-color:var(--ink)}
.dimg{display:block;aspect-ratio:1;background:#fff;border-radius:2px;overflow:hidden}
.dimg img{width:100%;height:100%;object-fit:contain}
.dname{font:700 13px/1.25 Inter,sans-serif;color:var(--ink)}
.dbadge{font:700 10px/1.2 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--red)}
.dcard[aria-pressed="true"]{border:2px solid var(--ink);box-shadow:inset 0 -5px 0 var(--red),0 6px 14px rgba(23,18,15,.12)}
.dcard[hidden]{display:none}
.own{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.dcard.plain{justify-content:center;padding:12px 14px;min-height:64px}
.dcard.plain .small{font-size:13px}
.idea-box{margin-top:14px}.idea-box textarea{min-height:90px}

.figures{display:flex;justify-content:center;gap:28px;margin:0 0 14px}
.figure{margin:0;text-align:center}
.figure svg{width:104px;height:260px;display:block}
.figure figcaption{font:700 11px Inter,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-top:4px}
.figure .body > *{fill:#DDCDAF}.figure .body .limb{fill:none;stroke:#DDCDAF;stroke-linecap:round}
.figure .hot > *{fill:#C3AC85;cursor:pointer;transition:fill .15s}.figure .hot .limb{fill:none;stroke:#C3AC85;stroke-linecap:round;transition:stroke .15s}
.figure .hot:hover > *{fill:#9C8460}.figure .hot:hover .limb{fill:none;stroke:#9C8460}
.figure .hot.on > *{fill:var(--red)}.figure .hot.on .limb{fill:none;stroke:var(--red)}

.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips button{background:#FFFDF8;border:1.5px solid var(--line2);color:var(--ink);border-radius:999px;padding:9px 15px;font:600 14px Inter,sans-serif;cursor:pointer;min-height:44px}
.chips button:hover{border-color:var(--ink)}
.chips button[aria-pressed="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.chips button:disabled{opacity:.35;cursor:not-allowed;text-decoration:line-through}
.sizes button{min-width:62px}
.tones{display:flex;gap:10px;margin-bottom:12px}
.tones button{width:44px;height:44px;border-radius:50%;background:var(--tone);border:2px solid rgba(23,18,15,.25);cursor:pointer}
.tones button[aria-pressed="true"]{outline:3px solid var(--red);outline-offset:3px;border-color:var(--ink)}
#tripBox{margin-top:14px;max-width:280px}

.ticket{padding:0;overflow:visible}
.tk-head{display:flex;align-items:center;gap:14px;background:var(--ink);color:#F4ECDD;padding:12px 20px 12px;border-radius:2px 2px 0 0}
.tk-head img{width:56px;height:56px;flex:0 0 56px}
.tk-head .kicker{color:var(--dust);margin-bottom:6px}.tk-head h2{color:#F4ECDD;margin:0;font-size:26px}
.tk-body{display:grid;grid-template-columns:104px 1fr;gap:18px;padding:18px 20px 4px;align-items:start}
.tk-thumb{width:104px;height:130px;background:#EFE4D1;border:1.5px solid var(--line2);border-radius:2px}
.tk-list{margin:0;display:grid;gap:6px}
.tk-list div{display:grid;grid-template-columns:80px 1fr;gap:10px;border-bottom:1px dashed var(--line2);padding-bottom:6px}
.tk-list dt{font:700 11px/1.6 Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.tk-list dd{margin:0;font-weight:700;color:var(--ink)}
.tk-list dd.unset{font-weight:600;color:var(--muted)}
.ticket .f2{padding:14px 20px 0}
.ticket .err{min-height:1.4em;margin:8px 20px 0;color:var(--red);font-weight:700;font-size:14px}
.ticket .tk-acts{padding:0 20px;margin-top:6px}
.ticket > .small{padding:4px 20px 20px;margin-top:14px}

.next-row{display:none}
@media (max-width:900px){
  .tryon-grid{grid-template-columns:1fr;gap:16px}
  /* on a phone the preview rides along at the top of the screen while you choose */
  .stage{top:calc(var(--head) + var(--ns-frame-top,0px));z-index:20;background:var(--paper);margin:0 -20px;padding:8px 20px 10px;border-bottom:1.5px solid var(--line2);display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center}
  .stage .skin-card{padding:6px;width:min(32vw,150px);transform:none}
  .stage .skin-card::before,.stage .skin-card::after{width:40px;height:14px;top:-6px}
  .stage .skin-cap{margin-top:0;font-size:13px}
  .stage .skin-cap .small{display:none}
  .stage figure{grid-row:1 / span 2}
  .stage .note{margin:0;font-size:13px;grid-column:2}
  .stage .real,.stage .was{display:none}
  .stage .skin-card figcaption{display:none}
  .stage .stage-line{display:block;margin:0;font-weight:700;color:var(--ink);font-size:14px;line-height:1.35;grid-column:2}
  .real2,.was2{display:block;margin-top:16px}
  .dgrid{grid-auto-flow:column;grid-auto-columns:40%;grid-template-columns:none;grid-template-rows:auto;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:6px;-webkit-overflow-scrolling:touch}
  .dcard{scroll-snap-align:start}
  .figures{gap:18px}.figure svg{width:92px;height:230px}
  .next-row{position:fixed;left:0;right:0;bottom:0;z-index:62;display:flex;align-items:center;gap:12px;background:var(--ink);border-top:3px solid var(--red);padding:9px 14px calc(9px + env(safe-area-inset-bottom))}
  .next-row[hidden]{display:none}
  .nr-sum{flex:1;min-width:0;color:var(--sand);font-size:13px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .next-row .cta{flex:0 0 auto;min-height:44px;padding:10px 16px;box-shadow:none}
  .tool-page .sticky{display:none}
  .tool-page footer.site{padding-bottom:110px}
  .tool-page .ns-launch{bottom:calc(76px + env(safe-area-inset-bottom))}
  body.typing .stage{position:static}
  .tk-body{grid-template-columns:84px 1fr}.tk-thumb{width:84px;height:105px}
  .tk-list div{grid-template-columns:64px 1fr}
}
@media (max-width:900px) and (max-height:760px){.stage .skin-card{width:min(25vw,112px)}.figure svg{width:78px;height:195px}.figures{margin-bottom:8px}.step legend{margin-bottom:10px}}
@media (max-width:420px){.own{grid-template-columns:1fr}.step{padding:16px 14px 18px}.ticket .f2,.ticket .tk-acts,.ticket .err,.ticket > .small,.tk-body{padding-left:14px;padding-right:14px}}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
