/* Mobile presentation uses the same painting-led opening and galleries. */
@media(max-width:700px){
  :root{--nav-height:64px}
  html{scroll-padding-top:calc(var(--nav-clearance) + 12px)}
  .site-header{padding:24px 18px}
  .site-header .wordmark{font-size:clamp(40px,11.5vw,76px);line-height:1.08;letter-spacing:.025em;font-weight:400;max-width:100%;white-space:normal;text-align:center}
  .primary-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding-inline:max(10px,env(safe-area-inset-left,0px)) max(10px,env(safe-area-inset-right,0px));font-size:clamp(18px,4.6vw,23px);line-height:1.2}
  .primary-nav a{justify-content:center;min-height:44px;padding:6px 4px;justify-self:center;text-align:center;min-width:0}
  .hero{height:100vh;height:100svh;min-height:540px}
  .hero-painting>img{object-position:50% center;object-fit:cover;width:100%;height:100%}
  .hero-art:after{background:linear-gradient(180deg,#ffffff65 0%,#ffffff08 37%,#ffffff00 64%,#ffffff38 100%)}
  .discover-link{bottom:calc(23px + env(safe-area-inset-bottom,0px));font-size:18px;gap:20px;min-height:48px}
  .scroll-progress{z-index:130;top:env(safe-area-inset-top,0px)}
  .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:28px}
  .gallery-section{padding:24px 0 20px;scroll-margin-top:12px}
  .gallery-heading{padding:0 17px 18px;gap:14px;align-items:center}
  .gallery-heading h2{font-size:clamp(22px,5.4vw,30px);line-height:1.15}
  .art-image-button img{width:100%;height:100%;object-fit:cover;object-position:var(--art-focus,50% 50%)}
  .art-card-info{padding:5px 12px 12px}
  .art-card-info h3{font-size:18px;line-height:1.3}
  .art-title{min-height:28px}
  .art-meta{font-size:13px;line-height:1.6;margin-top:3px}
  .gallery-empty{padding:20px 17px;font-size:14px}
  .sample-note{padding:10px 17px 20px;font-size:11px}
  .profile-section,.contact{padding:35px max(20px,env(safe-area-inset-right,0px)) 35px max(20px,env(safe-area-inset-left,0px))}
  .profile-section h2,.contact h2{font-size:30px;margin-bottom:17px}
  .profile-section p{font-size:15px;line-height:1.7}
  .profile-section .profile-name{font-size:21px}
  .about-section{grid-template-columns:1fr;gap:24px;padding:35px 20px}
  .about-section h2{font-size:30px}
  .artist-biography p{font-size:16px;line-height:1.75}
  .biography-links{gap:4px 20px;margin-top:20px}
  .contact-status{font-size:13px}
  .button{min-height:48px;font-size:14px}
  .text-link{min-height:44px;font-size:14px}
  .site-footer{padding:18px 20px calc(18px + env(safe-area-inset-bottom,0px));gap:16px;flex-wrap:wrap;font-size:11px}
  .site-footer a{min-height:44px}
  .art-dialog{padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px)}
  .art-dialog>.dialog-close{top:calc(8px + env(safe-area-inset-top,0px));margin:8px 12px -52px auto;width:44px;height:44px}
  .detail-copy{padding:23px 20px 28px}
  .detail-copy h2{font-size:27px;line-height:1.25;overflow-wrap:anywhere}
  .art-specs{gap:22px;margin-top:16px;flex-wrap:wrap}
  .art-specs dt{font-size:11px}
  .art-specs dd{font-size:15px}
  .lightbox-nav{gap:16px;margin-top:21px}
  .lightbox-nav button{width:44px;min-width:44px;height:44px}
  #lightbox-position{font-size:12px;min-width:68px}
  .collect-details{margin-top:23px}
  .collect-details>summary{font-size:14px;min-height:48px}
  .detail-price{font-size:26px}
  .checkout-note,.detail-sample{font-size:12px;line-height:1.65}
  .message-dialog{width:calc(100% - 30px);padding:58px 24px 26px}
  .message-dialog h2{font-size:26px}
  .message-dialog>p{font-size:15px}
  .message-dialog>.dialog-close{top:8px;right:9px}
  .scroll-motion-active .hero-painting>img{transform:translate3d(0,var(--hero-drift,0px),0) scale(var(--hero-zoom,1.10))}
  .scroll-motion-active .collection .art-image-button img{transform:none}
  @media(max-width:370px){
    .primary-nav{font-size:16px}
    .primary-nav a{padding-inline:2px}
    .site-header{padding-left:14px;padding-right:14px}
    .site-header .wordmark{max-width:100%;letter-spacing:.025em}
    .gallery-heading{align-items:flex-start;flex-direction:column;gap:15px}
    .gallery-heading h2{max-width:100%;font-size:24px}
  }
  @media(max-height:500px){.hero{min-height:400px}}
  @media(hover:none){.art-hover{display:none}}
  
}
