/* Mobile review: compact single-row careers, restrained spacing. */
@media(max-width:760px){
body.real-mode .craft-cinema-records ol{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;border-bottom:1px solid #c5aa783d!important}
body.real-mode .craft-cinema-records li{grid-column:auto!important;padding:14px 3px!important;text-align:center;border-bottom:0!important;border-right:1px solid #c5aa783d!important}
body.real-mode .craft-cinema-records li:last-child{border-right:0!important}
body.real-mode .craft-cinema li strong{font-size:clamp(26px,7.5vw,38px)!important;letter-spacing:-.04em}
body.real-mode .craft-cinema li strong span{margin-left:1px;font-size:.38em}
body.real-mode .craft-cinema h4{font-size:clamp(9px,2.5vw,12px)!important;white-space:nowrap;margin:0 0 9px!important}
body.real-mode .craft-cinema li p{font-size:10px!important;line-height:1.5!important;margin-top:7px!important}
body.real-mode .craft-cinema-content{padding-inline:14px!important}
body.real-mode .craft-cinema-intro{max-width:none!important}
body.real-mode .craft-cinema-records{padding-top:18px!important}
body.real-mode .machine-records-heading{margin-bottom:20px!important}
body.real-mode .machine-records-heading>p{margin-top:10px!important;font-size:13px!important;line-height:1.7!important}
body.real-mode .real-factory-details{gap:26px!important}
body.real-mode .real-factory-details article h3{font-size:20px!important;line-height:1.45!important;margin-top:18px!important}
body.real-mode .real-factory-details article p{font-size:13px!important;line-height:1.8!important;margin-top:12px!important}
body.real-mode .real-factory-details article img{height:auto!important;aspect-ratio:16/10;object-fit:cover}
body.real-mode .phone-widget a{color:#e4c68d!important;text-decoration:none!important}
body.real-mode a[href^="tel:"],body.real-mode a[href^="mailto:"]{text-decoration:none!important}
}
.sample-image-note{display:block;margin-top:7px;font-size:10px;color:#a5b6bc}
/* Reset mobile browser defaults on actual telephone links. */
body.real-mode a.telephone-number,body.real-mode .footer-common-phone,body.real-mode a[href^="tel:"],body.real-mode a[href^="mailto:"]{color:#e4c68d!important;text-decoration:none!important;-webkit-text-fill-color:#e4c68d!important}
#privacy-button{appearance:none;-webkit-appearance:none;border:0;background:transparent!important;color:#b9cbd3!important;padding:8px 0;font:inherit;font-size:12px;min-height:44px}
.music-start{display:none!important}
@media(max-width:760px){
body.real-mode .menu-toggle{appearance:none;-webkit-appearance:none;background:transparent!important;color:#e6edef!important;border:1px solid #3a505b!important;min-height:44px;padding:8px 12px!important}
body.real-mode .finished-visual{height:260px!important;min-height:0!important}
body.real-mode .finished-slide{height:auto!important;min-height:0!important;gap:16px!important;padding-inline:14px!important}
body.real-mode .finished-track{height:auto!important;align-items:start!important}
body.real-mode .finished-copy{padding-top:0!important}
body.real-mode .finished-body{font-size:13px!important;line-height:1.75!important}
body.real-mode .finished-line{font-size:22px!important;line-height:1.4!important;margin-bottom:12px!important}
body.real-mode .finished-tags{margin:12px 0!important}
body.real-mode .machine-gallery .machine-main,body.real-mode .machine-gallery .machine-stage{height:260px!important;min-height:0!important}
body.real-mode .machine-gallery>figure img{height:260px!important;object-fit:contain!important}
body.real-mode .company-story>.technical-atmosphere{display:none!important}
body.real-mode .representative-intro{gap:18px!important}
body.real-mode .representative-history{margin-block:18px!important}
body.real-mode .representative-message{margin-block:26px!important}
body.real-mode .company-production{margin-top:24px!important;padding-top:24px!important}
}
/* Preserve every equipment item in a compact, readable mobile inventory. */
@media(max-width:760px){
body.real-mode .machine-list{min-width:0!important}
body.real-mode .machine-list h3{font-size:20px!important;margin-bottom:7px!important}
body.real-mode .machine-list>p{font-size:12px!important;line-height:1.6!important;margin-bottom:14px!important}
body.real-mode .machine-list ol{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:18px!important;row-gap:0!important}
body.real-mode .machine-list ol>li{min-width:0!important;min-height:52px!important;padding:10px 0!important;gap:7px!important;align-items:center!important;font-size:12px!important;line-height:1.45!important}
body.real-mode .machine-list ol>li>span{min-width:0;word-break:keep-all;overflow-wrap:break-word}
body.real-mode .machine-list ol>li>strong{flex-shrink:0;font-size:22px!important;line-height:1.2!important;letter-spacing:-.03em}
body.real-mode .machine-list ol>li>strong>small{font-size:10px!important;margin-left:3px!important}
body.real-mode .machine-heading{margin-bottom:24px!important}
body.real-mode .machine-count{margin-top:14px!important;gap:14px!important}
body.real-mode .machine-count strong{font-size:62px!important}
body.real-mode .machine-thumbs{gap:7px!important}
body.real-mode .machine-thumbs img{height:52px!important}
body.real-mode .machine-thumbs span{padding:6px!important;font-size:11px!important;line-height:1.4!important}
}
@media(max-width:359px){body.real-mode .machine-list ol{column-gap:12px!important}body.real-mode .machine-list ol>li{font-size:11px!important}body.real-mode .machine-list ol>li>strong{font-size:20px!important}}
/* Brand ribbon is a short transition, not a full-screen content block. */
body.real-mode .core-brand-band{height:96px!important;min-height:0!important;margin-block:16px!important}
body.real-mode .core-band-front span{font-size:34px!important;padding:10px 18px!important;gap:14px!important}
body.real-mode .core-band-logo{width:82px!important;height:36px!important;padding:3px 5px!important}
body.real-mode .core-band-back{font-size:40px!important;padding-block:7px!important}
body.real-mode .core-band-front i{font-size:12px!important;margin-inline:14px!important}
@media(max-width:760px){
body.real-mode .core-brand-band{height:56px!important;margin-block:12px!important;background:transparent!important}
body.real-mode .core-band-back{display:none!important}
body.real-mode .core-band-front{transform:none!important;left:0!important;box-shadow:none!important}
body.real-mode .core-band-front span{font-size:22px!important;line-height:1!important;padding:8px 12px!important;gap:10px!important;letter-spacing:.01em!important}
body.real-mode .core-band-logo{width:54px!important;height:26px!important;padding:2px 3px!important}
body.real-mode .core-band-front i{font-size:10px!important;line-height:1.4!important;margin-inline:10px!important}
body.real-mode .machine-count strong{font-size:52px!important}
body.real-mode .machine-count{margin-top:10px!important}
body.real-mode .machine-heading h2{margin-block:12px!important}
body.real-mode .machine-heading .section-kicker{margin-bottom:8px!important}
body.real-mode .craft-years strong{font-size:58px!important;line-height:1!important}
body.real-mode .craft-lead{padding-block:18px!important;margin-block:18px!important;gap:18px!important;min-height:0!important}
body.real-mode .craft-stats{margin-block:20px!important;gap:12px!important}
body.real-mode .craft-stats strong{font-size:32px!important;line-height:1.2!important}
body.real-mode .craft-stats>div{padding-block:14px!important;min-height:0!important}
}
/* Constrain the source photo to its frame: intrinsic height must never cover copy or tabs. */
body.real-mode #joining-detail .real-machine{position:relative!important;overflow:hidden!important;min-width:0;isolation:isolate}
body.real-mode #joining-detail .real-machine>img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;transform:none!important;pointer-events:none!important}
body.real-mode #joining-detail .real-machine>span{position:absolute;left:12px;right:12px;bottom:12px;z-index:1;line-height:1.5;background:#081015e6;padding:7px 10px;color:#d9e5e9}
body.real-mode #joining-detail .real-joining-copy{position:relative;min-width:0;z-index:1}
body.real-mode #joining-detail .real-before-tabs{display:flex!important;gap:10px!important;position:relative;z-index:2;flex-wrap:wrap;margin-block:18px!important}
body.real-mode #joining-detail .real-before-tabs button{appearance:none;-webkit-appearance:none;min-height:46px!important;padding:10px 16px!important;border:1px solid #8299a2!important;background:#10212b!important;color:#d9e5e9!important;font:inherit;font-size:14px!important;line-height:1.4;touch-action:manipulation;cursor:pointer;opacity:1!important}
body.real-mode #joining-detail .real-before-tabs button[aria-pressed="true"]{background:#ddbf87!important;border-color:#ddbf87!important;color:#10212b!important;font-weight:700}
body.real-mode #joining-detail .real-before-tabs button:focus-visible{outline:2px solid #fff;outline-offset:4px}
body.real-mode #joining-detail .real-joining-copy>figure{margin:0!important;width:100%!important;min-width:0;overflow:hidden;background:#10212b}
body.real-mode #joining-detail #joining-photo{position:static!important;display:block!important;width:100%!important;height:auto!important;max-height:420px!important;object-fit:contain!important;transform:none!important}
body.real-mode #joining-detail #joining-caption{position:static!important;padding:12px!important;color:#d9e5e9!important;background:#10212b!important;line-height:1.6!important;font-size:12px!important}
@media(max-width:760px){
body.real-mode #joining-detail{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important;margin-top:28px!important;padding-top:24px!important;overflow:hidden!important}
body.real-mode #joining-detail .real-machine{height:220px!important;min-height:0!important}
body.real-mode #joining-detail h3{font-size:24px!important;line-height:1.4!important;margin-block:10px!important}
body.real-mode #joining-detail .real-joining-copy>p{font-size:13px!important;line-height:1.8!important}
body.real-mode #joining-detail #joining-photo{max-height:320px!important}
body.real-mode #joining-detail .real-technical-note{font-size:11px!important;line-height:1.7!important;margin-top:14px!important}
body.real-mode #joining-detail::before,body.real-mode #joining-detail::after{pointer-events:none!important}
}
/* Gallery controls are a nested footer, not the site's contact footer. */
body.real-mode #finished-gallery .finished-nav{position:relative!important;inset:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;height:auto!important;min-height:44px!important;padding:0!important;margin:14px 14px 0!important;gap:12px!important;box-shadow:none!important;background:transparent!important;border:0!important;flex:0 0 auto!important}
body.real-mode #finished-gallery .finished-nav-buttons{display:flex;flex:none;gap:8px}
body.real-mode #finished-gallery .finished-nav button{width:44px!important;height:44px!important;min-height:44px!important;padding:0!important}
body.real-mode #finished-gallery .finished-meter{min-width:20px;height:2px!important;min-height:0!important;flex:1}
body.real-mode #finished-gallery .finished-status{flex:none;font-size:12px!important;white-space:nowrap}
@media(max-width:760px){
body.real-mode #finished-gallery{height:auto!important;min-height:0!important;margin-block:24px!important}
body.real-mode #finished-gallery .finished-sticky{position:relative!important;top:0!important;height:auto!important;min-height:0!important;padding:20px 0 16px!important;overflow:hidden!important}
body.real-mode #finished-gallery .finished-window{flex:none!important;height:auto!important;min-height:0!important}
body.real-mode #products .real-catalog-nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:8px!important;gap:6px!important;min-height:0!important;position:static!important;box-shadow:none!important}
body.real-mode #products .real-catalog-nav button{height:auto!important;min-height:44px!important;max-height:none!important;padding:9px 4px!important;display:flex!important;justify-content:center!important;align-items:center!important;font-size:11px!important;line-height:1.45!important;text-align:center!important}
body.real-mode #products .real-catalog-nav .real-tab-thumb{display:none!important}
body.real-mode #products .real-view-controls{padding:10px!important;gap:6px!important;min-height:0!important}
body.real-mode #products .real-view-controls button{min-height:44px!important;padding:8px 10px!important;font-size:12px!important}
body.real-mode #finished-gallery .finished-note{font-size:11px!important;line-height:1.7!important;margin-block:12px!important}
body.real-mode #finished-gallery .finished-consult{min-height:44px!important;margin-top:0!important;font-size:13px!important}
}
/* Explicit image-frame contracts prevent HTML intrinsic sizes from stretching controls. */
body.real-mode .real-process-cards article>div{position:relative;overflow:hidden;min-width:0}
body.real-mode .real-process-cards article>div>img{display:block;width:100%!important;height:100%!important;object-fit:cover;max-width:100%;transform:none}
body.real-mode .machine-thumbs img{display:block;width:100%!important;height:65px;max-width:100%;object-fit:cover}
body.real-mode .credential-frame{overflow:hidden}
body.real-mode .credential-frame img{display:block;width:100%!important;height:100%!important;object-fit:contain!important}
body.real-mode .record-body figure{margin:0!important;overflow:hidden;min-width:0}
body.real-mode .record-body figure img{display:block;width:100%!important;object-fit:contain!important}
body.real-mode .finished-zoom{max-width:100%;overflow:hidden}
body.real-mode .finished-visual img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;max-height:100%!important}
@media(max-width:760px){
body.real-mode .workshop-records{margin-top:28px!important;padding-top:24px!important}
body.real-mode .record-tabs{gap:8px!important;margin:18px 0!important}
body.real-mode .record-tabs button{min-height:44px!important;font-size:12px!important;padding:8px!important}
body.real-mode .record-body{gap:18px!important}
body.real-mode .record-body figure img{height:240px!important;max-height:240px!important}
body.real-mode .record-body figcaption{padding:10px 12px!important;line-height:1.6!important;font-size:11px!important}
body.real-mode .record-description h4{font-size:20px!important;line-height:1.5!important;margin:10px 0!important}
body.real-mode .record-description>p{font-size:13px!important;line-height:1.75!important}
body.real-mode .record-meaning{margin:16px 0!important;padding:10px 12px!important}
body.real-mode .record-meaning p{font-size:12px!important;line-height:1.7!important}
body.real-mode .real-process-cards article>div{height:220px!important;min-height:0!important}
body.real-mode .machine-thumbs img{height:52px!important}
body.real-mode .workplace-evidence-grid{gap:16px!important}
body.real-mode .workplace-evidence img{display:block;width:100%!important;height:auto!important;aspect-ratio:4/3!important;object-fit:cover!important}
body.real-mode .credential-frame{height:220px!important;min-height:0!important}
body.real-mode .credential-card{flex-basis:165px!important;width:165px!important;min-height:0!important}
body.real-mode .credentials-heading{padding-bottom:16px!important;gap:12px!important}
body.real-mode .credentials-note{line-height:1.7!important}
body.real-mode .delivery-context{margin-top:28px!important;padding-top:24px!important;gap:20px!important}
body.real-mode .delivery-flow{gap:16px!important}
body.real-mode .delivery-flow p{margin-top:6px!important}
body.real-mode .phone-widget{left:10px!important;right:10px!important;bottom:max(8px,env(safe-area-inset-bottom))!important}
body.real-mode #phone-widget-panel{width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:5px 8px!important;gap:8px!important}
body.real-mode #phone-widget-panel header{display:none!important}
body.real-mode #phone-widget-panel a{min-height:44px!important;justify-content:center!important}
body.real-mode #phone-widget-panel a strong{font-size:clamp(12px,3.5vw,15px)!important}
body.real-mode{padding-bottom:calc(78px + env(safe-area-inset-bottom))!important}
body.real-mode main{padding-bottom:16px}
html{scroll-padding-bottom:90px!important}
}
/* Narrow screens retain five careers without clipping the longest role. */
@media(max-width:359px){body.real-mode .craft-cinema h4{white-space:normal!important;overflow-wrap:normal!important;word-break:keep-all!important;min-height:27px;display:flex;align-items:center;justify-content:center;font-size:9px!important;line-height:1.4!important}}
/* Landscape phones use the same compact contact bar, not the desktop panel. */
@media(min-width:761px) and (max-width:850px){
body.real-mode .phone-widget{left:10px!important;right:10px!important;bottom:max(8px,env(safe-area-inset-bottom,0px))!important}
body.real-mode #phone-widget-panel{width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:5px 8px!important;gap:8px!important}
body.real-mode #phone-widget-panel header{display:none!important}
body.real-mode #phone-widget-panel a{min-height:44px!important;justify-content:center!important}
body.real-mode #phone-widget-panel a strong{font-size:15px!important}
body.real-mode{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))!important}
}
@media(min-width:601px) and (max-width:850px){body.real-mode #phone-widget-panel a+a{border-left:1px solid #6d879344;padding-left:8px}}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
/* Compact company facts and workplace cards. */
body.real-mode .company-story .craft-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;margin:16px 0!important;align-items:start!important}
body.real-mode .company-story .craft-stats>div{display:block!important;min-height:0!important;padding:10px 8px!important;min-width:0}
body.real-mode .company-story .craft-stats>div>span{min-height:0!important;font-size:11px!important;line-height:1.5!important}
body.real-mode .company-story .craft-stats strong{display:flex!important;align-items:baseline;gap:3px;font-size:30px!important;line-height:1.3!important;margin:6px 0!important;white-space:nowrap}
body.real-mode .company-story .craft-stats small{font-size:11px!important;margin:0!important}
body.real-mode .company-story .craft-stats p{font-size:11px!important;line-height:1.6!important;margin:0!important;word-break:keep-all}
body.real-mode .company-story .craft-site-map{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:start!important}
body.real-mode .company-story .craft-site-link{display:none!important}
body.real-mode .company-story .craft-site{display:block!important;min-height:0!important;padding:14px!important;min-width:0}
body.real-mode .company-story .factory-card-photo{display:none!important}
body.real-mode .company-story .craft-site>span{display:none!important}
body.real-mode .company-story .craft-site h4{font-size:17px!important;margin:0 0 8px!important}
body.real-mode .company-story .craft-site strong{font-size:32px!important;line-height:1.3!important;white-space:nowrap}
body.real-mode .company-story .craft-site p,body.real-mode .company-story .craft-site a{font-size:12px!important;line-height:1.6!important;margin:8px 0 0!important;min-height:0!important}
body.real-mode .finished-modes{display:none!important}
body.real-mode button{color:inherit}
body.real-mode .finished-nav button{appearance:none;background:#10212b!important;color:#e4c58f!important;border:1px solid #718691!important}
@media(max-width:760px){body.real-mode .company-story .craft-sites{gap:14px!important;margin:0!important}body.real-mode .company-production{padding:20px 16px!important}body.real-mode .company-story .craft-footnote{margin-top:14px!important;font-size:11px!important}body.real-mode .company-story .craft-stats p{font-size:10px!important}}

/* Restore the original scroll-driven hero on mobile without downloading the movie at boot. */
@media(max-width:850px){body.real-mode #home.cinematic-home{height:190svh!important;min-height:190svh!important;overflow:visible!important}body.real-mode #home.cinematic-home .hero-stage{position:sticky!important;top:var(--hero-header,64px)!important;height:calc(100svh - var(--hero-header,64px))!important;min-height:0!important}body.real-mode #home.cinematic-home #hero-film{display:block!important}}
@media(max-width:850px) and (prefers-reduced-motion:reduce){body.real-mode #home.cinematic-home{height:auto!important;min-height:0!important}body.real-mode #home.cinematic-home .hero-stage{position:relative!important;top:0!important}}
