/* E_I Lab: a white store where the pieces do the talking. */
html:has(body.shop-white){background:#fff}
.ax-page.shop-white{
  --ax-cream:#2b2b2b;--ax-lav:#867fad;--ax-char:#fff;--ax-rule:rgba(43,43,43,.14);
  --pg-cream:#2b2b2b;--pg-ink:#fff;--pg-rule:rgba(43,43,43,.14);--pg-faint:rgba(43,43,43,.05);--pg-soft:rgba(43,43,43,.62);
  background:#fff;color:#2b2b2b}
.shop-white .ax-sky{display:none}
.shop-white .signup input,.shop-white .signup input::placeholder{color:#2b2b2b}
.shop-white .signup input::placeholder{opacity:.5}
.shop-white .signup input{border-color:rgba(43,43,43,.3)}
.shop-white .btn-solid{background:#2b2b2b;border-color:#2b2b2b;color:#fff}
.shop-white .footer-title{color:#2b2b2b}
.shop-white .footer-period{color:#867fad}

.lab-hero{padding:clamp(7rem,15svh,9rem) 0 clamp(2rem,4vw,3.5rem)}
.lab-hero .ax-wrap{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--ax-gap);align-items:end}
.lab-title{grid-column:1 / span 6;margin:0;font-weight:200;font-size:clamp(2.5rem,1rem + 3.6vw,4.75rem);line-height:.95;letter-spacing:-.045em}
.lab-line{grid-column:8 / -1;margin:0;font-weight:300;font-size:clamp(1rem,.95rem + .25vw,1.1875rem);line-height:1.5;color:rgba(43,43,43,.75);max-width:34em}

.lab-feature{padding-bottom:clamp(4rem,9vw,8rem)}
.lab-product{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--ax-gap);row-gap:2.5rem;align-items:start}
.lab-gallery{grid-column:1 / span 8;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.5rem,1vw,1rem)}
.lab-photo{margin:0;background:#f3f1ee;overflow:hidden}
.lab-photo img{display:block;width:100%;height:100%;object-fit:cover}
.lab-photo{aspect-ratio:3/4}
.lab-details{grid-column:9 / -1;position:sticky;top:6rem;display:grid;gap:1.25rem;min-width:0}
.lab-kicker{margin:0;font-size:.8125rem;font-weight:400;letter-spacing:.04em;color:#867fad}
.lab-details h2{margin:0;font-weight:250;font-size:clamp(2rem,1.3rem + 2vw,3.25rem);line-height:1;letter-spacing:-.04em;color:#2b2b2b}
.lab-copy{margin:0;font-weight:300;font-size:1rem;line-height:1.6;color:rgba(43,43,43,.8)}
.shop-white .buy-btn{background:#2b2b2b;border-color:#2b2b2b;color:#fff;justify-self:start}
.shop-white .buy-btn:hover,.shop-white .buy-btn:focus-visible{background:#fff;color:#2b2b2b}
.shop-white .buy-note a{color:inherit}

.lab-next{padding:clamp(3rem,7vw,6rem) 0 clamp(5rem,10vw,9rem);border-top:1px solid rgba(43,43,43,.1)}
.lab-h2{margin:0 0 clamp(1.5rem,3vw,2.5rem);font-weight:250;font-size:clamp(1.5rem,1.1rem + 1.2vw,2.25rem);letter-spacing:-.03em}
.lab-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ax-gap)}
.lab-shot{position:relative;aspect-ratio:4/5;background:#f3f1ee;overflow:hidden}
.lab-shot img,.lab-shot video{display:block;width:100%;height:100%;object-fit:cover}
.lab-shot.is-soon{display:grid;place-items:center}
.lab-soon-name{font-weight:200;font-size:clamp(1.25rem,.9rem + 1.2vw,2rem);letter-spacing:-.03em;color:rgba(43,43,43,.28);text-align:center;padding:1rem}
.lab-meta{display:grid;gap:.4rem;padding-top:1rem}
.lab-meta h3{margin:0;font-weight:400;font-size:1.0625rem;letter-spacing:-.01em}
.lab-meta p{margin:0;font-weight:300;font-size:.9375rem;line-height:1.5;color:rgba(43,43,43,.7)}
.lab-tag{font-size:.8125rem;font-weight:400;color:#867fad}

@media (max-width:860px){
  .lab-title,.lab-line{grid-column:1 / -1}
  .lab-line{margin-top:1rem}
  .lab-gallery,.lab-details{grid-column:1 / -1}
  .lab-details{position:static}
  .lab-grid{grid-template-columns:1fr}
}
.shop-white .footer-title{font-size:clamp(2.25rem,.8rem + 5.2vw,5.75rem);line-height:.98}

/* The E_I Lab mark, centered in the navbar. Every letter is the same "Eli" as the other pages, in the same type,
   size and weight (.ax-page .nav-name): E and i stay on the line, the l drops a line below and "ab" follows it.
   Positions are in em of that type, measured from Outfit 400: E .59, _ .505, i .224, l .222, a .582, b .582,
   with the nav's .03em tracking. This is the resting state; assets/lab-mark.js plays the arrival. */
.shop-white .nav-end{margin-left:auto}
.shop-white .nav-lab{position:absolute;left:50%;top:1rem;margin-left:-1.105em;display:block;width:2.21em;height:3.3em;pointer-events:auto;transition:color .3s}
.shop-white .nav-lab:hover{color:#867fad}
.lab-mark{position:absolute;inset:0}
.lab-mark .lm{position:absolute;top:0;display:block;white-space:nowrap}
.lab-mark .lm-e{left:0}
.lab-mark .lm-i{left:1.155em}
.lab-mark .lm-l{left:.76em;top:.91em}
.lab-mark .lm-a{left:1.012em;top:.91em}
.lab-mark .lm-b{left:1.624em;top:.91em}
.lab-hero .lab-line{grid-column:3 / span 8;justify-self:center;text-align:center;font-size:clamp(1.125rem,1rem + .4vw,1.375rem);text-wrap:balance}
@media (max-width:860px){.lab-hero .lab-line{grid-column:1 / -1}}
@media (max-width:560px){.shop-white .nav-cta{display:none}}

/* Two koi in + glyphs swim in the white of the page, behind the photographs and under the copy (assets/koi.js). */
.shop-white main.ax{position:relative}
.lab-pond{position:absolute;left:0;top:0;width:100%;z-index:0;pointer-events:none;overflow:hidden}
.lab-pond canvas{display:block}
.lab-hero,.lab-feature,.lab-next{position:relative;z-index:1}

/* Product gallery, the way the good stores do it: an even two-column grid of 3:4 frames next to the sticky
   details, the clean front view first and the details between the worn shots. Any frame opens the viewer. */
.lab-zoom{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in}
.lab-zoom img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1.1s cubic-bezier(.2,.7,.2,1)}
.lab-zoom:hover img{transform:scale(1.025)}
.lab-zoom:focus-visible{outline:2px solid #2b2b2b;outline-offset:-4px}
/* The front view leads across both columns, the other frames sit two by two. */
.lab-gallery .lab-photo:first-child{grid-column:1 / -1;aspect-ratio:4/5}
/* A wide closing frame across both columns when the set ends on an odd one. */
.lab-gallery .lab-photo.is-tail{grid-column:1 / -1;aspect-ratio:4/5}
/* Silent montages sit across both columns at 4:5 between the photographs. They play only while on screen. */
.lab-gallery .lab-film{grid-column:1 / -1;aspect-ratio:4/5}
.lab-film video{display:block;width:100%;height:100%;object-fit:cover}
/* Phones, long sets: the lead and the first four frames, then the price and sizes, then the rest of the photographs,
   so nobody scrolls past twelve photos to find the buy button. */
@media (max-width:860px){
  .lab-product.is-split{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.5rem,1vw,1rem)}
  .lab-product.is-split .lab-gallery{display:contents}
  .lab-product.is-split .lab-photo{order:2}
  .lab-product.is-split .lab-photo:nth-child(-n+5){order:0}
  .lab-product.is-split .lab-details{order:1;grid-column:1 / -1;margin:1.75rem 0 2.25rem}
}

/* The viewer: white, full screen, one photograph at a time. */
.lab-viewer{position:fixed;inset:0;z-index:200;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#fff;color:#2b2b2b}
.lab-viewer[hidden]{display:none}
.lab-viewer-top{display:flex;justify-content:space-between;align-items:center;padding:1rem var(--gutter,1.5rem);font-size:.875rem;font-weight:300}
.lab-viewer-close{padding:.4rem .9rem;border:1px solid rgba(43,43,43,.3);background:#fff;color:inherit;font-size:.875rem}
.lab-viewer-close:hover{background:#2b2b2b;color:#fff}
.lab-viewer-stage{position:relative;display:grid;place-items:center;min-height:0;overflow:hidden;padding:0 clamp(3.5rem,8vw,7rem)}
.lab-viewer-stage img{display:block;max-width:100%;max-height:calc(100svh - 10rem);width:auto;height:auto;object-fit:contain}
.lab-viewer-nav{position:absolute;top:50%;transform:translateY(-50%);width:3rem;height:3rem;display:grid;place-items:center;padding:0;border:0;background:none;color:#2b2b2b;font-size:1.5rem;font-weight:200}
.lab-viewer-nav:hover{color:#867fad}
.lab-viewer-prev{left:clamp(.5rem,2vw,1.5rem)}
.lab-viewer-next{right:clamp(.5rem,2vw,1.5rem)}
.lab-viewer-thumbs{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;padding:1rem}
.lab-viewer-thumbs button{width:3rem;aspect-ratio:3/4;padding:0;border:1px solid transparent;background:#f3f1ee;opacity:.55;transition:opacity .3s}
.lab-viewer-thumbs button[aria-current="true"]{opacity:1;border-color:#2b2b2b}
.lab-viewer-thumbs img{display:block;width:100%;height:100%;object-fit:cover}
@media (max-width:560px){.lab-viewer-stage{padding:0 .75rem}.lab-viewer-nav{display:none}}

/* Checkout: price, size picker and the buy link */
.buy-price{margin:.25rem 0 0;display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem .6rem;color:#2b2b2b}
.buy-now{font-size:1.75rem;font-weight:400;letter-spacing:-.02em;line-height:1}
.buy-was{font-size:1.125rem;font-weight:300;color:rgba(43,43,43,.5)}
.buy-sale{flex-basis:100%;font-size:.875rem;font-weight:300;color:rgba(43,43,43,.7)}
.buy-sizes{margin:0;padding:0;border:0;display:flex;flex-wrap:wrap;gap:.5rem;min-width:0}
.buy-sizes legend{padding:0;margin:0 0 .6rem;font-size:.875rem;font-weight:400;color:rgba(43,43,43,.7)}
.buy-sizes label{position:relative;cursor:pointer}
.buy-sizes input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.buy-sizes span{display:grid;place-items:center;min-width:3.25rem;min-height:2.75rem;padding:0 1rem;border:1px solid rgba(43,43,43,.35);border-radius:999px;font-size:.9375rem;font-weight:400;color:#2b2b2b;transition:background-color .2s,border-color .2s,color .2s}
.buy-sizes label:hover span{border-color:#2b2b2b}
.buy-sizes input:checked+span{background:#2b2b2b;border-color:#2b2b2b;color:#fff}
.buy-sizes input:focus-visible+span{outline:2px solid #2b2b2b;outline-offset:3px}
.buy-sizes.is-asking span{border-color:#867fad}
.buy-btn.is-waiting{background:transparent;color:#2b2b2b;border-color:rgba(43,43,43,.35);cursor:default}
.buy-btn.is-waiting:hover{background:transparent;color:#2b2b2b}

/* The Heel (shop/heel): a 3D model you can drag leads the gallery on white, then the photographs. The model
   loads from assets/js/heel-3d.js over a still render of it, which fades out once the model is ready. */
.lab-gallery .lab-3d{grid-column:1 / -1;position:relative;margin:0;aspect-ratio:4/3;background:#fff;overflow:hidden;touch-action:pan-y}
html:not(.has-cursor-dot) .lab-3d{cursor:grab}
html:not(.has-cursor-dot) .lab-3d.is-dragging{cursor:grabbing}
.lab-3d .pj-3d-poster{position:absolute;inset:0;background:#fff url(models/tbd1-heel-poster.webp?v=2) 50% 50%/100% auto no-repeat;transition:opacity .6s}
.lab-3d .pj-3d-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity .6s}
.lab-3d.is-ready .pj-3d-canvas{opacity:1}
.lab-3d.is-ready .pj-3d-poster{opacity:0}
@media (max-width:860px){.lab-gallery .lab-3d{aspect-ratio:1/1}}
.lab-3d-hint{position:absolute;left:1rem;bottom:.9rem;z-index:1;font-size:.8125rem;font-weight:300;color:rgba(43,43,43,.55);pointer-events:none}
.lab-gallery .lab-photo.is-wide{grid-column:1 / -1;aspect-ratio:1/1}
.lab-notify{margin:.25rem 0 0;max-width:none}
.lab-notify-label{display:block;margin:0 0 .5rem;font-size:.9375rem;font-weight:300;line-height:1.5;color:rgba(43,43,43,.75)}
.lab-notify input{font-size:1.0625rem}
.shop-white .lab-notify .signup-status{color:#2b2b2b}
/* A studio card that opens its own page */
.lab-card-link{display:block;color:inherit;text-decoration:none}
.lab-card-link .lab-shot img{transition:transform 1.1s cubic-bezier(.2,.7,.2,1)}
.lab-card-link:hover .lab-shot img{transform:scale(1.025)}
.lab-card-link:hover h3{color:#867fad}
.lab-card-link:focus-visible{outline:2px solid #2b2b2b;outline-offset:4px}
.lab-shot.is-model{background:#fff;outline:1px solid rgba(43,43,43,.08);outline-offset:-1px}
/* Hire-me footer on the shop pages: one understated sentence beside a small circle, with the scope as a footnote. */
.shop-white .footer-stage{display:flex;align-items:center;justify-content:space-between;gap:clamp(1.5rem,4vw,4rem)}
.shop-white .footer-copy{min-width:0}
.shop-white .footer-title{font-size:clamp(1.6rem,1rem + 2.2vw,3rem);line-height:1.08;letter-spacing:-.025em;text-transform:none}
.shop-white .footer-line{white-space:normal;padding-bottom:.02em}
.shop-white .footer-line:nth-child(2){padding-left:0}
.shop-white .footer-line>span{text-wrap:balance}
.shop-white .footer-note{text-wrap:pretty;margin:.85rem 0 0;font-size:.8125rem;line-height:1.4;font-weight:300;color:rgba(43,43,43,.62)}
.shop-white .connect-cta{position:relative;top:auto;right:auto;bottom:auto;margin:0;flex:none;width:clamp(6.25rem,8vw,8rem);box-shadow:0 .75rem 1.75rem rgba(64,58,110,.18)}
.shop-white .connect-label{text-transform:none;font-size:clamp(.875rem,.72rem + .35vw,1.0625rem);font-weight:400;letter-spacing:0;line-height:1.15;max-width:68%;text-wrap:balance}
@media (max-width:600px){.shop-white .footer-stage{align-items:flex-end;gap:1rem}.shop-white .connect-cta{width:5.75rem}}
/* The lab mark: on hover each letter turns into a + and back, left to right. */
.lab-mark .lm-c{display:inline-block}
.lab-mark .lm-p{position:absolute;left:0;right:0;top:0;text-align:center;opacity:0;color:#867fad;pointer-events:none}
