/* ==========================================================================
   polish.css: 2026-11-13 design polish pass (loaded last, after pages.css).
   Layout, type, spacing and states only; no new images, no content changes.
   Delete this file's <link> in tools/core.py head() to roll the whole pass back.
   ========================================================================== */
:root{
  --pz-ease:cubic-bezier(.2,.8,.2,1);
  --pz-gap:clamp(14px,1.6vw,22px);
  --pz-sec:clamp(44px,5.5vw,84px);
  --pz-max:1320px;
  --pz-card:#0b0a0f; --pz-card-b:#24212b;
  --pz-muted:#a9a6b5;
}
body{line-height:1.55;text-rendering:optimizeLegibility}
::selection{background:rgba(255,43,209,.35);color:#fff}
.t-st ::selection{background:rgba(20,224,236,.35)}

/* ---------- header ---------- */
.hdr{backdrop-filter:saturate(140%) blur(10px);-webkit-backdrop-filter:saturate(140%) blur(10px);background:linear-gradient(180deg,rgba(1,3,7,.96),rgba(3,7,14,.92));box-shadow:0 10px 30px -18px rgba(0,0,0,.9)}
.nav a{transition:color .2s var(--pz-ease)}
.nav a::after{transition:transform .25s var(--pz-ease),opacity .25s}
.nav a:not([aria-current=page])::after{content:"";position:absolute;left:10px;right:10px;bottom:2px;height:2px;border-radius:2px;background:currentColor;opacity:0;transform:scaleX(.4)}
.nav a:not([aria-current=page]):hover::after{opacity:.55;transform:none}
.icon-btn{transition:color .2s,background .2s,transform .15s}
.icon-btn:hover{background:rgba(255,255,255,.06)}
.icon-btn:active{transform:scale(.94)}
/* Sinful Tech header was 40px too wide between 1021 and ~1560px, which pushed the cart icon off-screen at 1440 */
@media (min-width:1021px) and (max-width:1580px){
  .t-st .hdr-in{gap:12px;padding:0 18px}
  .t-st .hdr .brand img{height:56px}
  .t-st .nav ul{gap:0}
  .t-st .nav a{padding:10px 8px;font-size:12px;letter-spacing:.03em}
  .t-st .nav a[aria-current=page]::after,.t-st .nav a::after{left:8px;right:8px}
  .t-st .btn-quote{padding:9px 12px;font-size:12px;gap:6px}
}
@media (min-width:1021px) and (max-width:1240px){ .t-st .hdr .btn-quote{display:none} }

/* ---------- buttons: one consistent set of states ---------- */
.obtn,.hb,.pill,.btn-quote,.pcs-notify,.pc-notify,.pd-add,.st-add,.d-btn{transition:transform .18s var(--pz-ease),box-shadow .25s var(--pz-ease),background-color .2s,border-color .2s,color .2s,filter .2s}
.obtn:active,.hb:active,.pill:active,.btn-quote:active,.pc-notify:active,.pcs-notify:active{transform:translateY(0) scale(.98)}
.obtn:focus-visible,.hb:focus-visible,.pill:focus-visible,.btn-quote:focus-visible{outline:2px solid #fff;outline-offset:3px}
.obtn.solid-pink:hover,.hb.solid-pink:hover{filter:brightness(1.08);box-shadow:0 10px 28px -10px rgba(255,43,209,.85)}
.obtn[disabled],.obtn.off{transform:none!important;box-shadow:none!important}
.hb{padding:15px 24px;border-radius:10px;letter-spacing:.08em}
.pill{transition:border-color .2s,color .2s,background .2s,box-shadow .2s}
.pill:hover{background:rgba(255,43,209,.06);color:#fff}

/* ---------- section rhythm + type scale ---------- */
.feat-h{align-items:flex-end;gap:16px;margin-bottom:18px}
.feat-h h2{font:700 clamp(26px,2.6vw,38px)/1 var(--f-cond);letter-spacing:.03em}
.feat-h a{padding:8px 0;border-bottom:1px solid transparent;transition:border-color .2s,gap .2s}
.feat-h a:hover{border-bottom-color:currentColor;gap:12px}
.all-h{font:700 clamp(22px,2.1vw,30px)/1.05 var(--f-cond);letter-spacing:.04em}
.cs-lead,.feat-art .feat-h p{color:var(--pz-muted);font-size:15.5px;line-height:1.6;max-width:68ch}
.t-ms main>section.feat-sec,.t-ms main>.feat-art,.t-ms main>.patch-col{margin-top:var(--pz-sec)}
.t-ms main>section.feat-sec:first-of-type{margin-top:clamp(28px,3.5vw,52px)}
.t-ms main>section.feat-sec{max-width:var(--pz-max);margin-left:auto;margin-right:auto;padding-left:clamp(16px,2.4vw,32px);padding-right:clamp(16px,2.4vw,32px)}
/* soft neon hairline between storefront sections */
.t-ms main>section+section::before{content:"";display:block;height:1px;margin:0 auto var(--pz-sec);width:min(var(--pz-max),calc(100% - 32px));background:linear-gradient(90deg,transparent,rgba(255,43,209,.45) 30%,rgba(63,230,238,.45) 70%,transparent)}
.t-ms main>section.ms-hero+section::before,.t-ms main>section.shop-hero+section::before{display:none}
.t-ms main>section+section{padding-top:0}

/* ---------- Mildly Sinful hero ---------- */
.mh-tag{letter-spacing:.04em}
.mh-sub{color:#cfcbd9;font-size:clamp(15px,1.15vw,17px);line-height:1.6}
.mh-ctas{gap:14px}
.mh-fig{box-shadow:0 30px 80px -30px rgba(255,43,209,.55),0 0 0 1px rgba(255,43,209,.35)}

/* ---------- product cards: aligned image ratio, title, price, button ---------- */
.pgrid{gap:var(--pz-gap)!important}
.feat-sec .pgrid{grid-template-columns:repeat(4,minmax(0,1fr))}
.shop-main .pgrid{grid-template-columns:repeat(4,minmax(0,1fr))}
.pcard{display:flex;flex-direction:column;background:var(--pz-card);border:1px solid var(--pz-card-b);border-radius:12px;transition:transform .3s var(--pz-ease),border-color .3s,box-shadow .3s}
.pcard:hover{transform:translateY(-5px);border-color:rgba(255,43,209,.6);box-shadow:0 22px 44px -24px rgba(255,43,209,.75),0 0 0 1px rgba(255,43,209,.25)}
.pc-img{aspect-ratio:4/5;background:#ece8e3;flex:none}
.pc-img img{transition:transform .6s var(--pz-ease)}
.pcard:hover .pc-img img{transform:scale(1.035)}
.pcard.is-soon .pc-img{background:#0b0710}
.pc-img .nb,.pc-img .so,.pc-img .pre{top:10px;left:10px;border-radius:999px;padding:5px 10px;font-size:10.5px;letter-spacing:.1em;backdrop-filter:blur(6px)}
.pc-body{display:flex;flex-direction:column;flex:1;padding:14px 14px 16px;gap:2px;position:relative}
.pc-body h3{font:700 15px/1.2 var(--f-cond);letter-spacing:.05em}
.pc-body h3 a{transition:color .2s}
.pc-body h3 a:hover{color:var(--ms-pink)}
.pc-sku{font-size:11.5px;line-height:1.45;color:var(--pz-muted);letter-spacing:.05em;margin:4px 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em}
.pc-row{margin-top:auto;flex-direction:column-reverse;align-items:flex-start;gap:12px;padding-right:44px;min-height:36px;justify-content:flex-end}
.pc-price{font:700 18px/1 var(--f-body);letter-spacing:.01em}
.dots{flex-wrap:wrap;gap:6px}
.dots .dot{width:14px;height:14px}
.pc-add{right:12px;bottom:12px;width:36px;height:36px;opacity:1;transform:none;background:rgba(255,43,209,.08)}
.pc-add:hover{background:var(--ms-pink);color:#14020f;box-shadow:0 0 18px -4px var(--ms-pink)}
.pc-notify{margin-top:10px}
.pcard.is-soon .pc-row{padding-right:0}

/* ---------- shop page ---------- */
.shop-grid{max-width:1448px;margin-left:auto;margin-right:auto;column-gap:28px}
.shop-bar{padding-left:0;justify-content:flex-start}
.pills{gap:10px}
.pill{height:36px;padding:0 18px;border-radius:999px}
.shop-bar2{margin:18px 0 14px}
.filters{border-radius:12px;padding:18px 16px 12px}
.shop-hero h1{letter-spacing:.02em}

/* ---------- The Art ---------- */
.fa-grid{gap:var(--pz-gap)}
.fa-fig{border-radius:12px;transition:transform .3s var(--pz-ease),border-color .3s,box-shadow .3s}
.fa-fig:hover{transform:translateY(-4px);box-shadow:0 18px 40px -22px rgba(255,43,209,.7)}
.fa-fig figcaption{letter-spacing:.1em}

/* ---------- breadcrumbs (last crumb sat 15px higher than the links) ---------- */
.crumbs ol{align-items:center;margin-bottom:8px}
.crumbs li{display:inline-flex;align-items:center;min-height:44px;color:var(--pz-muted)}
.crumbs li+li::before{margin:0 8px 0 2px}
.crumbs a{transition:color .2s}
.crumbs a:hover{color:var(--ms-pink)}

/* ---------- product + set detail pages ---------- */
.sets-app{max-width:var(--pz-max);margin:0 auto;padding:18px clamp(16px,2.4vw,32px) 64px}
.pd-wrap{max-width:var(--pz-max);padding-left:clamp(16px,2.4vw,32px);padding-right:clamp(16px,2.4vw,32px);padding-bottom:64px}
.pd,.st-detail{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(24px,3.5vw,56px)}
.st-img.npanel{border:0;background:none;box-shadow:none;padding:0}
.gal-main{border-radius:16px;aspect-ratio:4/5;box-shadow:0 30px 70px -40px rgba(255,43,209,.6)}
.gal-main .gal-slide.k-photo{background:#ece8e3}
.gal-th{flex-basis:72px;height:90px;border-radius:10px;transition:border-color .2s,box-shadow .2s,transform .15s}
.gal-th:hover{transform:translateY(-2px)}
.st-info,.pd-info{position:sticky;top:104px}
.pd-info{padding:28px;border-radius:16px}
.sets-h,.pd-h{font:800 clamp(30px,3vw,44px)/1.02 var(--f-cond);font-style:normal;letter-spacing:.02em;text-transform:uppercase;margin:6px 0 12px}
.st-price,.pd-price{font:700 clamp(24px,2vw,30px)/1 var(--f-body);margin:6px 0 18px}
.st-info .pc-sku,.pd-info .pc-sku{min-height:0;margin:0}
.st-cw{flex-wrap:wrap;gap:14px;margin:6px 0 18px}
.st-cw .sw{display:flex;flex-wrap:wrap;gap:10px}
.st-cw .swatch{width:34px;height:34px;transition:transform .15s,outline-color .15s}
.st-cw .swatch:hover{transform:scale(1.1)}
.st-note{font-size:14.5px;color:var(--pz-muted);margin:0 0 16px}
.st-size select{min-height:52px;border-radius:10px;border-color:#3a3644;background-color:#0d0b12;padding:0 14px;font-size:15px;transition:border-color .2s,box-shadow .2s}
.st-size select:focus{border-color:var(--ms-pink);box-shadow:0 0 0 3px rgba(255,43,209,.2);outline:none}
.st-add,.pd-add{min-height:56px;border-radius:10px;font-size:15px;letter-spacing:.1em}
.st-mix{margin-top:22px;padding-top:18px;border-top:1px solid #1f1c26}
.st-mix .pill{height:auto;min-height:40px;padding:8px 16px}
.pd-sizes .sz{transition:border-color .2s,background .2s,color .2s}
.pd-sizes .sz:hover{border-color:var(--ms-pink)}

/* ---------- footer ---------- */
.ftr-in{padding:clamp(40px,4.5vw,64px) 26px clamp(32px,3.5vw,48px);gap:32px}
.ftr h4{margin-bottom:14px;letter-spacing:.12em;font-size:13px}
.ftr ul{gap:8px}
.ftr li a{color:#cdd3de;transition:color .2s,padding .2s}
.ftr li a:hover{padding-left:3px}
.ftr-legal{padding:16px 10px 22px;font-size:12.5px;letter-spacing:.02em}
.ftr-pol{gap:4px 18px}

/* ---------- landing: the two halves react as one choice ---------- */
.page-landing .lslot .lcard{transition:transform .35s var(--pz-ease),filter .35s,box-shadow .35s}
@media (hover:hover){
  .page-landing .land-stage:has(.lcard:hover) .lcard:not(:hover){filter:brightness(.62) saturate(.8)}
  .page-landing .lcard.st:hover,.page-landing .lcard.ms:hover{filter:brightness(1.07) saturate(1.08)}
}
.page-landing .lcard:focus-visible{outline:3px solid #fff;outline-offset:4px}
.strip li b{letter-spacing:.06em}

/* ---------- Sinful Tech: card states ---------- */
.tier.lift,.lcard.lift{transition:transform .3s var(--pz-ease),filter .3s}
.tier.lift:hover{filter:brightness(1.08)}

/* ---------- responsive ---------- */
@media (max-width:1180px){ .feat-sec .pgrid,.shop-main .pgrid{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (max-width:900px){ .st-info,.pd-info{position:static} .pd,.st-detail{grid-template-columns:1fr} }
@media (max-width:760px){
  .feat-sec .pgrid,.shop-main .pgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pgrid{gap:12px!important}
  .pc-body{padding:10px 10px 12px}
  .pc-body h3{font-size:14px}
  .pc-sku{font-size:10.5px;margin:3px 0 8px}
  .pc-price{font-size:16px}
  .pc-row{padding-right:46px}
  .dots .dot{width:12px;height:12px}
  .pc-add{right:8px;bottom:8px;width:40px;height:40px}
  .feat-h{flex-direction:column;align-items:flex-start;gap:6px}
  .feat-h h2{font-size:28px}
  .shop-bar{margin:0 -14px;padding:0 14px 4px;scrollbar-width:none}
  .shop-bar::-webkit-scrollbar{display:none}
  .pills{flex-wrap:nowrap}
  .pill{height:40px;flex:none}
  .ftr-in{gap:26px}
  .pd-info{padding:20px}
  .sets-h,.pd-h{font-size:30px}
  .t-ms main>section+section::before{margin-bottom:40px}
}
@media (prefers-reduced-motion:reduce){
  .pcard,.pcard:hover,.pc-img img,.fa-fig,.obtn,.hb{transition:none!important;transform:none!important}
}
/* jacket cards: the front + back flat is landscape, so show all of it instead of cropping into the sleeves */
.pcard.is-soon[data-cat="Jacket"] .pc-img{background:#e2e1dd}
.pcard.is-soon[data-cat="Jacket"] .pc-img img{object-fit:contain}
.pc-img .so{right:auto}
.pcard.is-soon .pc-img .chenille{top:10px;right:10px}
/* MS footer: the 11-link Shop column made the footer twice as tall as needed; split it in two on desktop */
@media (min-width:1021px){
  .ms-ftr{grid-template-columns:1.3fr 1.7fr 1fr 1fr 1.15fr}
  .ms-ftr>div:nth-child(2) ul{grid-template-columns:1fr 1fr;column-gap:24px}
}
.t-ms .ftr h4{color:var(--ms-pink)}
@media (max-width:760px){
  .st-cw .sw{gap:7px}
  .st-cw .swatch{width:32px;height:32px}
  .ftr-in>div:not(.col) ul{grid-template-columns:1fr 1fr;column-gap:16px}
  .ftr-in>div:first-child ul{grid-template-columns:none}
}
/* corner pops: the old springy easing overshot ~15px toward the content while sliding in; ease out without overshoot */
.pop.fit{transition:transform .7s cubic-bezier(.2,.8,.2,1),opacity .5s}
