/* One locally served family and one responsive scale, as requested by the owner. */
html:root{--font-display:'Onest',system-ui,-apple-system,'Segoe UI',sans-serif;--font-text:'Onest',system-ui,-apple-system,'Segoe UI',sans-serif;}
body .yp-h2,body .yp-contact-title{font-family:var(--font-text)!important;font-size:clamp(26px,3vw,40px)!important;font-weight:700!important;line-height:1.15!important;}
body .yp-model-title{font-family:var(--font-text)!important;font-size:clamp(24px,2.3vw,30px)!important;font-weight:700!important;line-height:1.2!important;}
body section.yp-hero-illustration .yp-hero-overlay h1{font-family:var(--font-text)!important;font-size:clamp(28px,3vw,40px)!important;font-weight:700!important;line-height:1.2!important;}
body :is(.yp-hero-primary-button,.yp-hero-colors-link,.yp-model-select,.yp-model-question,.yp-contact-button,.yp-price-action-button,.yp-preview-continue,.cart-actions .primary,.checkout-submit,.order-balance-pay){display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:280px;max-width:100%;min-height:56px;margin-left:auto;margin-right:auto;padding:12px 20px;font-family:var(--font-text)!important;font-size:18px!important;font-weight:700!important;line-height:1.25!important;text-align:center;}
@media(max-width:600px){body :is(.yp-hero-primary-button,.yp-hero-colors-link,.yp-model-select,.yp-model-question,.yp-contact-button,.yp-price-action-button,.yp-preview-continue,.cart-actions .primary,.checkout-submit,.order-balance-pay){width:280px;min-height:52px;font-size:16px!important;}
body .yp-h2,body .yp-contact-title{font-size:clamp(25px,6.5vw,30px)!important;}
body section.yp-hero-illustration .yp-hero-overlay h1{font-size:clamp(26px,6.7vw,30px)!important;}
}

body{font-family:var(--font-text)!important;}

@media(min-width:901px){body #price .yp-price-action-button{margin-left:0;margin-right:auto;}}

/* Desktop fit: keep the complete artwork and complete garments in view. */
@media(min-width:1051px){
  section.yp-hero-illustration .yp-hero-wrap .yp-hero-photo{display:flex;flex-direction:column;height:calc(100svh - 141px);min-height:0;}
  section.yp-hero-illustration .yp-hero-illustration-picture{flex:1;min-height:0;}
  section.yp-hero-illustration .yp-hero-illustration-image{width:100%;height:100%;aspect-ratio:auto;object-fit:contain;}
  section.yp-hero-illustration .yp-hero-overlay{display:flex;flex-direction:row;flex:none;gap:20px;padding:16px 32px;text-align:left;}
  body section.yp-hero-illustration .yp-hero-overlay .yp-hero-cta{flex-wrap:nowrap;gap:16px;}
  body section.yp-hero-illustration .yp-hero-primary-cta{flex:0 0 240px;width:240px;}
  body section.yp-hero-illustration .yp-hero-colors-link{width:240px;}
  #future-products .yp-model-card{padding:12px;}
  #future-products .yp-model-title{margin:0 2px 8px;}
  #future-products .yp-model-stage{flex:none;aspect-ratio:auto;height:clamp(180px,calc(100svh - 560px),340px);}
  #future-products .yp-model-main{object-fit:contain;transform:none;}
  #future-products .yp-model-colors{gap:8px;margin:8px 0 0;}
  #future-products .yp-model-card .yp-model-color img{height:48px;aspect-ratio:auto;object-fit:contain;}
  #future-products .yp-model-color span{padding:4px;}
  #future-products .yp-model-price{margin-top:8px;}
  #future-products .yp-pants-size-group{margin:8px 0 0;}
  #future-products .yp-pants-size-group>span{margin-bottom:4px;}
  #future-products .yp-pants-sizes button{min-height:36px;}
  #future-products .yp-pants-size-meta{min-height:32px;}
  #future-products .yp-size-grid-link{min-height:32px;padding-top:4px;padding-bottom:4px;}
  #future-products .yp-model-select{min-height:44px;margin-top:8px;padding-top:8px;padding-bottom:8px;}
}

/* Only the policy words are a link; the remaining label keeps native checkbox behavior. */
body .yp-waitlist-consent a{color:var(--orange-600);text-decoration:underline;text-underline-offset:3px;}
