/* Phone layouts: artwork first, native scrolling, generous touch targets. */
@media (max-width: 820px) {
 :root { --gut:clamp(20px,5vw,36px); }
 html { scroll-padding-top:84px; -webkit-text-size-adjust:100%; }
 body { overflow-x:clip; }
 main,section,aside,form { min-width:0; }
 input,textarea,select { font-size:16px; }
 button,a { -webkit-tap-highlight-color:transparent; }
 .header-v9.bar { top:max(12px,env(safe-area-inset-top)); left:16px; right:16px; width:auto; height:48px; gap:8px; }
 .header-v9 .header-v8__capsule { min-width:0; flex:1; height:48px; padding:4px 10px 4px 6px; }
 .header-v9 .header-v8__brand { min-width:0; gap:8px; font-size:14px; }
 .header-v9 .header-v8__brand>img { width:32px; height:32px; }
 .header-v9 .header-v8__menu { width:48px; height:48px; flex:none; }
 .header-v10-cart { width:44px; height:44px; }
 .menu__panel { inset:0; width:100%; max-width:none; height:100dvh; border-radius:0; overflow-y:auto; overscroll-behavior:contain; padding:calc(20px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom)); }
 .menu__close { min-width:44px; min-height:44px; flex-shrink:0; }
 .menu-search { margin:12px 0 24px; }
 .menu-search label { font-size:20px; }
 .menu-search input { min-width:0; font-size:16px; }
 .menu__links { margin-top:8px; flex-shrink:0; }
 .menu__links a { font-size:clamp(26px,7.5vw,38px); line-height:1.15; padding:7px 0; }
 .menu__foot { margin-top:28px; flex-shrink:0; overflow-wrap:anywhere; }
 .lego-v8__copy { padding:110px var(--gut) 36px; }
 .lego-v8__copy h2 { font-size:clamp(36px,10vw,64px); line-height:1.04; letter-spacing:-.045em; }
 .lego-v8__copy p { font-size:18px; line-height:1.45; margin:24px 0 0; max-width:32ch; }
 .lego-portrait { height:auto; min-height:0; max-height:none; aspect-ratio:1/1.12; }
 .lego-v8__art { padding-bottom:0; }
 .lego-v8__controls { position:relative; flex-wrap:wrap; gap:12px; padding:16px var(--gut); }
 .lego-v8__controls button { min-height:44px; }
 .hero__stage { min-height:0; padding:64px var(--gut); gap:36px; background:#000!important; color:#fff!important; }
 .hero__index { width:100%; }
 .hero__covers { display:none; }
 .index { text-align:left; }
 .index li { border-bottom:1px solid #ffffff40; }
 .index a { display:block; font-size:clamp(27px,7.5vw,44px); line-height:1.2; padding:14px 0; opacity:1; }
 .hero__foot { gap:20px; }
 .vase-section { padding-top:55px; padding-bottom:55px; }
 .vase-section h2 { font-size:clamp(42px,12vw,70px); line-height:1.04; }
 .vase-scene { height:auto; aspect-ratio:1; max-height:90vw; }
 /* The desktop 3D rack becomes a native swipe gallery. */
 .rack { height:auto!important; padding:44px 0 48px; }
 .rack__stage { position:relative; height:auto; overflow:visible; }
 .rack__room { position:relative; inset:auto; perspective:none; }
 .rack__row { position:relative; inset:auto; width:100%; height:auto; transform:none; display:flex; gap:18px; overflow-x:auto; overflow-y:hidden; padding:8px var(--gut) 24px; scroll-snap-type:x mandatory; scroll-padding-inline:var(--gut); }
 .rack .print { position:relative; inset:auto; flex:0 0 min(76vw,370px); width:min(76vw,370px); transform:none!important; opacity:1!important; visibility:visible!important; will-change:auto; scroll-snap-align:start; }
 .print__mat { padding:0; box-shadow:none; }
 .print__mat img { aspect-ratio:4/5; object-fit:contain; }
 .print__cap { display:block; font-size:16px; line-height:1.4; padding-top:14px; }
 .rack__label { display:none; }
 .rack__more { position:relative; inset:auto; display:inline-block; margin:24px var(--gut) 0; min-height:44px; }
 .say,.close { height:auto!important; }
 .say__stage,.close__stage { position:relative!important; top:auto; height:auto!important; min-height:0; }
 .say__stage { padding:64px var(--gut); }
 .say__text { font-size:clamp(30px,8.2vw,52px); line-height:1.22!important; opacity:1!important; transform:none!important; text-wrap:pretty; }
 .say__text .nw { white-space:normal; }
 .make { padding:64px var(--gut); }
 .make__head { display:block; margin-bottom:32px; }
 .make__head h2 { font-size:clamp(38px,10vw,60px); line-height:1.08; }
 .make__head p { margin-top:20px; font-size:17px; }
 .make__stack { display:block; }
 .make .card { position:relative; top:auto; height:auto; margin:0 0 24px; padding:24px 0; display:flex; flex-direction:column; gap:24px; transform:none!important; filter:none!important; }
 .card__text { padding:0 24px; gap:16px; }
 .card h3 { font-size:32px; line-height:1.1; }
 .card p { font-size:16px; line-height:1.5; }
 .card__art { overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-inline:24px; }
 .card__track { height:auto; transform:none!important; padding:0 24px 8px; width:max-content; }
 .card__track img { width:min(66vw,330px); height:auto; aspect-ratio:4/5; object-fit:contain; scroll-snap-align:start; }
 .make__spacer { display:none; }
 .close__stage { display:flex; flex-direction:column; padding:64px var(--gut) 0; gap:36px; overflow:hidden; }
 .close__plate { width:100%; }
 .close__title { font-size:clamp(40px,11vw,64px); line-height:1.08; }
 .close__facts { font-size:16px; }
 .close__facts dd { overflow-wrap:anywhere; }
 .close .olgun { position:relative; inset:auto; width:min(100%,440px); margin:0 auto; transform:none!important; }
 .contact-clocks { padding:48px var(--gut); }
 .contact-clocks__head { flex-wrap:wrap; font-size:11px; }
 .contact-clocks__grid { display:grid; grid-template-columns:1fr; gap:24px; margin-top:32px; }
 .contact-clock { display:grid; grid-template-columns:1fr auto; align-items:center; gap:10px; margin:0; }
 .contact-clock strong { font-size:24px; }
 .contact-clock time { font-size:42px; margin:0; grid-column:2; grid-row:1/3; }
 .contact-clock span { font-size:12px; }
 /* Artwork gets the full width; description follows underneath. */
 .work-viewer__layout,.work-viewer.is-landscape .work-viewer__layout { display:flex; flex-direction:column; gap:24px; }
 .work-viewer .work-viewer__stage { order:0; width:100%; height:62svh!important; min-height:280px!important; max-height:650px; }
 .work-viewer.is-landscape .work-viewer__stage { height:auto!important; aspect-ratio:4/3; min-height:200px!important; }
 .work-detail { order:1; width:100%; padding:0; }
 .work-detail h2 { font-size:32px; max-width:none; }
 .work-detail__description { font-size:17px; line-height:1.5; margin:20px 0; max-width:38ch; }
 .work-detail dl>div { display:flex; font-size:14px; gap:16px; }
 .work-detail dd { margin:0; text-align:right; }
 .work-detail__size-note { font-size:12px; max-width:45ch; }
 .work-detail__add,.work-detail__zoom { min-height:48px; font-size:16px; }
 .work-viewer__controls button { min-width:48px; min-height:48px; }
 .work-filters { display:flex; overflow-x:auto; flex-wrap:nowrap; gap:10px; padding-bottom:12px; }
 .work-filters button { flex-shrink:0; min-height:44px; font-size:14px; }
 .work-index__head { display:flex; flex-wrap:wrap; gap:16px; }
 .work-index__head h2 { width:100%; white-space:normal; font-size:36px; line-height:1.12; }
 .work-index__grid { grid-template-columns:1fr; gap:28px; }
 .work-card9--landscape { grid-column:auto; }
 .work-card9__info { grid-template-columns:56px minmax(0,1fr); }
 .work-card9__text,.work-card9--landscape .work-card9__text { padding:22px; }
 .work-card9__title,.work-card9--landscape .work-card9__title { font-size:26px; }
 .work-card9__text p { font-size:15px; }
 .work-card9__text small { font-size:12px; }
 .category-doors__grid { grid-template-columns:1fr 1fr; gap:12px; }
 .art-lightbox { height:100dvh; max-height:100dvh; padding-bottom:env(safe-area-inset-bottom); }
 .art-lightbox__viewport { height:calc(100dvh - 250px); margin-top:76px; }
 .art-lightbox__caption { max-height:150px; overflow-y:auto; bottom:max(20px,env(safe-area-inset-bottom)); }
 .dear8-intro h1 { white-space:normal; font-size:clamp(44px,12vw,72px); }
 .dear8-stage { min-height:0; display:flex; flex-direction:column; gap:28px; margin:40px 0; }
 .dear8-card,.dear8-card--hello,.dear8-card--question { position:relative; inset:auto; width:90%; max-width:360px; transform:none; }
 .dear8-card--hello { align-self:flex-start; }
 .dear8-card--question { order:2; align-self:flex-end; }
 .dear8-face.ask-page__face { position:relative; inset:auto; width:95%; max-width:460px; transform:none; margin:0 auto; order:1; }
 .dear8-chat { padding-top:40px; }
 .speech p { font-size:21px; }
 .dear8-conversation { min-width:0; }
 .dear8-input input { width:0; min-width:0; font-size:16px; }
 .checkout8 .cart-piece { grid-template-columns:80px minmax(0,1fr); }
 .checkout8 .cart-piece__art { width:80px; height:105px; }
 .checkout8 .cart-piece>button { grid-column:2; }
 .press9-article h2 { font-size:25px; overflow-wrap:anywhere; }
 .about8-contact a,.contact-page__hero a { overflow-wrap:anywhere; }
 .site-footer { padding:56px var(--gut) calc(28px + env(safe-area-inset-bottom)); }
 .site-footer__identity strong { font-size:clamp(64px,19vw,110px); line-height:.95; }
 .site-footer__cols { grid-template-columns:1fr 1fr; gap:32px 20px; margin-top:40px; }
 .site-footer__cols>div:first-child { grid-column:1/-1; }
 .site-footer__cols a { display:block; min-height:36px; font-size:15px; overflow-wrap:anywhere; }
 .site-footer__bottom { display:flex; flex-wrap:wrap; align-items:center; gap:24px; margin-top:40px; }
 .site-footer__badges { order:3; width:100%; }
 .language-switch button { min-width:44px; min-height:44px; }
 .pick33-preview { height:auto; aspect-ratio:4/5; max-height:none; }
 .pick33-preview img { max-height:100%; height:auto; }
}
@media (max-width:380px) {
 .header-v9 .header-v8__brand { font-size:12px; }
 .category-doors__grid { grid-template-columns:1fr; }
 .client-logos { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .press9-article { padding-inline:16px; }
}
